This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

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.

Diff Detail

Event Timeline

aemerson created this revision.Nov 13 2020, 11:14 PM
aemerson requested review of this revision.Nov 13 2020, 11:14 PM
This revision is now accepted and ready to land.Nov 16 2020, 10:02 AM
This revision was landed with ongoing or failed builds.Nov 16 2020, 10:52 AM
This revision was automatically updated to reflect the committed changes.