[llvm] [llvm] Add KnownBits implementations for avgFloor and avgCeil (PR #86445)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 8 12:14:21 PDT 2024
================
@@ -354,6 +354,18 @@ struct KnownBits {
/// Compute knownbits resulting from llvm.usub.sat(LHS, RHS)
static KnownBits usub_sat(const KnownBits &LHS, const KnownBits &RHS);
+ /// Compute knownbits resulting from APIntOps::avgFloorS
+ static KnownBits avgFloorS(const KnownBits &LHS, const KnownBits &RHS);
+
+ /// Compute knownbits resulting from APIntOps::avgFloorU
+ static KnownBits avgFloorU(const KnownBits &LHS, const KnownBits &RHS);
+
+ /// Compute knownbits resulting from APIntOps::avgCelS
----------------
jayfoad wrote:
Typo "Cel" here and below
https://github.com/llvm/llvm-project/pull/86445
More information about the llvm-commits
mailing list