[llvm] [LVI] Thread binop over select with constant arms (PR #110212)
Andreas Jonson via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 5 10:03:11 PST 2024
================
@@ -924,18 +924,74 @@ LazyValueInfoImpl::solveBlockValueBinaryOpImpl(
Instruction *I, BasicBlock *BB,
std::function<ConstantRange(const ConstantRange &, const ConstantRange &)>
OpFn) {
+ Value *LHS = I->getOperand(0);
+ Value *RHS = I->getOperand(1);
+
+ auto GetValueFromCondition =
----------------
andjo403 wrote:
this lamda seems to be unused
https://github.com/llvm/llvm-project/pull/110212
More information about the llvm-commits
mailing list