Commit 06c89bd
[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]>1 parent 3c42e10 commit 06c89bd
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 | |
|---|---|---|---|
| |||
15833 | 15833 | | |
15834 | 15834 | | |
15835 | 15835 | | |
15836 | | - | |
| 15836 | + | |
15837 | 15837 | | |
15838 | 15838 | | |
15839 | 15839 | | |
| |||
0 commit comments