[llvm] [RISCV] Do not write .s file in a test (PR #168865)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 05:06:10 PST 2025


================
@@ -1,6 +1,7 @@
 # RUN: not --crash llc %s -mtriple=riscv64 \
 # RUN: -run-pass=cfi-instr-inserter \
-# RUN: -riscv-enable-cfi-instr-inserter=true 2>&1 | FileCheck %s
+# RUN: -riscv-enable-cfi-instr-inserter=true \
+# RUN: -o - 2>&1 | FileCheck %s
----------------
lukel97 wrote:

If you don't want to check stdout I think you do `-o /dev/null`, just in case it messes with the stderr check lines.

https://github.com/llvm/llvm-project/pull/168865


More information about the llvm-commits mailing list