[llvm] [InstCombine] Introduce `foldICmpBinOpWithConstantViaTruthTable` folding (PR #139109)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Sat May 10 11:14:25 PDT 2025


antoniofrighetto wrote:

> Does this subsume the fold at
> 
> https://github.com/llvm/llvm-project/blob/948bffa951cf143da5f4caa461b25ce76fa137d0/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp#L1969-L1991
> 
> ?

Right, thanks for catching it, PR description updated.

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


More information about the llvm-commits mailing list