[PATCH] D117680: [InstCombine] Simplify bswap -> shift
Paweł Bylica via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 20 13:51:41 PST 2022
chfast updated this revision to Diff 401773.
chfast edited the summary of this revision.
chfast added a comment.
Implemented extended variant which handles "active byte" at any position, suggested by @craig.topper.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117680/new/
https://reviews.llvm.org/D117680
Files:
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Transforms/InstCombine/bswap-fold.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117680.401773.patch
Type: text/x-patch
Size: 8987 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220120/6c66da96/attachment-0001.bin>
More information about the llvm-commits
mailing list