[PATCH] D90349: [DAGCombiner] Improve shift by select of constant
Layton Kifer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 28 15:53:19 PDT 2020
laytonio created this revision.
laytonio added reviewers: craig.topper, lebedev.ri, spatel, RKSimon.
Herald added subscribers: llvm-commits, ecnelises, pengfei, hiraditya, nemanjai.
Herald added a project: LLVM.
laytonio requested review of this revision.
Clean up a TODO, to support folding a shift of a constant by a select of constants, on targets with different shift operand sizes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D90349
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AArch64/select_const.ll
llvm/test/CodeGen/PowerPC/select_const.ll
llvm/test/CodeGen/X86/dagcombine-select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90349.301460.patch
Type: text/x-patch
Size: 7398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201028/45e2ed75/attachment.bin>
More information about the llvm-commits
mailing list