Commit 94aadc8
committed
[RISCV] Disable combineToVCPOP for illegal scalable vector types.
This transform creates target specific instructions which must have
legal types. We were checking this for fixed vectors, but not scalable
vectors. This caused a crash with <vscale x 1 x i1> which isn't legal
for Zve32x.1 parent d71b6cf commit 94aadc8
File tree
2 files changed
+726
-3
lines changed- llvm
- lib/Target/RISCV
- test/CodeGen/RISCV/rvv
2 files changed
+726
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18798 | 18798 | | |
18799 | 18799 | | |
18800 | 18800 | | |
| 18801 | + | |
| 18802 | + | |
| 18803 | + | |
| 18804 | + | |
18801 | 18805 | | |
18802 | 18806 | | |
18803 | 18807 | | |
| |||
18814 | 18818 | | |
18815 | 18819 | | |
18816 | 18820 | | |
18817 | | - | |
18818 | | - | |
18819 | | - | |
18820 | 18821 | | |
18821 | 18822 | | |
18822 | 18823 | | |
| |||
0 commit comments