diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-02 20:52:39 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-02 20:52:39 -0800 |
commit | edb28adc2264aa3db34a406d91e369a8f2ba6eaf (patch) | |
tree | 3e7d10229232906d864c8c11eb896e488c063754 /tests | |
parent | 3ed696033deb7fb2b9475c4f91c9a9a69a19c583 (diff) |
more atomic implementations, closes #874
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cases/atomicrmw.ll | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/cases/atomicrmw.ll b/tests/cases/atomicrmw.ll index 2f5a4224..fe479dce 100644 --- a/tests/cases/atomicrmw.ll +++ b/tests/cases/atomicrmw.ll @@ -13,6 +13,7 @@ entry: %1 = atomicrmw add i32* %t, i32 3 seq_cst, ; [#uses=0 type=i32] [debug line = 21:12] %2 = load i32* %t %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([15 x i8]* @.str, i32 0, i32 0), i32 %0, i32 %2) ; [#uses=0 type=i32] + %3 = atomicrmw volatile add i32* %t, i32 3 seq_cst, ; [#uses=0 type=i32] [debug line = 21:12] ret i32 1 } |