This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Constrain the right MOs when lowering calls.
ClosedPublic

Authored by ab on Feb 18 2022, 1:16 PM.

Details

Summary

From what I can tell, this was constraining the stale Info.Callee MO instead of the one we copied into the MI.

In addition, with c8b8c8e989e, when there's an attachedcall, the Callee is at position 1 rather than 0.

Found downstream with ptrauth, which has a full operand list in its description rather than variable_ops.

Diff Detail

Event Timeline

ab created this revision.Feb 18 2022, 1:16 PM
ab requested review of this revision.Feb 18 2022, 1:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 18 2022, 1:16 PM
This revision is now accepted and ready to land.Feb 18 2022, 1:48 PM
This revision was landed with ongoing or failed builds.Feb 18 2022, 1:53 PM
This revision was automatically updated to reflect the committed changes.