summaryrefslogtreecommitdiff
path: root/polly/test/CodeGen/constant_condition.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/CodeGen/constant_condition.ll')
-rw-r--r--polly/test/CodeGen/constant_condition.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/polly/test/CodeGen/constant_condition.ll b/polly/test/CodeGen/constant_condition.ll
index 1f61556d9de3..dad1f6cffd17 100644
--- a/polly/test/CodeGen/constant_condition.ll
+++ b/polly/test/CodeGen/constant_condition.ll
@@ -24,7 +24,7 @@
;}
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
-@A = common global [1 x i32] zeroinitializer, align 4 ; <[1 x i32]*> [#uses=1]
+@A = common global [1 x i32] zeroinitializer, align 4 ; <ptr> [#uses=1]
define void @constant_condition() nounwind {
bb:
@@ -32,11 +32,11 @@ bb:
br i1 true, label %bb1, label %bb2
bb1: ; preds = %bb
- store i32 0, i32* getelementptr inbounds ([1 x i32], [1 x i32]* @A, i32 0, i32 0)
+ store i32 0, ptr @A
br label %bb3
bb2: ; preds = %bb
- store i32 1, i32* getelementptr inbounds ([1 x i32], [1 x i32]* @A, i32 0, i32 0)
+ store i32 1, ptr @A
br label %bb3
bb3: ; preds = %bb2, %bb1
@@ -45,9 +45,9 @@ bb3: ; preds = %bb2, %bb1
define i32 @main() nounwind {
bb:
- store i32 2, i32* getelementptr inbounds ([1 x i32], [1 x i32]* @A, i32 0, i32 0)
+ store i32 2, ptr @A
call void @constant_condition()
- %tmp = load i32, i32* getelementptr inbounds ([1 x i32], [1 x i32]* @A, i32 0, i32 0) ; <i32> [#uses=1]
+ %tmp = load i32, ptr @A ; <i32> [#uses=1]
ret i32 %tmp
}