summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/PGOProfile/loop1.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/PGOProfile/loop1.ll')
-rw-r--r--llvm/test/Transforms/PGOProfile/loop1.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Transforms/PGOProfile/loop1.ll b/llvm/test/Transforms/PGOProfile/loop1.ll
index ba962e4adc6..111ca477363 100644
--- a/llvm/test/Transforms/PGOProfile/loop1.ll
+++ b/llvm/test/Transforms/PGOProfile/loop1.ll
@@ -4,7 +4,7 @@
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
-; GEN: @__llvm_profile_name_test_simple_for = private constant [15 x i8] c"test_simple_for"
+; GEN: @__prf_nm_test_simple_for = private constant [15 x i8] c"test_simple_for"
define i32 @test_simple_for(i32 %n) {
entry:
@@ -31,12 +31,12 @@ for.body:
for.inc:
; GEN: for.inc:
-; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @__llvm_profile_name_test_simple_for, i32 0, i32 0), i64 34137660316, i32 2, i32 0)
+; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @__prf_nm_test_simple_for, i32 0, i32 0), i64 34137660316, i32 2, i32 0)
%inc1 = add nsw i32 %i, 1
br label %for.cond
for.end:
; GEN: for.end:
-; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @__llvm_profile_name_test_simple_for, i32 0, i32 0), i64 34137660316, i32 2, i32 1)
+; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @__prf_nm_test_simple_for, i32 0, i32 0), i64 34137660316, i32 2, i32 1)
ret i32 %sum
}
OpenPOWER on IntegriCloud