This is an archive of the discontinued LLVM Phabricator instance.

[JITLink][AArch64] Implement MoveWide16 generic edge.
ClosedPublic

Authored by sunho on Jun 11 2022, 8:34 PM.

Details

Summary

Implements MoveWide16 generic edge kind that can be used to patch MOVZ/MOVK (imm16) instructions.

Diff Detail

Event Timeline

sunho created this revision.Jun 11 2022, 8:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 11 2022, 8:34 PM
sunho requested review of this revision.Jun 11 2022, 8:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 11 2022, 8:34 PM

Is it possible to add a # jitlink-check testcase for this?

lhames accepted this revision.Jun 13 2022, 6:09 PM

Oh -- test cases are in https://reviews.llvm.org/D127585.

Ok -- LGTM. Thanks @sunho!

This revision is now accepted and ready to land.Jun 13 2022, 6:09 PM

Oh -- getEdgeKindName is missing a case for the new relocation. Could you please add that?

sunho updated this revision to Diff 436617.Jun 13 2022, 6:45 PM

Oops. I completely missed it. I've updated the code.

This revision was landed with ongoing or failed builds.Jun 13 2022, 9:52 PM
This revision was automatically updated to reflect the committed changes.