projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08e20fb
)
We preserve the CFG and some of the analysis passes.
author
Nadav Rotem
<nrotem@apple.com>
Sat, 29 Jun 2013 05:38:15 +0000
(
05:38
+0000)
committer
Nadav Rotem
<nrotem@apple.com>
Sat, 29 Jun 2013 05:38:15 +0000
(
05:38
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185251
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Vectorize/SLPVectorizer.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Vectorize/SLPVectorizer.cpp
b/lib/Transforms/Vectorize/SLPVectorizer.cpp
index d609302522e8906193b4319f90e3c087f4ea5261..8655ff0e11b7b7173bd6edf0540208fc08e1287a 100644
(file)
--- a/
lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/
lib/Transforms/Vectorize/SLPVectorizer.cpp
@@
-1525,6
+1525,9
@@
struct SLPVectorizer : public FunctionPass {
AU.addRequired<TargetTransformInfo>();
AU.addRequired<LoopInfo>();
AU.addRequired<DominatorTree>();
+ AU.addPreserved<LoopInfo>();
+ AU.addPreserved<DominatorTree>();
+ AU.setPreservesCFG();
}
private: