This patch changes performMSCATTERCombine to also promote the indices of
masked gathers where the element type is i8 or i16, and adds various tests
for gathers with illegal types.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | ||
---|---|---|
15312 | It would be good if you can see if such functionality can be moved to SelectionDAGBuilder where some target interface queries if the index needs to be extended. Doing this with a target DAG combine is fine for this patch I think. |
It would be good if you can see if such functionality can be moved to SelectionDAGBuilder where some target interface queries if the index needs to be extended. Doing this with a target DAG combine is fine for this patch I think.