summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LoopAligner.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-09-22 22:21:38 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-09-22 22:21:38 +0000
commit962c2cf17a5037893e0cd6f9f724ce01f83906d6 (patch)
tree295239e379c5b0cbe79aa80c52a49d0c2a2804f3 /llvm/lib/CodeGen/LoopAligner.cpp
parent3276416fa4bf1b567dc02588f76ef07bf8bdbbc4 (diff)
downloadbcm5719-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.cpp2
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);
}
};
OpenPOWER on IntegriCloud