Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/fast-isel-atomic.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | 803732b1fca8 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:95c75e76d11b |
---|---|
1 ; RUN: llc < %s -O0 -march=x86-64 | |
2 ; rdar://8204072 | |
3 ; PR7652 | |
4 | |
5 @sc = external global i8 | |
6 @uc = external global i8 | |
7 | |
8 define void @test_fetch_and_op() nounwind { | |
9 entry: | |
10 %tmp40 = atomicrmw and i8* @sc, i8 11 monotonic | |
11 store i8 %tmp40, i8* @sc | |
12 %tmp41 = atomicrmw and i8* @uc, i8 11 monotonic | |
13 store i8 %tmp41, i8* @uc | |
14 ret void | |
15 } |