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:
00d3dda
)
Machine CSE preserves CFG. Pass manager was freeing machineloopinfo after machine...
author
Evan Cheng
<evan.cheng@apple.com>
Tue, 17 Aug 2010 20:57:42 +0000
(20:57 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Tue, 17 Aug 2010 20:57:42 +0000
(20:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111281
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineCSE.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineCSE.cpp
b/lib/CodeGen/MachineCSE.cpp
index 60642d46223794e544550d26fd3f1689a17c21f9..92e2299ec62fa5166639d69f5a7f9219e1866355 100644
(file)
--- a/
lib/CodeGen/MachineCSE.cpp
+++ b/
lib/CodeGen/MachineCSE.cpp
@@
-49,6
+49,7
@@
namespace {
AU.setPreservesCFG();
MachineFunctionPass::getAnalysisUsage(AU);
AU.addRequired<AliasAnalysis>();
+ AU.addPreservedID(MachineLoopInfoID);
AU.addRequired<MachineDominatorTree>();
AU.addPreserved<MachineDominatorTree>();
}