[PATCH] D84100: [ARM] Optimize immediate selection

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 18 07:24:48 PDT 2020


benshi001 created this revision.
benshi001 added reviewers: t.p.northover, greened, anhtuyen, efriedma, dmgreen, samparker.
Herald added subscribers: llvm-commits, danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.

Optimize some specific immediate selection to movi+subri
or addri+subri against loading from the constant pool.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84100

Files:
  llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
  llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
  llvm/lib/Target/ARM/ARMInstrInfo.td
  llvm/lib/Target/ARM/MCTargetDesc/ARMAddressingModes.h
  llvm/test/CodeGen/ARM/sadd_sat.ll
  llvm/test/CodeGen/ARM/ssub_sat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84100.279002.patch
Type: text/x-patch
Size: 11628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200718/ddefd125/attachment-0001.bin>


More information about the llvm-commits mailing list