Commit a46983a
committed
[llvm][RISCV] Do not assume V extension on seeing vector type.
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().
I am not sure what is the best way to handle this, or if there are more
such assertions within the codebase. But it feels reasonable to check
for V extension before assuming LMUL exists.1 parent c6969e5 commit a46983a
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2140 | 2140 | | |
2141 | 2141 | | |
2142 | 2142 | | |
2143 | | - | |
2144 | | - | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
2145 | 2146 | | |
2146 | 2147 | | |
2147 | 2148 | | |
| |||
0 commit comments