[InstCombine] allow variable shift amount in bswap + shift fold
When shifting by a byte-multiple: bswap (shl X, Y) --> lshr (bswap X), Y bswap (lshr X, Y) --> shl (bswap X), Y This was limited to constants as a first step in D122010 / 60820e53 , but issue #55327 shows a source example (and there's a test based on that here) where a variable shift amount is used in this pattern.
Loading
Please sign in to comment