Displaying 1 result from an estimated 1 matches for "ff5e01cb".
2013 Aug 23
1
[LLVMdev] how do I disable vectorization passes for a target by default?
Hi
I would like to disable vectorization on the XCore target by default.
I assume I need to push_back -fno-vectorize in clang/lib/driver/Tools.cpp for Triple::xcore.
Should I also disable the pass in llvm explicitly?
I tried setting getNumberOfRegisters in XCoreTTI::TargetTransformInfo viz:
unsigned getNumberOfRegisters(bool Vector) const {
if (Vector) {
return 0;
}
return