Commit c7b0a6e
[RISCV] Check type is legal before combining mgather to vlse intrinsic (llvm#81107)
Otherwise we will crash since target intrinsics don't have their types
legalized. Let the mgather get legalized first, then do the combine on
the legal type.
Fixes llvm#81088
Co-authored-by: Craig Topper <[email protected]>
(cherry picked from commit 06c89bd)1 parent b845f06 commit c7b0a6e
File tree
2 files changed
+449
-1
lines changed- llvm
- lib/Target/RISCV
- test/CodeGen/RISCV/rvv
2 files changed
+449
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15561 | 15561 | | |
15562 | 15562 | | |
15563 | 15563 | | |
15564 | | - | |
| 15564 | + | |
15565 | 15565 | | |
15566 | 15566 | | |
15567 | 15567 | | |
| |||
0 commit comments