[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
Fri May 28 16:47:43 PDT 2021


paquette updated this revision to Diff 348599.
paquette edited the summary of this revision.
paquette added a comment.

Make this a generic combine + add a target hook to define when it should be enabled.


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

https://reviews.llvm.org/D99283

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/lib/Target/AArch64/AArch64Combine.td
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/test/CodeGen/AArch64/GlobalISel/form-bitfield-extract-from-and.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99283.348599.patch
Type: text/x-patch
Size: 15267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210528/4875bcfd/attachment.bin>


More information about the llvm-commits mailing list