[PATCH] D62589: [MIPS GlobalISel] Handle position independent code
Petar Avramovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 29 06:47:14 PDT 2019
Petar.Avramovic created this revision.
Petar.Avramovic added reviewers: atanasyan, petarj.
Herald added subscribers: llvm-commits, jrtc27, arichardson, kristof.beyls, rovka, sdardis.
Herald added a project: LLVM.
Petar.Avramovic added a parent revision: D62586: [mips] Move initGlobalBaseReg to MipsFunctionInfo. NFC.
Handle position independent code for MIPS32.
When callee is global address, lower call will emit callee as
G_GLOBAL_VALUE and add target flag if needed.
Support $gp in getRegBankFromRegClass().
Select G_GLOBAL_VALUE, specially handle case when
there are target flags attached by lowerCall.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 22959 bytes
Desc: not available
More information about the llvm-commits