[PATCH] D99283: [GlobalISel] Combine and (lshr x, cst), mask -> ubfx x, cst, width

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 13 10:05:07 PDT 2021


paquette updated this revision to Diff 345197.
paquette added a reviewer: jroelofs.
paquette added a comment.

Rebase + move to AArch64-only to match the G_SBFX combine. Maybe this can be cannibalized into something more generic.


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

https://reviews.llvm.org/D99283

Files:
  llvm/lib/Target/AArch64/AArch64Combine.td
  llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/form-bitfield-extract-from-and.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99283.345197.patch
Type: text/x-patch
Size: 10113 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210513/8a6949b2/attachment.bin>


More information about the llvm-commits mailing list