Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/barrier-sse.ll @ 77:54457678186b LLVM3.6
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | 95c75e76d11b |
children |
comparison
equal
deleted
inserted
replaced
34:e874dbf0ad9d | 77:54457678186b |
---|---|
1 ; RUN: llc < %s -march=x86 -mattr=+sse2 | not grep sfence | 1 ; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 | FileCheck %s |
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 | 2 |
6 define void @test() { | 3 define void @test() { |
7 fence acquire | 4 fence acquire |
5 ; CHECK: #MEMBARRIER | |
6 | |
8 fence release | 7 fence release |
8 ; CHECK: #MEMBARRIER | |
9 | |
9 fence acq_rel | 10 fence acq_rel |
11 ; CHECK: #MEMBARRIER | |
12 | |
10 ret void | 13 ret void |
11 } | 14 } |