[llvm] [VectorCombine] Fold bitcast(bitreverse.v8i8(bitcast(IntTy))) into bswap+bitreverse (PR #209037)

Björn Pettersson via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 01:30:46 PDT 2026


bjope wrote:

If the cost is equal for the vector and scalar version it seems like the IR isn't modified, right?

I wonder if we want to canonicalize to either form in such situations?

https://github.com/llvm/llvm-project/pull/209037


More information about the llvm-commits mailing list