From: Wei Mi Date: Wed, 4 Mar 2015 17:44:22 +0000 (+0000) Subject: Revert the test commit. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a2b8275694b37fcbac71da704a5c8cecb272ddaa;p=oota-llvm.git Revert the test commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231264 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp index 157a4192f39..ac4c1bb3ace 100644 --- a/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -630,7 +630,6 @@ isProfitableToCommute(unsigned regA, unsigned regB, unsigned regC, // To more generally minimize register copies, ideally the logic of two addr // instruction pass should be integrated with register allocation pass where // interference graph is available. - if (isRevCopyChain(regC, regA, 3)) return true;