[libc-commits] [libc] [llvm] [llvm] Add KnownBits implementations for avgFloor and avgCeil (PR #86445)
Simon Pilgrim via libc-commits
libc-commits at lists.llvm.org
Mon May 13 06:56:37 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
----------------
RKSimon wrote:
avgCel -> avgCeil
https://github.com/llvm/llvm-project/pull/86445
More information about the libc-commits
mailing list