[llvm] Allow folding icmp eq (add X, C2), C when there is more than one-use when we can compute the range (PR #144566)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 17:27:43 PDT 2025


AZero13 wrote:

> > @topperc this is having too many side effects. I think we should do what I originally did for now and then I will invest working on a proper fix because this is not going to be easily done in one PR
> 
> Ok. Is there a known workload that benefits from this?

Plenty. Let me ask @dtcxzyw 

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


More information about the llvm-commits mailing list