[PATCH] D130698: [AArch64][DAGCombine] Add performBuildVectorCombine 'extract_elt ~> anyext'
Paul Walker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 28 07:31:57 PDT 2022
paulwalker-arm accepted this revision.
paulwalker-arm added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:16070
+ return DAG.getNode(ISD::EXTRACT_SUBVECTOR, DL, MVT::v2i32, Ext,
+ SubvectorIdx);
+ }
----------------
`EXTRACT_SUBVECTOR` has more stringent requires for it's index operand than `EXTRACT_VECTOR_ELEMENT` so you'll be better reconstructing it via `getVectorIdxConstant`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130698/new/
https://reviews.llvm.org/D130698
More information about the llvm-commits
mailing list