Commit 42d30df
[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 0d656f0 commit 42d30df
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 | |
|---|---|---|---|
| |||
15565 | 15565 | | |
15566 | 15566 | | |
15567 | 15567 | | |
15568 | | - | |
| 15568 | + | |
15569 | 15569 | | |
15570 | 15570 | | |
15571 | 15571 | | |
| |||
0 commit comments