[llvm] [InstCombine] Fold `icmp eq/ne (X and C), 0` when partial bits are known (PR #85863)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 20 03:25:53 PDT 2024
dtcxzyw wrote:
Oh, `simplifyICmpWithZero` in InstSimplify should handle this.
https://github.com/llvm/llvm-project/blob/7227ec98ad9a5e8e973d0c831e6f8bc0f7029f9f/llvm/lib/Analysis/InstructionSimplify.cpp#L2967-L2984
I will fix it later.
https://github.com/llvm/llvm-project/pull/85863
More information about the llvm-commits
mailing list