| commit | 3e0d39e40390b63f649d86cff05e54495bd9d513 | [log] [tgz] |
|---|---|---|
| author | Simon Dardis <simon.dardis@imgtec.com> | Tue Jun 27 10:11:11 2017 +0000 |
| committer | Simon Dardis <simon.dardis@imgtec.com> | Tue Jun 27 10:11:11 2017 +0000 |
| tree | 93f6ddaec7203edb262903dfb74071880382bb26 | |
| parent | 9451e67158d252099b73508be98f3e07fbcbe8dc [diff] |
[mips] Refine the condition for when to use CALL16 vs a GOT displacement. Borrow from the logic for 'jal' in MipsAsmParser::processInstruction and add the extra condition of bypassing CALL16 if the destination symbol is an ELF symbol with STB_LOCAL binding. Patch by: John Baldwin Reviewers: sdardis Differential Revision: https://reviews.llvm.org/D33999 llvm-svn: 306387