summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/cmov.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-12-16 20:57:09 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-12-16 20:57:09 +0000
commit2eead9941a5875cb4df5b8916e48d6fdab600b30 (patch)
tree05a16154c4cec24db037210dd59a8b077463ae37 /test/CodeGen/X86/cmov.ll
parent028208d3340f263824a5a5580effdf97feb4c0fd (diff)
downloadllvm-2eead9941a5875cb4df5b8916e48d6fdab600b30.tar.gz
llvm-2eead9941a5875cb4df5b8916e48d6fdab600b30.tar.bz2
llvm-2eead9941a5875cb4df5b8916e48d6fdab600b30.tar.xz
Revert "Allow MachineCSE to coalesce trivial subregister copies the same way that it coalesces normal copies."
This reverts commit r197414. It broke the ppc64 bootstrap. I will post a testcase in a sec. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197424 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/cmov.ll')
-rw-r--r--test/CodeGen/X86/cmov.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/cmov.ll b/test/CodeGen/X86/cmov.ll
index d7c684a730..215b86267a 100644
--- a/test/CodeGen/X86/cmov.ll
+++ b/test/CodeGen/X86/cmov.ll
@@ -41,8 +41,8 @@ declare void @bar(i64) nounwind
define void @test3(i64 %a, i64 %b, i1 %p) nounwind {
; CHECK-LABEL: test3:
-; CHECK: cmov{{n?}}el %[[R1:e..]], %[[R2:e..]]
-; CHECK-NEXT: movl %[[R2]], %[[R2]]
+; CHECK: cmovnel %edi, %esi
+; CHECK-NEXT: movl %esi, %edi
%c = trunc i64 %a to i32
%d = trunc i64 %b to i32