[PATCH] D118764: Pre-commit test cases for DAG combine folds of SSHLSAT/USHLSAT -> SHL
Bjorn Pettersson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 2 02:32:50 PST 2022
bjope created this revision.
bjope requested review of this revision.
Herald added a project: LLVM.
It should be possible to replace SSHLSAT and USHLSAT with SHL when
it is known that no saturation will take place (e.g. by analysing
known sign bits in the first shift operand).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D118764
Files:
llvm/test/CodeGen/AArch64/sshl_sat.ll
llvm/test/CodeGen/AArch64/ushl_sat.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118764.405185.patch
Type: text/x-patch
Size: 5751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220202/13f5dea1/attachment.bin>
More information about the llvm-commits
mailing list