mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-31 09:32:11 +00:00
llvm/test/CodeGen/X86/pr5145.ll: Tweak expressions to match for darwin target.
.LBB0_1: # Linux LBB0_1: # Darwin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164362 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f1d5d44c0
commit
f17422181f
@ -4,32 +4,32 @@
|
|||||||
define void @atomic_maxmin_i8() {
|
define void @atomic_maxmin_i8() {
|
||||||
; CHECK: atomic_maxmin_i8
|
; CHECK: atomic_maxmin_i8
|
||||||
%1 = atomicrmw max i8* @sc8, i8 5 acquire
|
%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: cmpb
|
||||||
; CHECK: cmovl
|
; CHECK: cmovl
|
||||||
; CHECK: lock
|
; CHECK: lock
|
||||||
; CHECK-NEXT: cmpxchgb
|
; CHECK-NEXT: cmpxchgb
|
||||||
; CHECK: jne [[LABEL]]
|
; CHECK: jne [[LABEL1]]
|
||||||
%2 = atomicrmw min i8* @sc8, i8 6 acquire
|
%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: cmpb
|
||||||
; CHECK: cmovg
|
; CHECK: cmovg
|
||||||
; CHECK: lock
|
; CHECK: lock
|
||||||
; CHECK-NEXT: cmpxchgb
|
; CHECK-NEXT: cmpxchgb
|
||||||
; CHECK: jne [[LABEL]]
|
; CHECK: jne [[LABEL3]]
|
||||||
%3 = atomicrmw umax i8* @sc8, i8 7 acquire
|
%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: cmpb
|
||||||
; CHECK: cmovb
|
; CHECK: cmovb
|
||||||
; CHECK: lock
|
; CHECK: lock
|
||||||
; CHECK-NEXT: cmpxchgb
|
; CHECK-NEXT: cmpxchgb
|
||||||
; CHECK: jne [[LABEL]]
|
; CHECK: jne [[LABEL5]]
|
||||||
%4 = atomicrmw umin i8* @sc8, i8 8 acquire
|
%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: cmpb
|
||||||
; CHECK: cmova
|
; CHECK: cmova
|
||||||
; CHECK: lock
|
; CHECK: lock
|
||||||
; CHECK-NEXT: cmpxchgb
|
; CHECK-NEXT: cmpxchgb
|
||||||
; CHECK: jne [[LABEL]]
|
; CHECK: jne [[LABEL7]]
|
||||||
ret void
|
ret void
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user