[PATCH] D120953: [AArch64][SelectionDAG] Supports unpklo/hi instructions to reduce the number of loads
Paul Walker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 11 02:42:53 PST 2022
paulwalker-arm added a comment.
By directly supported I mean those which are legal and thus have isel patterns. Which I think boils down to:
for (auto Op : {ISD::ZEXTLOAD, ISD::SEXTLOAD}) {
setLoadExtAction(Op, MVT::nxv2i64, MVT::nxv2i8, Legal);
setLoadExtAction(Op, MVT::nxv2i64, MVT::nxv2i16, Legal);
setLoadExtAction(Op, MVT::nxv2i64, MVT::nxv2i32, Legal);
setLoadExtAction(Op, MVT::nxv4i32, MVT::nxv4i8, Legal);
setLoadExtAction(Op, MVT::nxv4i32, MVT::nxv4i16, Legal);
setLoadExtAction(Op, MVT::nxv8i16, MVT::nxv8i8, Legal);
}
I should also mention that downstream we had started work to use separate legalisation tables for each of LOAD, MLOAD and MGATHER but parked it until there was a real need. Perhaps this is that need and we should pick that work back up, but let's see how this work plays out first.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120953/new/
https://reviews.llvm.org/D120953
More information about the llvm-commits
mailing list