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
Paths
| Differential D137394
[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 Depends on D137393
Diff Detail
Event Timelinexry111 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 This revision is now accepted and ready to land.Nov 7 2022, 5:57 AM Closed by commit rG882ddab4c067: [LoongArch] Generate PCALAU12I + JIRL instruction pair for medium codemodel (authored by wangleiat). · Explain WhyNov 11 2022, 2:27 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 473182 llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp
llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
llvm/test/CodeGen/LoongArch/codemodel-medium.ll
|