r203165 - PGO: rename FileCheck variable to follow the existing convention.

Bob Wilson bob.wilson at apple.com
Thu Mar 6 13:35:59 PST 2014


Author: bwilson
Date: Thu Mar  6 15:35:59 2014
New Revision: 203165

URL: http://llvm.org/viewvc/llvm-project?rev=203165&view=rev
Log:
PGO: rename FileCheck variable to follow the existing convention.

I added this "STF" variable without noticing that all the other counter names
end with a "C". Renaming it to "STC" for consistency.

Modified:
    cfe/trunk/test/CodeGen/instr-profile.c

Modified: cfe/trunk/test/CodeGen/instr-profile.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/instr-profile.c?rev=203165&r1=203164&r2=203165&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/instr-profile.c (original)
+++ cfe/trunk/test/CodeGen/instr-profile.c Thu Mar  6 15:35:59 2014
@@ -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) {
   }





More information about the cfe-commits mailing list