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:
2d147c4
)
SelectionDAGISel does not "preserve all", since it makes lots of changes
author
Dan Gohman
<gohman@apple.com>
Fri, 31 Jul 2009 23:36:22 +0000
(23:36 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 31 Jul 2009 23:36:22 +0000
(23:36 +0000)
to the MachineFunction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77753
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 1072c95acd5b6980b64716516a5cb8b8a3c2a02f..301c5a7262cb1c8cf9f68ced5ff77164a4f19011 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-289,9
+289,11
@@
unsigned SelectionDAGISel::MakeReg(MVT VT) {
void SelectionDAGISel::getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<AliasAnalysis>();
+ AU.addPreserved<AliasAnalysis>();
AU.addRequired<GCModuleInfo>();
+ AU.addPreserved<GCModuleInfo>();
AU.addRequired<DwarfWriter>();
- AU.
setPreservesAll
();
+ AU.
addPreserved<DwarfWriter>
();
MachineFunctionPass::getAnalysisUsage(AU);
}