diff options
author | Dan Gohman <gohman@apple.com> | 2009-07-31 23:36:22 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-07-31 23:36:22 +0000 |
commit | a3477fe06df794e0eae26ea243f25912c619a6c4 (patch) | |
tree | 0e5782f260cfcccd869ee37e79b44ef92421ecda /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 2d147c440178044aa2af1d9c276f9c4e540fcb8e (diff) |
SelectionDAGISel does not "preserve all", since it makes lots of changes
to the MachineFunction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77753 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 1072c95acd..301c5a7262 100644 --- 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); } |