[PATCH] Add peephole optimization to use LEA instructions of Intel Atom

Preston Gurd preston.gurd at intel.com
Tue Apr 23 09:24:38 PDT 2013


  This version of the patch addresses the reviewer's concerns about adding unnecessary complexity to the convertToThreeAddress function, by moving those changes to the new function postRAConvertToLEA, which is internal to the FixupLEAPass.

Hi nadav, sdt,

http://llvm-reviews.chandlerc.com/D660

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D660?vs=1610&id=1735#toc

Files:
  lib/Target/X86/X86.h
  lib/Target/X86/X86FixupLEAs.cpp
  lib/Target/X86/CMakeLists.txt
  lib/Target/X86/X86.td
  lib/Target/X86/X86Subtarget.cpp
  lib/Target/X86/X86TargetMachine.cpp
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86Subtarget.h
  test/CodeGen/X86/atom-fixup-lea2.ll
  test/CodeGen/X86/lsr-static-addr.ll
  test/CodeGen/X86/atom-fixup-lea1.ll
  test/CodeGen/X86/atom-fixup-lea3.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D660.2.patch
Type: text/x-patch
Size: 19228 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130423/811ddf1b/attachment.bin>


More information about the llvm-commits mailing list