dtcxzyw wrote: This patch breaks a ton of `and/or of icmps` fold in some rust applications. See https://github.com/dtcxzyw/llvm-opt-benchmark/pull/818. Can we mitigate the problem by skipping logical and/or patterns? https://github.com/llvm/llvm-project/pull/97289