[PATCH] D122281: [AArch64][SelectionDAG] Refactor to support more scalable vector extending loads

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 27 03:03:58 PDT 2022


Allen marked an inline comment as done.
Allen added a comment.

hi, @paulwalker-arm

  I find that without this refactor patch, the MVT::nxv2i32 type is also lega default, so the 'and' insn can be deleted in tryToFoldExtOfMaskedLoad.
  
  then, if we set it expand, the condition !TLI.isLoadExtLegalOrCustom(ExtLoadType, VT, Ld->getValueType(0)) in above function tryToFoldExtOfMaskedLoad will prevent it from optimizing.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122281/new/

https://reviews.llvm.org/D122281



More information about the llvm-commits mailing list