[llvm] [VectorCombine] Support pattern `bitop(cast(x), C) -> cast(bitop(x, InvC))` (PR #155216)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 1 01:32:05 PDT 2025


XChy wrote:

Any other reviews?
I will post an NFC patch to put `getLosslessInvCast` into ConstantFolding.h, and apply it in InstCombine.

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


More information about the llvm-commits mailing list