SamplePGO - Tweak RUN command for a test. NFC.
[oota-llvm.git] / 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: