From: Owen Anderson Date: Thu, 8 Nov 2007 22:23:57 +0000 (+0000) Subject: This preserves critical edge breaking. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0823cea34a5e02513c513b7ba00db4fc6266c4a1;p=oota-llvm.git 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 b8d38dc229e..defd6ce6fbe 100644 --- a/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -70,6 +70,7 @@ void TwoAddressInstructionPass::getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired(); AU.addPreserved(); AU.addPreservedID(PHIEliminationID); + AU.addPreservedID(BreakCriticalMachineEdgesID); MachineFunctionPass::getAnalysisUsage(AU); }