]> granicus.if.org Git - clang/commitdiff
Fix the test fix from r312181
authorHans Wennborg <hans@hanshq.net>
Wed, 30 Aug 2017 23:26:38 +0000 (23:26 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 30 Aug 2017 23:26:38 +0000 (23:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312193 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/profile-sample-accurate.c
test/CodeGen/thinlto-emit-llvm.c
test/Integration/thinlto_profile_sample_accurate.c

index 9dd6afd24d7eab6bec7ca0b8ff4c7c36f475c82e..556cad753c3c8c4710052366aefe5d2f3f4fdde4 100644 (file)
@@ -1,7 +1,7 @@
 // Test to ensure -emit-llvm profile-sample-accurate is honored by clang.
 // RUN: %clang -S -emit-llvm %s -fprofile-sample-accurate -o - | FileCheck %s
 
-// CHECK: define {{.*}} void @foo()
-// CHECK: attributes {{.*}} "profile-sample-accurate"
+// CHECK: define{{.*}} void @foo()
+// CHECK: attributes{{.*}} "profile-sample-accurate"
 void foo() {
 }
index d89961d5f5658a65d307bf20cf7b93700ac0b302..d6ef6650243eba24994a287f22d0f3f525e7ca35 100644 (file)
@@ -5,6 +5,6 @@
 // RUN: %clang_cc1 -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -emit-llvm -o - | FileCheck %s
 // RUN: %clang_cc1 -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -emit-llvm-bc -o - | llvm-dis -o - | FileCheck %s
 
-// CHECK: define {{.*}} void @foo()
+// CHECK: define{{.*}} void @foo()
 void foo() {
 }
index d209e24d560bd035cd9b684fab307622bf90d565..ac7274cee2d2e631b190d4978c49898eec16a2ef 100644 (file)
@@ -3,7 +3,7 @@
 // RUN: llvm-lto -thinlto -o %t %t.o
 // RUN: %clang_cc1 -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -emit-llvm -o - | FileCheck %s
 
-// CHECK: define {{.*}} void @foo()
-// CHECK: attributes {{.*}} "profile-sample-accurate"
+// CHECK: define{{.*}} void @foo()
+// CHECK: attributes{{.*}} "profile-sample-accurate"
 void foo() {
 }