2009-09-09 01:54:48 +02:00
|
|
|
; RUN: llc < %s -march=x86 -mattr=+sse2 | grep sfence
|
2008-02-16 02:24:58 +01:00
|
|
|
|
|
|
|
declare void @llvm.memory.barrier( i1 , i1 , i1 , i1 , i1)
|
|
|
|
|
|
|
|
define void @test() {
|
|
|
|
call void @llvm.memory.barrier( i1 false, i1 false, i1 false, i1 true, i1 true)
|
|
|
|
ret void
|
|
|
|
}
|