[llvm] [CFIInstrInserter] Fix a test. (PR #176048)

Mikhail Gudim via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 14 14:32:19 PST 2026


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

In the test `cfi-multiple-locations.mir` the block `bb.1` was unreachable.

>From ef0902ee67b38892a514d2ea799954e2ea9398a0 Mon Sep 17 00:00:00 2001
From: Mikhail Gudim <mgudim at qti.qualcomm.com>
Date: Wed, 14 Jan 2026 14:29:35 -0800
Subject: [PATCH] [CFIInstrInserter] Fix a test.

In the test `cfi-multiple-locations.mir` the block `bb.1` was
unreachable.
---
 llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir b/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir
index aa7de092bf99e..43d8bafd58bd3 100644
--- a/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir
+++ b/llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir
@@ -13,8 +13,7 @@ tracksRegLiveness: true
 body:             |
   bb.0.entry:
     liveins: $x10, $x9, $x2
-    BEQ $x10, $x0, %bb.3
-    PseudoBR %bb.2
+    BEQ $x10, $x0, %bb.2
 
   bb.1:
     liveins: $x10, $x9, $x2



More information about the llvm-commits mailing list