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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 4 00:45:42 PST 2024


https://github.com/nikic commented:

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.

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


More information about the llvm-commits mailing list