mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 02:38:07 +08:00
[clang][nfc] Fix tests to avoid writing output to unreachable location, which might cause them to fail (#158698)
[clang][nfc] Fix tests to avoid writing output to unreachable location, which might cause them to fail
This commit is contained in:
@@ -55,8 +55,8 @@
|
||||
// RUN: %clang -### -S -fexperimental-loop-fusion %s 2>&1 | FileCheck -check-prefix=CHECK-FUSE-LOOPS %s
|
||||
// CHECK-FUSE-LOOPS: "-fexperimental-loop-fusion"
|
||||
//
|
||||
// RUN: %clang -c -fexperimental-loop-fusion -mllvm -print-pipeline-passes -O3 %s 2>&1 | FileCheck --check-prefixes=LOOP-FUSION-ON %s
|
||||
// RUN: %clang -c -mllvm -print-pipeline-passes -O3 %s 2>&1 | FileCheck --check-prefixes=LOOP-FUSION-OFF %s
|
||||
// RUN: %clang -c -fexperimental-loop-fusion -mllvm -print-pipeline-passes -O3 %s -o /dev/null 2>&1 | FileCheck --check-prefixes=LOOP-FUSION-ON %s
|
||||
// RUN: %clang -c -mllvm -print-pipeline-passes -O3 %s -o /dev/null 2>&1 | FileCheck --check-prefixes=LOOP-FUSION-OFF %s
|
||||
|
||||
// LOOP-FUSION-ON: loop-fusion
|
||||
// LOOP-FUSION-OFF-NOT: loop-fusion
|
||||
|
||||
Reference in New Issue
Block a user