[all-commits] [llvm/llvm-project] 4306cf: [RISCV] Fix using undefined variable %pt2 in mask-...
Jim Lin via All-commits
all-commits at lists.llvm.org
Tue Nov 7 01:05:16 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4306cfd40e0b8f404da384fa67a046b9e50d7239
https://github.com/llvm/llvm-project/commit/4306cfd40e0b8f404da384fa67a046b9e50d7239
Author: Jim Lin <jim at andestech.com>
Date: 2023-11-07 (Tue, 07 Nov 2023)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/mask-reg-alloc.mir
Log Message:
-----------
[RISCV] Fix using undefined variable %pt2 in mask-reg-alloc.mir testcase (#70764)
First PseudoVMERGE_VIM_M1 should use %pt1 as its operand instead of
%pt2.
I found this error when I add LiveIntervals analysis pass in my
downstream. And it crashes with the message:
```
Use of %7 does not have a corresponding definition on every path:
112r %6:vrnov0 = PseudoVMERGE_VIM_M1 %pt2:vrnov0(tied-def 0), %2:vr, 1, %4:vmv0, 1, 3
LLVM ERROR: Use not jointly dominated by defs.
```
More information about the All-commits
mailing list