[PATCH] D123029: [AArch64] Optimize patterns where AND's on same operand with multiple masks can be combined.

Biplob Mishra via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 11 13:33:02 PDT 2022


bipmis updated this revision to Diff 422027.
bipmis added a comment.

Adding additional simple tests to show simple scenarios where this optimization will be useful.

Also reduced the code needed to implement it. There are some some additional code sections to maintain the natural ordering of the operands. Also all possible operand ordering has been handled. This is to target a generic implementation.


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

https://reviews.llvm.org/D123029

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AArch64/arm64-rev.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123029.422027.patch
Type: text/x-patch
Size: 8586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220411/be82641e/attachment.bin>


More information about the llvm-commits mailing list