diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-09-22 22:21:38 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-09-22 22:21:38 +0000 |
commit | 8b56a90bec639665fc024896d2fc2bdd095c76a3 (patch) | |
tree | 781ba506e5a3f0c1b14a4e3ae12c3510d6f49428 /lib/CodeGen/StackSlotColoring.cpp | |
parent | bc09afa80ec06d564fda3995dac1a2da7136b33d (diff) |
Instead of setPreservesAll, just mark them preseving machine loop info and machine dominators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56475 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StackSlotColoring.cpp')
-rw-r--r-- | lib/CodeGen/StackSlotColoring.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/StackSlotColoring.cpp b/lib/CodeGen/StackSlotColoring.cpp index 1b5d41795c..c02765d042 100644 --- a/lib/CodeGen/StackSlotColoring.cpp +++ b/lib/CodeGen/StackSlotColoring.cpp @@ -66,7 +66,8 @@ namespace { virtual void getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired<LiveStacks>(); - AU.setPreservesAll(); + AU.addPreservedID(MachineLoopInfoID); + AU.addPreservedID(MachineDominatorsID); MachineFunctionPass::getAnalysisUsage(AU); } |