Files
llvm/test/CodeGen/Mips
Simon Atanasyan 9c924b4d86 [mips] Fix JmpLink to texternalsym and tglobaladdr on mcroMIPS R6
There is not match for the `MipsJmpLink texternalsym` and `MipsJmpLink
tglobaladdr` patterns for microMIPS R6. As a result LLVM incorrectly
selects the `JALRC16` compact 2-byte instruction which takes a target
instruction address from a register only and assign `R_MIPS_32` relocation
for this instruction. This relocation completely overwrites `JALRC16`
and nearby instructions.

This patch adds missed matching patterns, selects `BALC` instruction and
assign a correct `R_MICROMIPS_PC26_S1` relocation.

Differential Revision: https://reviews.llvm.org/D64552

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365870 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-12 04:58:45 +00:00
..
2011-09-09 23:14:58 +00:00
2018-06-29 16:37:16 +00:00
2016-01-26 00:03:25 +00:00
2016-01-26 00:03:25 +00:00
2016-01-26 00:03:25 +00:00
2011-08-12 18:12:06 +00:00
2012-05-12 03:25:16 +00:00
2015-04-13 18:47:19 +00:00
2018-07-23 23:19:53 +00:00
2019-01-28 14:59:30 +00:00
2017-12-11 11:21:40 +00:00
2017-06-06 15:33:01 +00:00
2012-03-29 18:43:11 +00:00
2011-12-19 20:24:28 +00:00
2016-01-26 00:03:25 +00:00
2017-12-11 11:21:40 +00:00
2017-03-09 11:19:48 +00:00
2012-06-27 00:40:34 +00:00
2017-03-09 11:19:48 +00:00
2013-07-26 20:58:55 +00:00
2011-05-25 23:30:30 +00:00