Akira Hatanaka 89dc8d790d Remove the restriction on the first operand of the add node in SelectAddr.
This change reduces the number of instructions generated.

For example, 
(load (add (sub $n0, $n1), (MipsLo got(s))))

results in the following sequence of instructions:
1. sub $n2, $n0, $n1
2. lw got(s)($n2)

Previously, three instructions were needed.
1. sub $n2, $n0, $n1
2. addiu $n3, $n2, got(s)
3. lw 0($n3)



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146888 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-19 19:28:37 +00:00
..
2011-09-21 17:43:48 +00:00
2011-09-09 23:14:58 +00:00
2011-09-09 23:14:58 +00:00
2011-12-07 22:11:43 +00:00
2011-08-12 18:12:06 +00:00
2011-09-09 23:14:58 +00:00
2011-09-09 23:14:58 +00:00
2011-12-07 23:14:41 +00:00
2011-12-07 20:10:24 +00:00
2011-09-09 23:14:58 +00:00
2011-12-02 22:28:09 +00:00
2011-09-09 23:14:58 +00:00