From a2b8275694b37fcbac71da704a5c8cecb272ddaa Mon Sep 17 00:00:00 2001 From: Wei Mi Date: Wed, 4 Mar 2015 17:44:22 +0000 Subject: [PATCH] Revert the test commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231264 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/TwoAddressInstructionPass.cpp | 1 - 1 file changed, 1 deletion(-) 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; -- 2.34.1