[PATCH] D91475: [AArch64][GlobalISel] Look through a G_ZEXT when trying to match shift-extended register offsets.
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 23:14:19 PST 2020
aemerson created this revision.
aemerson added a reviewer: paquette.
aemerson added a project: LLVM.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls, rovka.
aemerson requested review of this revision.
The G_ZEXT in these cases seems to actually come from a combine that we do but SelectionDAG doesn't. Looking through it allows us to match "uxtw #2" addressing modes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D91475
Files:
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/load-wro-addressing-modes.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91475.305302.patch
Type: text/x-patch
Size: 3813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201114/de18221e/attachment.bin>
More information about the llvm-commits
mailing list