| commit | efcd3c000991ba9e98428810b7dffecbd8848f57 | [log] [tgz] |
|---|---|---|
| author | Petar Avramovic <Petar.Avramovic@rt-rk.com> | Fri May 31 08:27:06 2019 +0000 |
| committer | Petar Avramovic <Petar.Avramovic@rt-rk.com> | Fri May 31 08:27:06 2019 +0000 |
| tree | a3bbeb07ec54ef18e7e119030f553d776a63cf82 | |
| parent | d1d915b8da91e3e527706c838e2cb4b338336e7a [diff] |
[MIPS GlobalISel] Handle position independent code 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. Differential Revision: https://reviews.llvm.org/D62589 llvm-svn: 362210