summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-11-08 22:23:57 +0000
committerOwen Anderson <resistor@mac.com>2007-11-08 22:23:57 +0000
commit65d2fcdd2afc2d090926680795b28804201c9d20 (patch)
treebb6fd9b03c8d6b6b7a72da80cdad0e07ff9c9e20 /llvm/lib/CodeGen
parent3bc8124a66ef7141c0c8ab0ce28826087301d118 (diff)
downloadbcm5719-llvm-65d2fcdd2afc2d090926680795b28804201c9d20.tar.gz
bcm5719-llvm-65d2fcdd2afc2d090926680795b28804201c9d20.zip
This preserves critical edge breaking.
llvm-svn: 43911
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/TwoAddressInstructionPass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
index b8d38dc229e..defd6ce6fbe 100644
--- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
@@ -70,6 +70,7 @@ void TwoAddressInstructionPass::getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<LiveVariables>();
AU.addPreserved<LiveVariables>();
AU.addPreservedID(PHIEliminationID);
+ AU.addPreservedID(BreakCriticalMachineEdgesID);
MachineFunctionPass::getAnalysisUsage(AU);
}
OpenPOWER on IntegriCloud