llvm-project
d94ed83a - [AArch64] Fix assertion failure in getCastInstrCost

Commit
1 year ago
[AArch64] Fix assertion failure in getCastInstrCost We should not call `getVectorElementType` on the result MVT from `getTypeLegalizationCost` when we don't if the legal type is a vector. This is the case when the type needs to be legalized using scalarization.
Author
Committer
Parents
Loading