Fixes PR21100 which is caused by inconsistency between the declared return type
and the expected return type at the call site. The new behavior is consistent
with nvcc and the NVPTXTargetLowering::getPrototype function.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Target/NVPTX/NVPTXISelLowering.cpp | ||
---|---|---|
1358–1363 | Can you add a comment that explains why these types are handled? | |
test/CodeGen/NVPTX/vector-return.ll | ||
2 | The name of the test is very generic but you're just checking the alignment. Perhaps it would be better to either make the test name more specific, or alternatively check for more things in it? | |
4 | Is there a significance to fastcc here? If yes, please add a comment :) |
Can you add a comment that explains why these types are handled?