OSDN Git Service
(root)
/
android-x86
/
external-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
1072c95
..
301c5a7
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);
}