mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Convert a bunch more tests over to the new atomic instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140582 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -7,8 +7,6 @@ entry:
|
||||
; CHECK: main:
|
||||
; CHECK: lock
|
||||
; CHECK: decq
|
||||
tail call i64 @llvm.atomic.load.sub.i64.p0i64( i64* @var, i64 1 ) ; <i64>:0 [#uses=0]
|
||||
atomicrmw sub i64* @var, i64 1 monotonic
|
||||
unreachable
|
||||
}
|
||||
|
||||
declare i64 @llvm.atomic.load.sub.i64.p0i64(i64*, i64) nounwind
|
||||
|
Reference in New Issue
Block a user