mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 21:35:07 +00:00
Be less specific about register allocation ordering.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134308 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d519de0827
commit
839656120b
@ -11,7 +11,7 @@ entry:
|
||||
; CHECK: t1:
|
||||
; CHECK: movl $2147483648, %eax
|
||||
; CHECK: lock
|
||||
; CHECK-NEXT: orq %rax, (%rdi)
|
||||
; CHECK-NEXT: orq %r{{.*}}, (%r{{.*}})
|
||||
%0 = call i64 @llvm.atomic.load.or.i64.p0i64(i64* %tmp, i64 2147483648)
|
||||
call void @llvm.memory.barrier(i1 true, i1 true, i1 true, i1 true, i1 true)
|
||||
ret void
|
||||
@ -26,7 +26,7 @@ entry:
|
||||
; CHECK: t2:
|
||||
; CHECK-NOT: movl
|
||||
; CHECK: lock
|
||||
; CHECK-NEXT: orq $2147483644, (%rdi)
|
||||
; CHECK-NEXT: orq $2147483644, (%r{{.*}})
|
||||
%0 = call i64 @llvm.atomic.load.or.i64.p0i64(i64* %tmp, i64 2147483644)
|
||||
call void @llvm.memory.barrier(i1 true, i1 true, i1 true, i1 true, i1 true)
|
||||
ret void
|
||||
|
Loading…
x
Reference in New Issue
Block a user