[all-commits] [llvm/llvm-project] 85342c: [ARM] Optimize immediate selection

sjoerdmeijer via All-commits all-commits at lists.llvm.org
Wed Jul 29 05:30:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 85342c27a303e68a4091797e5d7938aa7beb4da5
      https://github.com/llvm/llvm-project/commit/85342c27a303e68a4091797e5d7938aa7beb4da5
  Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
    M llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
    M llvm/lib/Target/ARM/ARMInstrInfo.td
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAddressingModes.h
    A llvm/test/CodeGen/ARM/add-sub-imm.ll
    M llvm/test/CodeGen/ARM/select-imm.ll

  Log Message:
  -----------
  [ARM] Optimize immediate selection

Optimize some specific immediates selection by materializing them with sub/mvn
instructions as opposed to loading them from the constant pool.

Patch by Ben Shi, powerman1st at 163.com.

Differential Revision: https://reviews.llvm.org/D83745




More information about the All-commits mailing list