The MVE gather instructions smaller than 32bits zext extend the values in the offset register, as opposed to sign extending them.
They are thus not able to replace an implicit sext that the getelementptr instruction would use to extend the elements of the vector to full pointer (i.e., i32) size.
We need to make sure that the code that we select from is suitably extended, which this patch attempts to fix by tightening up the offset checks.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo