[llvm-commits] [llvm] r164362 - /llvm/trunk/test/CodeGen/X86/pr5145.ll
NAKAMURA Takumi
geek4civic at gmail.com
Thu Sep 20 22:19:19 PDT 2012
Author: chapuni
Date: Fri Sep 21 00:19:19 2012
New Revision: 164362
URL: http://llvm.org/viewvc/llvm-project?rev=164362&view=rev
Log:
llvm/test/CodeGen/X86/pr5145.ll: Tweak expressions to match for darwin target.
.LBB0_1: # Linux
LBB0_1: # Darwin
Modified:
llvm/trunk/test/CodeGen/X86/pr5145.ll
Modified: llvm/trunk/test/CodeGen/X86/pr5145.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/pr5145.ll?rev=164362&r1=164361&r2=164362&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/pr5145.ll (original)
+++ llvm/trunk/test/CodeGen/X86/pr5145.ll Fri Sep 21 00:19:19 2012
@@ -4,32 +4,32 @@
define void @atomic_maxmin_i8() {
; CHECK: atomic_maxmin_i8
%1 = atomicrmw max i8* @sc8, i8 5 acquire
-; CHECK: [[LABEL:.LBB[0-9]+_[0-9]+]]
+; CHECK: [[LABEL1:\.?LBB[0-9]+_[0-9]+]]:
; CHECK: cmpb
; CHECK: cmovl
; CHECK: lock
; CHECK-NEXT: cmpxchgb
-; CHECK: jne [[LABEL]]
+; CHECK: jne [[LABEL1]]
%2 = atomicrmw min i8* @sc8, i8 6 acquire
-; CHECK: [[LABEL:.LBB[0-9]+_[0-9]+]]
+; CHECK: [[LABEL3:\.?LBB[0-9]+_[0-9]+]]:
; CHECK: cmpb
; CHECK: cmovg
; CHECK: lock
; CHECK-NEXT: cmpxchgb
-; CHECK: jne [[LABEL]]
+; CHECK: jne [[LABEL3]]
%3 = atomicrmw umax i8* @sc8, i8 7 acquire
-; CHECK: [[LABEL:.LBB[0-9]+_[0-9]+]]
+; CHECK: [[LABEL5:\.?LBB[0-9]+_[0-9]+]]:
; CHECK: cmpb
; CHECK: cmovb
; CHECK: lock
; CHECK-NEXT: cmpxchgb
-; CHECK: jne [[LABEL]]
+; CHECK: jne [[LABEL5]]
%4 = atomicrmw umin i8* @sc8, i8 8 acquire
-; CHECK: [[LABEL:.LBB[0-9]+_[0-9]+]]
+; CHECK: [[LABEL7:\.?LBB[0-9]+_[0-9]+]]:
; CHECK: cmpb
; CHECK: cmova
; CHECK: lock
; CHECK-NEXT: cmpxchgb
-; CHECK: jne [[LABEL]]
+; CHECK: jne [[LABEL7]]
ret void
}
More information about the llvm-commits
mailing list