This is an archive of the discontinued LLVM Phabricator instance.

[LoongArch] Generate PCALAU12I + JIRL instruction pair for medium codemodel
ClosedPublic

Authored by wangleiat on Nov 4 2022, 12:18 AM.

Details

Summary

In LoongArch, when CodeModel=Medium, it just increases the jumping
ability of function calls relative to PC, from 2^28 to 2^32.

Depends on D137393

Diff Detail

Event Timeline

wangleiat created this revision.Nov 4 2022, 12:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 4 2022, 12:18 AM
wangleiat requested review of this revision.Nov 4 2022, 12:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 4 2022, 12:18 AM
xry111 retitled this revision from [LoongArch] Generate PACALAU12I + JIRL instruction pair for medium codemodel to [LoongArch] Generate PCALAU12I + JIRL instruction pair for medium codemodel.Nov 4 2022, 12:20 AM

Thanks a lot for helping me fix this typo. @xry111

SixWeining accepted this revision.Nov 7 2022, 5:57 AM

LGTM and wait others.

This revision is now accepted and ready to land.Nov 7 2022, 5:57 AM