llvm-for-llvmta/test/CodeGen/X86/barrier-sse.ll

15 lines
227 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 | FileCheck %s
define void @test() {
fence acquire
; CHECK: #MEMBARRIER
fence release
; CHECK: #MEMBARRIER
fence acq_rel
; CHECK: #MEMBARRIER
ret void
}