Page MenuHomePhabricator

[AArch64][GlobalISel] Select G_ADD_LOW into a MOVaddr pseudo.
ClosedPublic

Authored by aemerson on Jun 9 2020, 3:17 PM.

Details

Summary

This ensures that we match SelectionDAG behaviour by waiting until the expand pseudos pass to generate ADRP + ADD pairs. Doing this at selection time for the G_ADD_LOW is fine because by the time we get to selecting the G_ADD_LOW, previous attempts to fold it into loads/stores must have failed.

Diff Detail

Event Timeline

aemerson created this revision.Jun 9 2020, 3:17 PM
paquette accepted this revision.Jun 9 2020, 4:17 PM

LGTM

This revision is now accepted and ready to land.Jun 9 2020, 4:17 PM
This revision was automatically updated to reflect the committed changes.