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

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 04:14:20 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-risc-v

Author: Mikhail Gudim (mgudim)

<details>
<summary>Changes</summary>



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


1 Files Affected:

- (modified) llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir (+2-1) 


``````````diff
diff --git a/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir b/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir
index 55515aa364016..d0550ea2c8fa4 100644
--- a/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir
+++ b/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir
@@ -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
 
 # CHECK: LLVM ERROR: Different saved locations for the same CSR
 

``````````

</details>


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


More information about the llvm-commits mailing list