diff options
Diffstat (limited to 'polly/test/CodeGen/perf_monitoring_cycles_per_scop.ll')
-rw-r--r-- | polly/test/CodeGen/perf_monitoring_cycles_per_scop.ll | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/polly/test/CodeGen/perf_monitoring_cycles_per_scop.ll b/polly/test/CodeGen/perf_monitoring_cycles_per_scop.ll index 6c496d24d6c0..11d63fc47658 100644 --- a/polly/test/CodeGen/perf_monitoring_cycles_per_scop.ll +++ b/polly/test/CodeGen/perf_monitoring_cycles_per_scop.ll @@ -17,7 +17,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" target triple = "x86_64-unknown-linux-gnu" -define void @f(i64* %A, i64 %N) nounwind { +define void @f(ptr %A, i64 %N) nounwind { entry: fence seq_cst br label %next @@ -27,8 +27,8 @@ next: for.i: %indvar = phi i64 [ 0, %next], [ %indvar.next, %for.i ] - %scevgep = getelementptr i64, i64* %A, i64 %indvar - store i64 %indvar, i64* %scevgep + %scevgep = getelementptr i64, ptr %A, i64 %indvar + store i64 %indvar, ptr %scevgep %indvar.next = add nsw i64 %indvar, 1 %exitcond = icmp eq i64 %indvar.next, %N br i1 %exitcond, label %return, label %for.i @@ -39,7 +39,7 @@ return: } -define void @g(i64* %A, i64 %N) nounwind { +define void @g(ptr %A, i64 %N) nounwind { entry: fence seq_cst br label %next @@ -49,8 +49,8 @@ next: for.i: %indvar = phi i64 [ 0, %next], [ %indvar.next, %for.i ] - %scevgep = getelementptr i64, i64* %A, i64 %indvar - store i64 %indvar, i64* %scevgep + %scevgep = getelementptr i64, ptr %A, i64 %indvar + store i64 %indvar, ptr %scevgep %indvar.next = add nsw i64 %indvar, 1 %exitcond = icmp eq i64 %indvar.next, %N br i1 %exitcond, label %return, label %for.i @@ -65,11 +65,11 @@ return: ; @"__polly_perf_in_g_from__%next__to__%polly.merge_new_and_old_cycles" = weak thread_local(initialexec) constant i64 0 ; Bumping up number of cycles in f -; CHECK: %12 = load volatile i64, i64* @"__polly_perf_in_f_from__%next__to__%polly.merge_new_and_old_cycles" +; CHECK: %12 = load volatile i64, ptr @"__polly_perf_in_f_from__%next__to__%polly.merge_new_and_old_cycles" ; CHECK-NEXT: %13 = add i64 %12, %9 -; CHECK-NEXT: store volatile i64 %13, i64* @"__polly_perf_in_f_from__%next__to__%polly.merge_new_and_old_cycles" +; CHECK-NEXT: store volatile i64 %13, ptr @"__polly_perf_in_f_from__%next__to__%polly.merge_new_and_old_cycles" ; Bumping up number of cycles in g -; CHECK: %12 = load volatile i64, i64* @"__polly_perf_in_g_from__%next__to__%polly.merge_new_and_old_cycles" +; CHECK: %12 = load volatile i64, ptr @"__polly_perf_in_g_from__%next__to__%polly.merge_new_and_old_cycles" ; CHECK-NEXT: %13 = add i64 %12, %9 -; CHECK-NEXT: store volatile i64 %13, i64* @"__polly_perf_in_g_from__%next__to__%polly.merge_new_and_old_cycles" +; CHECK-NEXT: store volatile i64 %13, ptr @"__polly_perf_in_g_from__%next__to__%polly.merge_new_and_old_cycles" |