SamplePGO - Tweak RUN command for a test. NFC.
authorDiego Novillo <dnovillo@google.com>
Fri, 20 Nov 2015 21:46:41 +0000 (21:46 +0000)
committerDiego Novillo <dnovillo@google.com>
Fri, 20 Nov 2015 21:46:41 +0000 (21:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253717 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/SampleProfile/coverage-warning.ll

index 7407bef9e9da38946b18e0c205315361b56ea7b4..7b082b8ba674d0e02f3e3a0c240571b896467a36 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -sample-profile -sample-profile-file=%S/Inputs/coverage-warning.prof -sample-profile-check-coverage=90 2>& 1 | FileCheck %s
+; 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
 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: