[PATCH] D69116: [TargetLowering][DAGCombine][MSP430] Shift Amount Threshold in DAGCombine (1/2)
Joan LLuch via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 17 09:55:50 PDT 2019
joanlluch created this revision.
joanlluch added reviewers: spatel, lebedev.ri.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
This is a continuation of D68982 <https://reviews.llvm.org/D68982>, following community recommendations
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 https://bugs.llvm.org/show_bug.cgi?id=43559
Should be commited after D69099 <https://reviews.llvm.org/D69099>
This is part 1, defining the TLI hook, incorporating it in the MSP430 target, and using it in TagetLogwering.cpp.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D69116
Files:
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
llvm/lib/Target/MSP430/MSP430ISelLowering.h
llvm/test/CodeGen/MSP430/shift-amount-threshold.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69116.225448.patch
Type: text/x-patch
Size: 5086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191017/d50cbc96/attachment.bin>
More information about the llvm-commits
mailing list