[all-commits] [llvm/llvm-project] a29896: [TargetLowering][DAGCombine][MSP430] add/use hook ...

RotateRight via All-commits all-commits at lists.llvm.org
Sat Oct 19 09:55:51 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a298964d22a203d21bafe1f649a46ba8a2592ca4
      https://github.com/llvm/llvm-project/commit/a298964d22a203d21bafe1f649a46ba8a2592ca4
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2019-10-19 (Sat, 19 Oct 2019)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
    M llvm/lib/Target/MSP430/MSP430ISelLowering.h
    M llvm/test/CodeGen/MSP430/shift-amount-threshold.ll

  Log Message:
  -----------
  [TargetLowering][DAGCombine][MSP430] add/use hook for Shift Amount Threshold (1/2)

Provides a TLI hook to allow targets to relax the emission of shifts, thus enabling
codegen improvements on targets with no multiple shift instructions and cheap selects
or branches.

Contributes to a Fix for PR43559:
https://bugs.llvm.org/show_bug.cgi?id=43559

Patch by: @joanlluch (Joan LLuch)

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

llvm-svn: 375347




More information about the All-commits mailing list