[InstCombine] Canonicalize `icmp eq/ne (A ^ C), B` to `icmp eq/ne (A ^ B), C` (#67273)
This patch canonicalizes `icmp eq/ne (A ^ Cst), B` to `icmp eq/ne (A ^ B), Cst` since the latter form exposes more optimizations. Proof: https://alive2.llvm.org/ce/z/9DbhGc Fixes #65968.
parent
31631d30
Please register or sign in to comment