[PGO] make profile prefix even shorter and more readable
[oota-llvm.git] / test / Instrumentation / InstrProfiling / noruntime.ll
index 33933cc98eb0fd3895d70684a5aa634fda238bb9..17636cecdc22ac89b015d42e63696de3a45f9989 100644 (file)
@@ -6,10 +6,10 @@
 
 @__llvm_profile_runtime = global i32 0, align 4
 
-@__prf_nm_foo = hidden constant [3 x i8] c"foo"
+@__profn_foo = hidden constant [3 x i8] c"foo"
 
 define void @foo() {
-  call void @llvm.instrprof.increment(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @__prf_nm_foo, i32 0, i32 0), i64 0, i32 1, i32 0)
+  call void @llvm.instrprof.increment(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @__profn_foo, i32 0, i32 0), i64 0, i32 1, i32 0)
   ret void
 }