[llvm] r181999 - Relax CHECK-NEXTs a bit to cope with atom's return nop padding.
Benjamin Kramer
benny.kra at googlemail.com
Thu May 16 04:46:51 PDT 2013
Author: d0k
Date: Thu May 16 06:46:50 2013
New Revision: 181999
URL: http://llvm.org/viewvc/llvm-project?rev=181999&view=rev
Log:
Relax CHECK-NEXTs a bit to cope with atom's return nop padding.
Modified:
llvm/trunk/test/CodeGen/X86/peep-test-4.ll
Modified: llvm/trunk/test/CodeGen/X86/peep-test-4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/peep-test-4.ll?rev=181999&r1=181998&r2=181999&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/peep-test-4.ll (original)
+++ llvm/trunk/test/CodeGen/X86/peep-test-4.ll Thu May 16 06:46:50 2013
@@ -78,7 +78,7 @@ return:
; CHECK-NEXT: addq %rdi, %rax
; CHECK-NEXT: adcq $0, %rsi
; CHECK-NEXT: sete %al
-; CHECK-NEXT: ret
+; CHECK: ret
define zeroext i1 @adc(i128 %x) nounwind {
%add = add i128 %x, 9223372036854775808
%cmp = icmp ult i128 %add, 18446744073709551616
@@ -89,7 +89,7 @@ define zeroext i1 @adc(i128 %x) nounwind
; CHECK: cmpq %rdx, %rdi
; CHECK-NEXT: sbbq %rcx, %rsi
; CHECK-NEXT: setns %al
-; CHECK-NEXT: ret
+; CHECK: ret
define zeroext i1 @sbb(i128 %x, i128 %y) nounwind {
%sub = sub i128 %x, %y
%cmp = icmp sge i128 %sub, 0
More information about the llvm-commits
mailing list