SuccessChanges

Summary

  1. [TargetLowering][DAGCombine][MSP430] add/use hook for Shift Amount (details)
  2. [X86] Pulled out helper to decode target shuffle element sentinel values (details)
Commit a298964d22a203d21bafe1f649a46ba8a2592ca4 by spatel
[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
The file was modifiedllvm/lib/Target/MSP430/MSP430ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/MSP430/shift-amount-threshold.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/MSP430/MSP430ISelLowering.h
Commit 10213b90730e2459e6cbbeeb5c7289b18c298382 by llvm-dev
[X86] Pulled out helper to decode target shuffle element sentinel values
to 'Zeroable' known undef/zero bits. NFCI.
Renamed 'resolveTargetShuffleAndZeroables' to
'resolveTargetShuffleFromZeroables' to match.
llvm-svn: 375348
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp