mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-18 10:31:57 +00:00
11 lines
264 B
LLVM
11 lines
264 B
LLVM
|
; RUN: opt < %s -loweratomic -S | FileCheck %s
|
||
|
|
||
|
declare void @llvm.memory.barrier(i1 %ll, i1 %ls, i1 %sl, i1 %ss, i1 %device)
|
||
|
|
||
|
define void @barrier() {
|
||
|
; CHECK: @barrier
|
||
|
call void @llvm.memory.barrier(i1 0, i1 0, i1 0, i1 0, i1 0)
|
||
|
; CHECK-NEXT: ret
|
||
|
ret void
|
||
|
}
|