HomePhabricator

[AArch64][GlobalISel] Look through a G_ZEXT when trying to match shift-extended…

Authored by aemerson on Nov 13 2020, 11:08 PM.

Description

[AArch64][GlobalISel] Look through a G_ZEXT when trying to match shift-extended register offsets.

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.

Differential Revision: https://reviews.llvm.org/D91475