Commit 6d516c6
authored
[llvm][RISCV] Do not assume V extension on seeing vector type. (#166994)
We have a private extension which also uses the vector type in the
frontend. Our platform does not have the V extension, so it triggered
assertion failures from within getLMULCost().
It feels reasonable to check for V extension before assuming LMUL
exists.1 parent 53b64b0 commit 6d516c6
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2140 | 2140 | | |
2141 | 2141 | | |
2142 | 2142 | | |
2143 | | - | |
| 2143 | + | |
| 2144 | + | |
2144 | 2145 | | |
2145 | 2146 | | |
2146 | 2147 | | |
| |||
0 commit comments