2009-09-09 07:54:48 +08:00
|
|
|
; RUN: llc < %s -march=x86 -mattr=+sse2 | grep lfence
|
2008-02-16 09:24:58 +08:00
|
|
|
|
2011-09-27 08:17:29 +08:00
|
|
|
declare void @llvm.x86.sse2.lfence() nounwind
|
2008-02-16 09:24:58 +08:00
|
|
|
|
|
|
|
define void @test() {
|
2011-09-27 08:17:29 +08:00
|
|
|
call void @llvm.x86.sse2.lfence()
|
|
|
|
ret void
|
2008-02-16 09:24:58 +08:00
|
|
|
}
|