[PATCH] D99230: [GlobalISel] Combine G_SEXT_INREG + right shift -> G_SBFX
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 24 14:36:05 PDT 2021
paquette updated this revision to Diff 333128.
paquette added a comment.
I made this AArch64-specific for now.
Since G_UBFX/G_SBFX requires custom legalization, the legalization hooks in the CombinerHelper won't work for AArch64. Not sure what the best way to go about fixing that is.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99230/new/
https://reviews.llvm.org/D99230
Files:
llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/lib/CodeGen/GlobalISel/CombinerHelper.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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99230.333128.patch
Type: text/x-patch
Size: 11431 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210324/db50cc39/attachment.bin>
More information about the llvm-commits
mailing list