[PATCH] Add #pragma vectorize enable/disable to LLVM

Nadav Rotem nrotem at apple.com
Wed Dec 4 15:22:09 PST 2013



================
Comment at: lib/Transforms/IPO/PassManagerBuilder.cpp:203
@@ -202,3 +202,3 @@
 
-  if (!LateVectorize && LoopVectorize)
-      MPM.add(createLoopVectorizePass(DisableUnrollLoops));
+  if (!LateVectorize)
+    MPM.add(createLoopVectorizePass(DisableUnrollLoops, LoopVectorize));
----------------
Renato, can you remove LateVectorize as part of your patch ?


http://llvm-reviews.chandlerc.com/D2328



More information about the llvm-commits mailing list