Commit 38ad8f6
committed
[RISCV] Clear kill flags for FalseReg in foldVMergeToMask
Or we can't pass the MachineVerifier because of using a killed virtual
register.
This was found when backporting llvm#170070 to 21.x branch.1 parent 973ccca commit 38ad8f6
File tree
2 files changed
+3
-1
lines changed- llvm
- lib/Target/RISCV
- test/CodeGen/RISCV/rvv
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
834 | 834 | | |
835 | 835 | | |
836 | 836 | | |
| 837 | + | |
| 838 | + | |
837 | 839 | | |
838 | 840 | | |
839 | 841 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
0 commit comments