Simon Atanasyan
f46ba4f077
[mips] Use less registers to load address of TargetExternalSymbol
...
There is no pattern matched `add hi, (MipsLo texternalsym)`. As a result,
loading an address of 32-bit symbol requires two registers and one more
additional instruction:
```
addiu $1, $zero, %lo(foo)
lui $2, %hi(foo)
addu $25, $2, $1
```
This patch adds the missed pattern and enables generation more effective
set of instructions:
```
lui $1, %hi(foo)
addiu $25, $1, %lo(foo)
```
Differential Revision: https://reviews.llvm.org/D66771
llvm-svn: 370196
2019-08-28 12:35:53 +00:00
..
2019-07-09 15:48:05 +00:00
2019-03-19 19:01:34 +00:00
2019-08-27 14:41:44 +00:00
2019-08-28 12:35:53 +00:00
2019-06-19 00:25:39 +00:00
2019-07-17 08:11:40 +00:00
2019-06-17 09:13:29 +00:00
2019-06-19 00:25:39 +00:00
2019-07-09 15:48:05 +00:00
2019-07-12 04:58:45 +00:00
2019-03-30 20:16:16 +00:00
2019-07-09 15:48:05 +00:00
2019-06-10 16:53:37 +00:00
2019-06-10 16:53:37 +00:00
2019-06-10 16:53:37 +00:00
2019-08-14 16:27:07 +00:00
2019-06-19 00:25:39 +00:00
2019-07-09 15:48:05 +00:00
2019-06-04 11:06:21 +00:00
2019-08-09 12:02:32 +00:00
2019-06-10 16:53:37 +00:00
2019-03-19 17:01:24 +00:00
2019-07-09 15:48:16 +00:00
2019-07-09 15:48:05 +00:00
2019-08-14 16:27:00 +00:00
2019-05-15 02:35:32 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-07-17 08:11:57 +00:00
2019-04-26 18:45:04 +00:00
2019-05-27 06:00:00 +00:00
2019-06-17 09:51:07 +00:00
2019-05-28 20:47:44 +00:00
2019-05-16 13:15:27 +00:00
2019-08-28 12:35:53 +00:00
2019-05-28 20:47:44 +00:00
2019-05-16 13:15:27 +00:00
2019-06-04 11:06:21 +00:00
2019-05-01 05:27:20 +00:00
2019-07-12 04:58:45 +00:00
2019-06-19 00:25:39 +00:00
2019-03-13 14:23:12 +00:00
2019-05-29 14:59:07 +00:00
2019-06-17 09:13:29 +00:00
2019-03-13 13:09:30 +00:00
2019-07-12 04:58:45 +00:00
2019-05-01 05:27:20 +00:00
2019-04-02 13:57:32 +00:00
2019-07-09 15:48:05 +00:00
2019-06-19 00:25:39 +00:00
2019-06-19 00:25:39 +00:00
2019-03-13 17:07:09 +00:00
2019-05-01 05:27:20 +00:00