Tweak test check pattern to fix bot failure.
authorDiego Novillo <dnovillo@google.com>
Thu, 29 Oct 2015 02:15:02 +0000 (02:15 +0000)
committerDiego Novillo <dnovillo@google.com>
Thu, 29 Oct 2015 02:15:02 +0000 (02:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251593 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/SampleProfile/coverage-warning.ll

index f96068002ddeed84399b2eed881a7849b6aaeafd..472836805c1d7cc040764870fae4bad3a01b8146 100644 (file)
@@ -3,7 +3,7 @@ define i32 @foo(i32 %i) {
 ; The profile has samples for line locations that are no longer present.
 ; Coverage does not reach 90%, so we should get this warning:
 ;
-; CHECK: warning: coverage-warning.c:1: 2 of 3 available profile records (66%) were applied
+; CHECK: warning: {{.*}}:1: 2 of 3 available profile records (66%) were applied
 entry:
   %retval = alloca i32, align 4
   %i.addr = alloca i32, align 4