summaryrefslogtreecommitdiff
path: root/polly/test/ScopDetect/base_pointer_load_setNewAccessRelation.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ScopDetect/base_pointer_load_setNewAccessRelation.ll')
-rw-r--r--polly/test/ScopDetect/base_pointer_load_setNewAccessRelation.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/polly/test/ScopDetect/base_pointer_load_setNewAccessRelation.ll b/polly/test/ScopDetect/base_pointer_load_setNewAccessRelation.ll
index 7d88bbc1d390..0411aed6ae04 100644
--- a/polly/test/ScopDetect/base_pointer_load_setNewAccessRelation.ll
+++ b/polly/test/ScopDetect/base_pointer_load_setNewAccessRelation.ll
@@ -1,4 +1,4 @@
-; RUN: opt -opaque-pointers=0 %loadPolly -polly-ignore-aliasing -polly-invariant-load-hoisting=true -polly-scops -polly-print-import-jscop -polly-codegen -disable-output < %s | FileCheck %s
+; RUN: opt %loadPolly -polly-ignore-aliasing -polly-invariant-load-hoisting=true -polly-scops -polly-print-import-jscop -polly-codegen -disable-output < %s | FileCheck %s
;
; This violated an assertion in setNewAccessRelation that assumed base pointers
; to be load-hoisted. Without this assertion, it codegen would generate invalid
@@ -6,7 +6,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"
-define void @base_pointer_load_is_inst_inside_invariant_1(i64 %n, float** %A) {
+define void @base_pointer_load_is_inst_inside_invariant_1(i64 %n, ptr %A) {
entry:
br label %for.i
@@ -15,10 +15,10 @@ for.i:
br label %S1
S1:
- %ptr = load float*, float** %A
+ %ptr = load ptr, ptr %A
%conv = sitofp i64 %indvar.i to float
- %arrayidx5 = getelementptr float, float* %ptr, i64 %indvar.i
- store float %conv, float* %arrayidx5, align 4
+ %arrayidx5 = getelementptr float, ptr %ptr, i64 %indvar.i
+ store float %conv, ptr %arrayidx5, align 4
br label %for.i.inc
for.i.inc: