[PATCH] D105764: [InstCombine] Fold lshr/ashr(or(neg(x), x), bw-1) --> zext/sext(icmp_ne(x,0)) (PR50816)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 13 06:48:15 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb2f6cf14798a: [InstCombine] Fold lshr/ashr(or(neg(x),x),bw-1) --> zext/sext(icmp_ne(x,0))… (authored by RKSimon).
Changed prior to commit:
https://reviews.llvm.org/D105764?vs=358244&id=358252#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105764/new/
https://reviews.llvm.org/D105764
Files:
llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
llvm/test/Transforms/InstCombine/sub-ashr-or-to-icmp-select.ll
llvm/test/Transforms/InstCombine/sub-lshr-or-to-icmp-select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105764.358252.patch
Type: text/x-patch
Size: 7547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210713/a52bf27d/attachment.bin>
More information about the llvm-commits
mailing list