diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/merge-consecutive-stores.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/merge-consecutive-stores.ll | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/X86/merge-consecutive-stores.ll b/llvm/test/CodeGen/X86/merge-consecutive-stores.ll index 42652952989..8cb6f3ae1ee 100644 --- a/llvm/test/CodeGen/X86/merge-consecutive-stores.ll +++ b/llvm/test/CodeGen/X86/merge-consecutive-stores.ll @@ -16,11 +16,9 @@ define i32 @foo (i64* %so) nounwind uwtable ssp { ; CHECK-NEXT: cmpl 16(%eax), %edx ; CHECK-NEXT: movl $0, 16(%eax) ; CHECK-NEXT: sbbl %ecx, %edx -; CHECK-NEXT: movl $-1, %eax -; CHECK-NEXT: jl .LBB0_2 -; CHECK-NEXT: # BB#1: -; CHECK-NEXT: xorl %eax, %eax -; CHECK-NEXT: .LBB0_2: +; CHECK-NEXT: setl %al +; CHECK-NEXT: movzbl %al, %eax +; CHECK-NEXT: negl %eax ; CHECK-NEXT: retl %used = getelementptr inbounds i64, i64* %so, i32 3 store i64 0, i64* %used, align 8 |