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

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 11 07:56:43 PST 2018


spatel updated this revision to Diff 177715.
spatel added a comment.

Patch updated:
Rebased after cleanup in rL348845 <https://reviews.llvm.org/rL348845> and rL348851 <https://reviews.llvm.org/rL348851>. This should be functionally equivalent, but with less cruft. There's a 'TODO' comment for 32-bit target based on the comments here.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55494/new/

https://reviews.llvm.org/D55494

Files:
  lib/Target/X86/X86InstrArithmetic.td
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h
  test/CodeGen/X86/GlobalISel/add-scalar.ll
  test/CodeGen/X86/GlobalISel/shl-scalar-widening.ll
  test/CodeGen/X86/GlobalISel/shl-scalar.ll
  test/CodeGen/X86/fixup-bw-copy.ll
  test/CodeGen/X86/fshr.ll
  test/CodeGen/X86/iabs.ll
  test/CodeGen/X86/mul-constant-i8.ll
  test/CodeGen/X86/popcnt.ll
  test/CodeGen/X86/pr23664.ll
  test/CodeGen/X86/rotate4.ll
  test/CodeGen/X86/scheduler-backtracking.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55494.177715.patch
Type: text/x-patch
Size: 16427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181211/95073612/attachment.bin>


More information about the llvm-commits mailing list