[PATCH] D92230: [SVE][CodeGen] Add DAG combines for s/zext_masked_gather

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 7 08:03:29 PST 2020


kmclaughlin updated this revision to Diff 309920.
kmclaughlin marked 3 inline comments as done.
kmclaughlin added a comment.

- Renamed `ResNeedsExtend` -> `ResNeedsSignExtend`
- Added a test to sve-masked-gather-legalize.ll for a zero-extended gather load with multiple uses


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

https://reviews.llvm.org/D92230

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-masked-gather-32b-signed-scaled.ll
  llvm/test/CodeGen/AArch64/sve-masked-gather-32b-signed-unscaled.ll
  llvm/test/CodeGen/AArch64/sve-masked-gather-32b-unsigned-scaled.ll
  llvm/test/CodeGen/AArch64/sve-masked-gather-32b-unsigned-unscaled.ll
  llvm/test/CodeGen/AArch64/sve-masked-gather-64b-scaled.ll
  llvm/test/CodeGen/AArch64/sve-masked-gather-64b-unscaled.ll
  llvm/test/CodeGen/AArch64/sve-masked-gather-legalize.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92230.309920.patch
Type: text/x-patch
Size: 33322 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201207/5e656d34/attachment.bin>


More information about the llvm-commits mailing list