aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/SystemZ/alloca-02.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/SystemZ/alloca-02.ll')
-rw-r--r--test/CodeGen/SystemZ/alloca-02.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/SystemZ/alloca-02.ll b/test/CodeGen/SystemZ/alloca-02.ll
index fbb095f..41c987a 100644
--- a/test/CodeGen/SystemZ/alloca-02.ll
+++ b/test/CodeGen/SystemZ/alloca-02.ll
@@ -34,15 +34,15 @@ define i64 @f1(i64 %length, i64 %index) {
; CHECK-E: la [[TMP:%r[1-5]]], 160(%r3,[[ADDR]])
; CHECK-E: mviy 4096([[TMP]]), 4
%a = alloca i8, i64 %length
- store i8 0, i8 *%a
+ store volatile i8 0, i8 *%a
%b = getelementptr i8 *%a, i64 4095
- store i8 1, i8 *%b
+ store volatile i8 1, i8 *%b
%c = getelementptr i8 *%a, i64 %index
- store i8 2, i8 *%c
+ store volatile i8 2, i8 *%c
%d = getelementptr i8 *%c, i64 4095
- store i8 3, i8 *%d
+ store volatile i8 3, i8 *%d
%e = getelementptr i8 *%d, i64 1
- store i8 4, i8 *%e
+ store volatile i8 4, i8 *%e
%count = call i64 @bar(i8 *%a)
%res = add i64 %count, 1
ret i64 %res