From 53b26971f5192713bd3cc01ed31e48b4ea0b4d2c Mon Sep 17 00:00:00 2001 From: Mikhail Gudim Date: Thu, 20 Nov 2025 11:08:56 -0500 Subject: [PATCH] [RISCV] Do not write .s file in a test (#168865) --- 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 55515aa36401..aa7de092bf99 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 /dev/null 2>&1 | FileCheck %s # CHECK: LLVM ERROR: Different saved locations for the same CSR