[PATCH] D101005: [AArch64][GlobalISel] Simplify out of range rotate amount.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 22 14:16:18 PDT 2021


aemerson updated this revision to Diff 339781.
aemerson added a comment.

- Add more tests.
- Factor out the APInt checking part of the constant folder to be used as a query.
- Enable CSEInfo in the postlegalizer combiner so that we don't have to instantiate a constant-folding MIRBuilder.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101005

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/CodeGen/GlobalISel/Utils.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/lib/CodeGen/GlobalISel/Utils.cpp
  llvm/lib/Target/AArch64/AArch64Combine.td
  llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/form-bitfield-extract-from-sextinreg.mir
  llvm/test/CodeGen/AArch64/GlobalISel/postlegalizercombiner-rotate.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101005.339781.patch
Type: text/x-patch
Size: 12777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210422/1738acaf/attachment.bin>


More information about the llvm-commits mailing list