[llvm] [InstCombine] Resolve TODO: Remove one-time check if other logic operand (Y) is constant (PR #77973)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 21 19:20:17 PST 2024
================
@@ -368,12 +368,11 @@ static Instruction *foldShiftOfShiftedBinOp(BinaryOperator &I,
// Find a matching one-use shift by constant. The fold is not valid if the sum
----------------
topperc wrote:
The "one-use" part of this comment is no longer completely accurate.
https://github.com/llvm/llvm-project/pull/77973
More information about the llvm-commits
mailing list