[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
Mon Dec 10 11:30:14 PST 2018


spatel updated this revision to Diff 177573.
spatel marked 3 inline comments as done.
spatel added a comment.

Patch updated:
Determine op size based on the opcode parameter (no need to change the function signature).


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.177573.patch
Type: text/x-patch
Size: 16138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181210/2feb164d/attachment-0001.bin>


More information about the llvm-commits mailing list