commit | 0d04cbb5783c50f77f8d4c136f2dd529aa112ff9 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Sat Oct 19 16:57:02 2019 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Sat Oct 19 16:57:02 2019 +0000 |
tree | c766b5eda681befa867e399008f3e627e65c50bb | |
parent | 316641232816e55c56eed1ac49e7e8f214444382 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375347 91177308-0d34-0410-b5e6-96231b3b80d8