[llvm] [InstCombine] Handle multi-use in simplifyAndOrWithOpReplaced() (PR #81006)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 7 11:05:18 PST 2024
================
@@ -2220,44 +2220,42 @@ foldBitwiseLogicWithIntrinsics(BinaryOperator &I,
// Try to simplify X | Y by replacing occurrences of Y in X with 0.
// Similarly, simplify X & Y by replacing occurrences of Y in X with -1.
// Return the simplified result of X if successful, and nullptr otherwise.
----------------
dtcxzyw wrote:
Please also update the header comments.
https://github.com/llvm/llvm-project/pull/81006
More information about the llvm-commits
mailing list