From 0823cea34a5e02513c513b7ba00db4fc6266c4a1 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Thu, 8 Nov 2007 22:23:57 +0000 Subject: This preserves critical edge breaking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43911 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/TwoAddressInstructionPass.cpp | 1 + 1 file changed, 1 insertion(+) 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 @@ void TwoAddressInstructionPass::getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired(); AU.addPreserved(); AU.addPreservedID(PHIEliminationID); + AU.addPreservedID(BreakCriticalMachineEdgesID); MachineFunctionPass::getAnalysisUsage(AU); } -- cgit v1.1