[Polly] Suppress the LLVM-IR output for pattern matching tests, if there is no FileCheck-ing for it.

GitOrigin-RevId: e8c9eb49ead08dfd7e469a6574b2e8c10c2dd5f3
diff --git a/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm.ll b/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm.ll
index a05c796..ff3b5f5 100644
--- a/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm.ll
+++ b/test/ScheduleOptimizer/pattern-matching-based-opts-after-delicm.ll
@@ -1,7 +1,7 @@
 ; RUN: opt %loadPolly \
 ; RUN: -polly-pattern-matching-based-opts=true \
 ; RUN: -polly-optree -polly-delicm -polly-simplify \
-; RUN: -polly-opt-isl -polly-tc-opt=true -debug < %s 2>&1 \
+; RUN: -polly-opt-isl -polly-tc-opt=true -debug -disable-output < %s 2>&1 \
 ; RUN: | FileCheck %s
 ; REQUIRES: asserts
 
diff --git a/test/ScheduleOptimizer/pattern-matching-based-opts.ll b/test/ScheduleOptimizer/pattern-matching-based-opts.ll
index 1df94df..8ffa42b 100644
--- a/test/ScheduleOptimizer/pattern-matching-based-opts.ll
+++ b/test/ScheduleOptimizer/pattern-matching-based-opts.ll
@@ -1,6 +1,6 @@
 ; RUN: opt %loadPolly -polly-opt-isl -polly-pattern-matching-based-opts=false \
-; RUN: -debug -polly-tc-opt < %s 2>&1 | FileCheck %s
-; RUN: opt %loadPolly -polly-opt-isl -polly-pattern-matching-based-opts=true -debug -polly-tc-opt < %s 2>&1 | FileCheck %s --check-prefix=PATTERN-MATCHING-OPTS
+; RUN: -debug -polly-tc-opt -disable-output < %s 2>&1 | FileCheck %s
+; RUN: opt %loadPolly -polly-opt-isl -polly-pattern-matching-based-opts=true -debug -polly-tc-opt -disable-output < %s 2>&1 | FileCheck %s --check-prefix=PATTERN-MATCHING-OPTS
 ; RUN: opt %loadPolly -polly-opt-isl -polly-pattern-matching-based-opts=true -polly-ast-detect-parallel -polly-print-ast -disable-output  < %s | FileCheck %s --check-prefix=PARALLEL-AST
 ; RUN: opt %loadPolly -polly-opt-isl -polly-pattern-matching-based-opts=true -stats -disable-output < %s 2>&1 | FileCheck %s --check-prefix=STATS -match-full-lines
 ; REQUIRES: asserts
diff --git a/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll b/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll
index 4436325..a431e05 100644
--- a/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll
+++ b/test/ScheduleOptimizer/pattern-matching-based-opts_11.ll
@@ -9,7 +9,7 @@
 ; RUN: -polly-target-vector-register-bitwidth=256 \
 ; RUN: -polly-target-2nd-cache-level-size=262144 \
 ; RUN: -polly-opt-isl -debug \
-; RUN: -polly-tc-opt=true < %s 2>&1 \
+; RUN: -polly-tc-opt=true -disable-output < %s 2>&1 \
 ; RUN: | FileCheck %s
 ; REQUIRES: asserts
 ;
diff --git a/test/ScheduleOptimizer/pattern-matching-based-opts_2.ll b/test/ScheduleOptimizer/pattern-matching-based-opts_2.ll
index 100604d..fd07806 100644
--- a/test/ScheduleOptimizer/pattern-matching-based-opts_2.ll
+++ b/test/ScheduleOptimizer/pattern-matching-based-opts_2.ll
@@ -1,5 +1,5 @@
 ; RUN: opt %loadPolly -polly-opt-isl -polly-pattern-matching-based-opts=true \
-; RUN: -polly-tc-opt=true -debug < %s 2>&1 | FileCheck %s
+; RUN: -polly-tc-opt=true -debug -disable-output < %s 2>&1 | FileCheck %s
 ; REQUIRES: asserts
 ;
 ;    /* C := alpha*A*B + beta*C */