diff options
Diffstat (limited to 'test/CodeGen/AArch64/atomic-ops-not-barriers.ll')
-rw-r--r-- | test/CodeGen/AArch64/atomic-ops-not-barriers.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/AArch64/atomic-ops-not-barriers.ll b/test/CodeGen/AArch64/atomic-ops-not-barriers.ll index da095a0..44e7771 100644 --- a/test/CodeGen/AArch64/atomic-ops-not-barriers.ll +++ b/test/CodeGen/AArch64/atomic-ops-not-barriers.ll @@ -4,7 +4,7 @@ define i32 @foo(i32* %var, i1 %cond) { ; CHECK-LABEL: foo: br i1 %cond, label %atomic_ver, label %simple_ver simple_ver: - %oldval = load i32* %var + %oldval = load i32, i32* %var %newval = add nsw i32 %oldval, -1 store i32 %newval, i32* %var br label %somewhere |