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 | 10b8898ac06d712e4588c15d68ed68469e006411 (patch) | |
tree | 3202a7de433cc8c660308fa0fe4da713575f598e /llvm/lib | |
parent | dd3da92b4a7b5aefae57abca97718cfe585619a6 (diff) | |
download | bcm5719-llvm-10b8898ac06d712e4588c15d68ed68469e006411.tar.gz bcm5719-llvm-10b8898ac06d712e4588c15d68ed68469e006411.zip |
SelectionDAGISel does not "preserve all", since it makes lots of changes
to the MachineFunction.
llvm-svn: 77753
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 1072c95acd5..301c5a7262c 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/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); } |