Details
Diff Detail
Event Timeline
Are there any tests that demonstrate that we do manage to vectorize something?
lib/Target/NVPTX/NVPTXTargetMachine.cpp | ||
---|---|---|
61 | -no- in the middle of the option looks a bit strange. It's not clear whether it's to disable something or enable something which happens to have 'no' in the name (a-la -enable-no-nans-fp-math). Using -no or -disable prefix would be better, IMO. |
Are there any tests that demonstrate that we do manage to vectorize something?
Bah, who needs tests?
Added. :)
lib/Target/NVPTX/NVPTXTargetMachine.cpp | ||
---|---|---|
61 | I thought it would be good to namespace the flag this way, but it looks like nobody does this. So, changed, thanks. |
LGTM, other than description for the option.
lib/Target/NVPTX/NVPTXTargetMachine.cpp | ||
---|---|---|
62 | 'Enable' does not sound right here. :-) |
lib/Target/NVPTX/NVPTXTargetMachine.cpp | ||
---|---|---|
62 | Ha, thanks. :) |
-no- in the middle of the option looks a bit strange. It's not clear whether it's to disable something or enable something which happens to have 'no' in the name (a-la -enable-no-nans-fp-math).
Using -no or -disable prefix would be better, IMO.