[x86] allow 8-bit adds to be promoted by convertToThreeAddress() to form LEA

This extends the code that handles 16-bit add promotion to form LEA to also allow 8-bit adds. 
That allows us to combine add ops with register moves and save some instructions. This is 
another step towards allowing add truncation in generic DAGCombiner (see D54640).

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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@348946 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed