aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/Mem2Reg/atomic.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/Mem2Reg/atomic.ll')
-rw-r--r--test/Transforms/Mem2Reg/atomic.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/Mem2Reg/atomic.ll b/test/Transforms/Mem2Reg/atomic.ll
index 5bc9e92..f20043d 100644
--- a/test/Transforms/Mem2Reg/atomic.ll
+++ b/test/Transforms/Mem2Reg/atomic.ll
@@ -7,6 +7,6 @@ define i32 @test1(i32 %x) {
; CHECK: ret i32 %x
%a = alloca i32
store atomic i32 %x, i32* %a seq_cst, align 4
- %r = load atomic i32* %a seq_cst, align 4
+ %r = load atomic i32, i32* %a seq_cst, align 4
ret i32 %r
}