blob: bbfeea6419bdd39b1ccaee0f91697061242bab38 [file] [log] [blame]
Eric Christopher9a773822010-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 Christopher9a773822010-07-22 02:48:34 +00006define void @test() {
Eli Friedmanf6fbfd32011-09-27 00:17:29 +00007 fence acquire
8 fence release
9 fence acq_rel
10 ret void
Eric Christopher9a773822010-07-22 02:48:34 +000011}