[llvm] [RISCV] Fix CFI Multiple Locations Test (PR #168772)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 19 12:50:09 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

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

Author: Sam Elliott (lenary)

<details>
<summary>Changes</summary>



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


1 Files Affected:

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


``````````diff
diff --git a/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir b/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir
index 08544a95dedb7..d2e5a8208cecf 100644
--- a/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir
+++ b/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir
@@ -1,4 +1,4 @@
-# RUN: llc %s -mtriple=riscv64 \
+# RUN: llc -x mir < %s -mtriple=riscv64 \
 # RUN: -run-pass=cfi-instr-inserter \
 # RUN: -riscv-enable-cfi-instr-inserter=true
 # UNSUPPORTED: target={{.*}}

``````````

</details>


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


More information about the llvm-commits mailing list