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

9 lines
145 B
LLVM

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