[PATCH] D88316: [InstCombine] recognizeBSwapOrBitReverseIdiom - recognise zext(bswap(trunc(x))) patterns (PR39793)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 29 11:31:43 PDT 2020
RKSimon updated this revision to Diff 295067.
RKSimon added a comment.
I've rewritten the leading zero count code to support any type width and added a 'PR39793_bswap_u50_as_u16' test case
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88316/new/
https://reviews.llvm.org/D88316
Files:
llvm/lib/Transforms/Utils/Local.cpp
llvm/test/Transforms/InstCombine/bswap.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88316.295067.patch
Type: text/x-patch
Size: 7545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200929/0b159e67/attachment.bin>
More information about the llvm-commits
mailing list