diff options
Diffstat (limited to 'polly/test/ScopInfo/2012-03-16-Crash-because-of-unsigned-in-scev.ll')
-rw-r--r-- | polly/test/ScopInfo/2012-03-16-Crash-because-of-unsigned-in-scev.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/polly/test/ScopInfo/2012-03-16-Crash-because-of-unsigned-in-scev.ll b/polly/test/ScopInfo/2012-03-16-Crash-because-of-unsigned-in-scev.ll index 92118538cce7..b55d635947e5 100644 --- a/polly/test/ScopInfo/2012-03-16-Crash-because-of-unsigned-in-scev.ll +++ b/polly/test/ScopInfo/2012-03-16-Crash-because-of-unsigned-in-scev.ll @@ -4,12 +4,12 @@ target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32-f64:64: @array = external global [64 x i8], align 8 -define void @foo(i32* %A) nounwind { +define void @foo(ptr %A) nounwind { entry: br label %if.then132 if.then132: - %loaded = load i32, i32* %A + %loaded = load i32, ptr %A %0 = icmp ugt i32 %loaded, 10 %umax = select i1 %0, i32 %loaded, i32 10 br label %do.body @@ -18,8 +18,8 @@ do.body: %indvar = phi i32 [ %3, %do.body ], [ 0, %if.then132 ] %1 = add i32 0, %umax %2 = sub i32 %1, %indvar - %arrayidx = getelementptr [64 x i8], [64 x i8]* @array, i32 0, i32 %2 - store i8 1, i8* %arrayidx, align 1 + %arrayidx = getelementptr [64 x i8], ptr @array, i32 0, i32 %2 + store i8 1, ptr %arrayidx, align 1 %3 = add i32 %indvar, 1 %exitcond = icmp eq i32 %3, 20 br i1 %exitcond, label %for.end, label %do.body |