[llvm] r185251 - We preserve the CFG and some of the analysis passes.
Nadav Rotem
nrotem at apple.com
Fri Jun 28 22:38:15 PDT 2013
Author: nadav
Date: Sat Jun 29 00:38:15 2013
New Revision: 185251
URL: http://llvm.org/viewvc/llvm-project?rev=185251&view=rev
Log:
We preserve the CFG and some of the analysis passes.
Modified:
llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp?rev=185251&r1=185250&r2=185251&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp Sat Jun 29 00:38:15 2013
@@ -1525,6 +1525,9 @@ struct SLPVectorizer : public FunctionPa
AU.addRequired<TargetTransformInfo>();
AU.addRequired<LoopInfo>();
AU.addRequired<DominatorTree>();
+ AU.addPreserved<LoopInfo>();
+ AU.addPreserved<DominatorTree>();
+ AU.setPreservesCFG();
}
private:
More information about the llvm-commits
mailing list