summaryrefslogtreecommitdiff
path: root/polly/test/CodeGen/invariant_load_condition.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/CodeGen/invariant_load_condition.ll')
-rw-r--r--polly/test/CodeGen/invariant_load_condition.ll16
1 files changed, 8 insertions, 8 deletions
diff --git a/polly/test/CodeGen/invariant_load_condition.ll b/polly/test/CodeGen/invariant_load_condition.ll
index 641765d2cc22..edf0814d8983 100644
--- a/polly/test/CodeGen/invariant_load_condition.ll
+++ b/polly/test/CodeGen/invariant_load_condition.ll
@@ -1,9 +1,9 @@
-; RUN: opt -opaque-pointers=0 %loadPolly -polly-process-unprofitable -polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-process-unprofitable -polly-codegen -polly-invariant-load-hoisting=true -S < %s | FileCheck %s
;
; CHECK-LABEL: polly.preload.begin:
-; CHECK-NEXT: %polly.access.C = getelementptr i32, i32* %C, i64 0
-; CHECK-NEXT: %polly.access.C.load = load i32, i32* %polly.access.C
-; CHECK-NOT: %polly.access.C.load = load i32, i32* %polly.access.C
+; CHECK-NEXT: %polly.access.C = getelementptr i32, ptr %C, i64 0
+; CHECK-NEXT: %polly.access.C.load = load i32, ptr %polly.access.C
+; CHECK-NOT: %polly.access.C.load = load i32, ptr %polly.access.C
;
; CHECK-LABEL: polly.cond:
; CHECK-NEXT: %[[R0:[0-9]*]] = sext i32 %polly.access.C.load to i64
@@ -23,7 +23,7 @@
;
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-define void @f(i32* %A, i32* %C) {
+define void @f(ptr %A, ptr %C) {
bb:
br label %bb1
@@ -33,13 +33,13 @@ bb1: ; preds = %bb7, %bb
br i1 %exitcond, label %bb2, label %bb8
bb2: ; preds = %bb1
- %tmp = load i32, i32* %C, align 4
+ %tmp = load i32, ptr %C, align 4
%tmp3 = icmp eq i32 %tmp, 0
br i1 %tmp3, label %bb6, label %bb4
bb4: ; preds = %bb2
- %tmp5 = getelementptr inbounds i32, i32* %A, i64 %indvars.iv
- store i32 0, i32* %tmp5, align 4
+ %tmp5 = getelementptr inbounds i32, ptr %A, i64 %indvars.iv
+ store i32 0, ptr %tmp5, align 4
br label %bb6
bb6: ; preds = %bb2, %bb4