aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/rtl
diff options
context:
space:
mode:
authorMagnus Lång <[email protected]>2016-09-24 09:42:01 +0200
committerMagnus Lång <[email protected]>2016-11-15 14:59:00 +0100
commitdf04801d5585f52ddc042d30873bdc95da019af6 (patch)
treeb803d4b450ffbde43bac39ac2375f9c23971ce5f /lib/hipe/rtl
parent35f74834dc4130c613fea2a5483ba02ed43af2c4 (diff)
downloadotp-df04801d5585f52ddc042d30873bdc95da019af6.tar.gz
otp-df04801d5585f52ddc042d30873bdc95da019af6.tar.bz2
otp-df04801d5585f52ddc042d30873bdc95da019af6.zip
hipe_x86: LeaToAdd peephole rule
Although LEA is useful for three-address form adds, sometimes it is used where a normal add would have sufficed (due to the addition being the last use of one of the operands; but RTL lowering does not know that as it does not have liveness information). As a workaround, we convert LEA back to ADD when the destination is the same as one of the operands.
Diffstat (limited to 'lib/hipe/rtl')
0 files changed, 0 insertions, 0 deletions