[all-commits] [llvm/llvm-project] c722b3: [InstCombine] recognizeBSwapOrBitReverseIdiom - me...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Sep 30 07:04:54 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c722b3259690d3aad20f31d0ffe6c12b1416bccc
https://github.com/llvm/llvm-project/commit/c722b3259690d3aad20f31d0ffe6c12b1416bccc
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-09-30 (Wed, 30 Sep 2020)
Changed paths:
M llvm/lib/Transforms/Utils/Local.cpp
Log Message:
-----------
[InstCombine] recognizeBSwapOrBitReverseIdiom - merge the regular/trunc+zext paths. NFCI.
There doesn't seem to be any good reason for having a separate path for when we bswap/bitreverse at a smaller size than the destination size - so merge these to make the instruction generation a lot clearer.
More information about the All-commits
mailing list