]> granicus.if.org Git - clang/commitdiff
PGO: rename FileCheck variable to follow the existing convention.
authorBob Wilson <bob.wilson@apple.com>
Thu, 6 Mar 2014 21:35:59 +0000 (21:35 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 6 Mar 2014 21:35:59 +0000 (21:35 +0000)
I added this "STF" variable without noticing that all the other counter names
end with a "C". Renaming it to "STC" for consistency.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203165 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/instr-profile.c

index 10a68c15d25ffb5f6e63af3bf76e6e6b1a1fece0..3428520278bbcbc78b4d376271b18e795adc47a3 100644 (file)
@@ -18,7 +18,7 @@
 // PGOGEN: @[[BLC:__llvm_pgo_ctr[0-9]*]] = private global [9 x i64]  zeroinitializer
 // PGOGEN: @[[NOC:__llvm_pgo_ctr[0-9]*]] = private global [2 x i64]  zeroinitializer
 // PGOGEN: @[[MAC:__llvm_pgo_ctr[0-9]*]] = private global [1 x i64]  zeroinitializer
-// PGOGEN: @[[STF:__llvm_pgo_ctr[0-9]*]] = private global [2 x i64]  zeroinitializer
+// PGOGEN: @[[STC:__llvm_pgo_ctr[0-9]*]] = private global [2 x i64]  zeroinitializer
 
 // PGOGEN-LABEL: @simple_loops()
 // PGOUSE-LABEL: @simple_loops()
@@ -448,9 +448,9 @@ void no_usable_data() {
 
 // PGOGEN-LABEL: @static_func()
 // PGOUSE-LABEL: @static_func()
-// PGOGEN: store {{.*}} @[[STF]], i64 0, i64 0
+// PGOGEN: store {{.*}} @[[STC]], i64 0, i64 0
 static void static_func() {
-  // PGOGEN: store {{.*}} @[[STF]], i64 0, i64 1
+  // PGOGEN: store {{.*}} @[[STC]], i64 0, i64 1
   // PGOUSE: br {{.*}} !prof ![[ST1:[0-9]+]]
   for (int i = 0; i < 10; ++i) {
   }