[all-commits] [llvm/llvm-project] 113181: [DAGCombine][MSP430] use shift amount threshold in...

RotateRight via All-commits all-commits at lists.llvm.org
Mon Nov 4 10:44:10 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 113181e9bd05353ed562ee7b971bf7f1e58cd5de
      https://github.com/llvm/llvm-project/commit/113181e9bd05353ed562ee7b971bf7f1e58cd5de
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2019-11-04 (Mon, 04 Nov 2019)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/MSP430/shift-amount-threshold.ll

  Log Message:
  -----------
  [DAGCombine][MSP430] use shift amount threshold in DAGCombine (2/2)

Continuation of:
D69116

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

See also D69099 and D69116

Use the TLI hook in DAGCombine.cpp to guard against creating
shift nodes that are not optimal for a target.

Patch by: @joanlluch (Joan LLuch)

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




More information about the All-commits mailing list