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 | 962c2cf17a5037893e0cd6f9f724ce01f83906d6 (patch) | |
tree | 295239e379c5b0cbe79aa80c52a49d0c2a2804f3 /llvm/lib/CodeGen/LoopAligner.cpp | |
parent | 3276416fa4bf1b567dc02588f76ef07bf8bdbbc4 (diff) | |
download | bcm5719-llvm-962c2cf17a5037893e0cd6f9f724ce01f83906d6.tar.gz bcm5719-llvm-962c2cf17a5037893e0cd6f9f724ce01f83906d6.zip |
Instead of setPreservesAll, just mark them preseving machine loop info and machine dominators.
llvm-svn: 56475
Diffstat (limited to 'llvm/lib/CodeGen/LoopAligner.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LoopAligner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LoopAligner.cpp b/llvm/lib/CodeGen/LoopAligner.cpp index 906e8882428..6cca8e5badc 100644 --- a/llvm/lib/CodeGen/LoopAligner.cpp +++ b/llvm/lib/CodeGen/LoopAligner.cpp @@ -34,7 +34,7 @@ namespace { virtual void getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired<MachineLoopInfo>(); AU.addPreserved<MachineLoopInfo>(); - AU.setPreservesAll(); + AU.addPreservedID(MachineDominatorsID); MachineFunctionPass::getAnalysisUsage(AU); } }; |