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

Arnold Schwaighofer aschwaighofer at apple.com
Thu Dec 5 13:00:33 PST 2013


  We do need the barrier noop pass to break out of the CallGraph SCC pass manager before the loop vectorizer.

  + MPM.add(createBarrierNoopPass());
  + MPM.add(createLoopVectorizePass(DisableUnrollLoops, LoopVectorize));

  Otherwise, LGTM.

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



More information about the llvm-commits mailing list