[llvm] r231262 - Test commit. It will be reverted in the next commit.
Wei Mi
wmi at google.com
Wed Mar 4 09:41:17 PST 2015
Author: wmi
Date: Wed Mar 4 11:41:17 2015
New Revision: 231262
URL: http://llvm.org/viewvc/llvm-project?rev=231262&view=rev
Log:
Test commit. It will be reverted in the next commit.
Modified:
llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp
Modified: llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp?rev=231262&r1=231261&r2=231262&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp (original)
+++ llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp Wed Mar 4 11:41:17 2015
@@ -630,6 +630,7 @@ isProfitableToCommute(unsigned regA, uns
// 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;
More information about the llvm-commits
mailing list