[llvm] [InstCombine] Add ctpop(A | B) + ctpop(A & B) -> ctpop(A) + ctpop(B) (PR #79089)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 23:55:06 PST 2024


dtcxzyw wrote:

The implementation LGTM. But I am sorry I cannot give the approval unless you can prove that it benefits some real-world applications.

There are an infinite number of atomic simplifications. But obviously you cannot handle all of them in LLVM.



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


More information about the llvm-commits mailing list