This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Fix incorrectly generating uxtw/sxtw for addressing modes.
ClosedPublic

Authored by aemerson on Jun 10 2021, 3:52 PM.

Details

Summary

When the extend is from 8 or 16 bits, the addressing modes don't support those extensions, but we weren't checking that and therefore always generated the 32->64b extension mode. Fun.

Diff Detail

Event Timeline

aemerson created this revision.Jun 10 2021, 3:52 PM
aemerson requested review of this revision.Jun 10 2021, 3:52 PM
paquette accepted this revision.Jun 10 2021, 4:37 PM

Oh rad

LGTM

This revision is now accepted and ready to land.Jun 10 2021, 4:37 PM
This revision was landed with ongoing or failed builds.Jun 10 2021, 5:00 PM
This revision was automatically updated to reflect the committed changes.