diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-12-12 17:58:27 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-12-12 17:58:27 +0000 |
commit | 44eaa492b8726de28523a8fa5f7bcd5b6c5c6ee1 (patch) | |
tree | a0e6e489c51536c5167f7fb994143f5247ac878c /llvm/docs | |
parent | 7a1ba21fab48371d1c30463577e18071de5fca63 (diff) | |
download | bcm5719-llvm-44eaa492b8726de28523a8fa5f7bcd5b6c5c6ee1.tar.gz bcm5719-llvm-44eaa492b8726de28523a8fa5f7bcd5b6c5c6ee1.zip |
[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
llvm-svn: 348946
Diffstat (limited to 'llvm/docs')
0 files changed, 0 insertions, 0 deletions