llvm-project/llvm/test/Transforms/LowerAtomic/barrier.ll

9 lines
138 B
LLVM

; RUN: opt < %s -loweratomic -S | FileCheck %s
define void @barrier() {
; CHECK: @barrier
fence seq_cst
; CHECK-NEXT: ret
ret void
}