Implement some relaxations for arithmetic instructions. The limitation
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 26 Oct 2010 14:09:12 +0000 (14:09 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 26 Oct 2010 14:09:12 +0000 (14:09 +0000)
commite4f506ff4ba8ddc70b6b7c77feceabb0b53b6ccf
tree5b1b99d4eb771f6eb017e583454c24db3bf61b71
parentff91d1a4d86682b0df31efd76661435cfc8fce11
Implement some relaxations for arithmetic instructions. The limitation
on RIP relative relocations looks artificial, but this is a superset of
what we were able to do before.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117364 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86AsmBackend.cpp
test/MC/ELF/relax-arith.s [new file with mode: 0644]