[PATCH] D118765: [DAGCombiner] Fold SSHLSAT/USHLSAT to SHL when no saturation will occur
Bjorn Pettersson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 2 09:48:43 PST 2022
bjope updated this revision to Diff 405320.
bjope added a comment.
Added check that it is "legal" to use SHL.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118765/new/
https://reviews.llvm.org/D118765
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AArch64/sshl_sat.ll
llvm/test/CodeGen/AArch64/ushl_sat.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118765.405320.patch
Type: text/x-patch
Size: 5190 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220202/c69c340c/attachment.bin>
More information about the llvm-commits
mailing list