summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2015-03-04 17:44:22 +0000
committerWei Mi <wmi@google.com>2015-03-04 17:44:22 +0000
commit4d9347993bbaaf9278df52d14e71e460a4afbd9f (patch)
treeeb6828a8b9d7aaabe89f77dcf2ba8f63a5522a68 /llvm/lib
parentfc8588136cd5a2ff66646175446894056a63d25b (diff)
downloadbcm5719-llvm-4d9347993bbaaf9278df52d14e71e460a4afbd9f.tar.gz
bcm5719-llvm-4d9347993bbaaf9278df52d14e71e460a4afbd9f.zip
Revert the test commit.
llvm-svn: 231264
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/TwoAddressInstructionPass.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
index 157a4192f39..ac4c1bb3ace 100644
--- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud