blob: 0c28407b31e952e37948167815afc6f9e2cf76f1 [file] [log] [blame]
Dan Gohman36a09472009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 -mattr=+sse2 | grep sfence
Andrew Lenharth22c5c1b2008-02-16 01:24:58 +00002
Eli Friedman139e6692011-09-27 00:17:29 +00003declare void @llvm.x86.sse.sfence() nounwind
Andrew Lenharth22c5c1b2008-02-16 01:24:58 +00004
5define void @test() {
Eli Friedman139e6692011-09-27 00:17:29 +00006 call void @llvm.x86.sse.sfence()
7 ret void
Andrew Lenharth22c5c1b2008-02-16 01:24:58 +00008}