llvm-6502/test/CodeGen/X86/lfence.ll

9 lines
230 B
LLVM
Raw Normal View History

; RUN: llc < %s -march=x86 -mattr=+sse2 | grep lfence
declare void @llvm.memory.barrier( i1 , i1 , i1 , i1 , i1)
define void @test() {
call void @llvm.memory.barrier( i1 true, i1 false, i1 false, i1 false, i1 true)
ret void
}