[llvm] [InstCombine] simplify `icmp pred x, ~x` (PR #73990)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 10 14:15:10 PDT 2024


dtcxzyw wrote:

> @sftlbcn I took a rough look at it, I don't understand everything, but it's great! I also wanted to take a more general approach using bit, but It was difficult because I was a newbie.
> 
> should I close this PR?

No, I think the current implementation is good enough :)


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


More information about the llvm-commits mailing list