blob: bbfeea6419bdd39b1ccaee0f91697061242bab38 [file] [log] [blame]
Eric Christopher9a9d2752010-07-22 02:48:34 +00001; RUN: llc < %s -march=x86 -mattr=+sse2 | not grep sfence
2; RUN: llc < %s -march=x86 -mattr=+sse2 | not grep lfence
3; RUN: llc < %s -march=x86 -mattr=+sse2 | not grep mfence
4; RUN: llc < %s -march=x86 -mattr=+sse2 | grep MEMBARRIER
5
Eric Christopher9a9d2752010-07-22 02:48:34 +00006define void @test() {
Eli Friedman139e6692011-09-27 00:17:29 +00007 fence acquire
8 fence release
9 fence acq_rel
10 ret void
Eric Christopher9a9d2752010-07-22 02:48:34 +000011}