[llvm] [InstCombine] Clean up bitwise folds without one-use check (PR #80587)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 4 04:05:54 PST 2024


dtcxzyw wrote:

> I think you may be able to drop
> 
> https://github.com/llvm/llvm-project/blob/616ca003421f3114c8637a42c3d1cae09e20ef6e/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp#L3621-L3630
> 
> as redundant? It has a one-use check, so I think it is subsumed by your fold.

Done

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


More information about the llvm-commits mailing list