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

Mikhail Gudim via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 04:13:48 PST 2025


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

None

>From 266872bef2807f48c6932a72f679f43c8da62a61 Mon Sep 17 00:00:00 2001
From: Mikhail Gudim <mgudim at ventanamicro.com>
Date: Thu, 20 Nov 2025 04:12:01 -0800
Subject: [PATCH] [RISCV] Do not write .s file in a test

---
 llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
 



More information about the llvm-commits mailing list