commit | ee170f968ebb15c528a645bb39d6fef1560c3580 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Thu Nov 08 22:23:57 2007 +0000 |
committer | Owen Anderson <resistor@mac.com> | Thu Nov 08 22:23:57 2007 +0000 |
tree | 44324d56456f0461356aca4e5a5a4e3c0c9b7b27 | |
parent | c6394d115d2d86d6ac3f492ed1381d68c33956be [diff] [blame] |
This preserves critical edge breaking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43911 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp index b8d38dc..defd6ce 100644 --- a/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/lib/CodeGen/TwoAddressInstructionPass.cpp
@@ -70,6 +70,7 @@ AU.addRequired<LiveVariables>(); AU.addPreserved<LiveVariables>(); AU.addPreservedID(PHIEliminationID); + AU.addPreservedID(BreakCriticalMachineEdgesID); MachineFunctionPass::getAnalysisUsage(AU); }