[llvm] [InstCombine] Use KnownBits predicate helpers (PR #115874)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 12 13:40:34 PST 2024
================
@@ -6544,6 +6544,35 @@ bool InstCombinerImpl::replacedSelectWithOperand(SelectInst *SI,
return false;
}
+static std::optional<bool> compareKnownBits(ICmpInst::Predicate Pred,
----------------
nikic wrote:
Now using the common helper.
https://github.com/llvm/llvm-project/pull/115874
More information about the llvm-commits
mailing list