Move llvm/test/DebugInfo/live-debug-values.ll into X86, due to target triple.
[oota-llvm.git] / test / Transforms / SampleProfile / coverage-warning.ll
index 7b082b8ba674d0e02f3e3a0c240571b896467a36..14a2710b081065219a4f194b5bd6dabcb5d20ebd 100644 (file)
@@ -1,9 +1,10 @@
-; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/coverage-warning.prof -sample-profile-check-coverage=90 -o /dev/null 2>&1 | FileCheck %s
+; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/coverage-warning.prof -sample-profile-check-record-coverage=90 -sample-profile-check-sample-coverage=100 -o /dev/null 2>&1 | FileCheck %s
 define i32 @foo(i32 %i) !dbg !4 {
 ; 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: coverage-warning.c:1: 29000 of 30700 available profile samples (94%) were applied
 entry:
   %retval = alloca i32, align 4
   %i.addr = alloca i32, align 4