[PATCH] D128065: [AArch64][SVE] Fold target specific ext/trunc nodes into loads/stores

Bradley Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 06:40:23 PDT 2022


bsmith updated this revision to Diff 445477.
bsmith added a comment.

- Rename InVT to VT for clarity.
- Check for zero return from `getNumElementsFromSVEPredPattern`.
- Bail out if passthru is not zero or undef.
- Force passthru to be zero so as to not introduce extra undef bits.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128065

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/insert-subvector-res-legalization.ll
  llvm/test/CodeGen/AArch64/sve-fixed-length-fp-to-int.ll
  llvm/test/CodeGen/AArch64/sve-fixed-length-int-div.ll
  llvm/test/CodeGen/AArch64/sve-fixed-length-int-to-fp.ll
  llvm/test/CodeGen/AArch64/sve-fixed-length-mask-opt.ll
  llvm/test/CodeGen/AArch64/sve-fixed-length-masked-gather.ll
  llvm/test/CodeGen/AArch64/sve-uunpklo-load-uzp1-store-combine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128065.445477.patch
Type: text/x-patch
Size: 51219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220718/d0bf9ba1/attachment-0001.bin>


More information about the llvm-commits mailing list