diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-02-20 12:25:58 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-02-20 13:15:34 +0000 |
commit | 609d0c9772161ddbab148435b46efd71ba6754e3 (patch) | |
tree | 234d4fd61af77312b8bfbe351aa2ac93f57e9edf /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 84dbcdd5ffa38345c617ca780d6e760beb69a96d (diff) | |
download | llvm-609d0c9772161ddbab148435b46efd71ba6754e3.zip llvm-609d0c9772161ddbab148435b46efd71ba6754e3.tar.gz llvm-609d0c9772161ddbab148435b46efd71ba6754e3.tar.bz2 |
[InstCombine] matchBSwapOrBitReverse - remove pattern matching early-out. NFCI.
recognizeBSwapOrBitReverseIdiom + collectBitParts have pattern matching to bail out early if a bswap/bitreverse pattern isn't possible - we should be able to rely on this instead without any notable change in compile time.
This is part of a cleanup towards letting matchBSwapOrBitReverse /recognizeBSwapOrBitReverseIdiom use 'root' instructions that aren't ORs (FSHL/FSHRs in particular which can be prematurely created).
Differential Revision: https://reviews.llvm.org/D97056
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions