[PATCH] D107330: [GlobalISel] Combine shr(shl x, c1), c2 to G_SBFX/G_UBFX

Dominik Montada via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 3 06:59:39 PDT 2021


gargaroff updated this revision to Diff 363726.
gargaroff marked an inline comment as done.
gargaroff added a comment.

do not skip ubfx combine if shift sizes match


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107330

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/form-bitfield-extract-from-shr.mir
  llvm/test/CodeGen/AArch64/arm64-rev.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.ubfe.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107330.363726.patch
Type: text/x-patch
Size: 11781 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210803/d20788b9/attachment.bin>


More information about the llvm-commits mailing list