summaryrefslogtreecommitdiff
path: root/polly/test/ScopInfo/variant_base_pointer.ll
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/ScopInfo/variant_base_pointer.ll')
-rw-r--r--polly/test/ScopInfo/variant_base_pointer.ll11
1 files changed, 5 insertions, 6 deletions
diff --git a/polly/test/ScopInfo/variant_base_pointer.ll b/polly/test/ScopInfo/variant_base_pointer.ll
index 70785d221bc5..321657c87e79 100644
--- a/polly/test/ScopInfo/variant_base_pointer.ll
+++ b/polly/test/ScopInfo/variant_base_pointer.ll
@@ -15,11 +15,10 @@ entry:
br label %if.end
if.end: ; preds = %entry
- %call = call i16** @__ctype_b_loc() #0
- %tmp = load i16*, i16** %call, align 8
- %arrayidx = getelementptr inbounds i16, i16* %tmp, i64 0
- %tmp1 = load i16, i16* %arrayidx, align 2
- store i16 3, i16 *%arrayidx, align 2
+ %call = call ptr @__ctype_b_loc() #0
+ %tmp = load ptr, ptr %call, align 8
+ %tmp1 = load i16, ptr %tmp, align 2
+ store i16 3, ptr %tmp, align 2
br i1 false, label %if.then.2, label %if.end.3
if.then.2: ; preds = %if.end
@@ -33,6 +32,6 @@ cleanup: ; preds = %if.end.3, %if.then.
}
; Function Attrs: nounwind readnone
-declare i16** @__ctype_b_loc() #0
+declare ptr @__ctype_b_loc() #0
attributes #0 = { nounwind readnone }