[llvm] [ADT] Add implementations for avgFloor and ceilFloor to APInt (PR #84431)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 8 01:53:07 PST 2024
================
@@ -3094,3 +3094,39 @@ void llvm::LoadIntFromMemory(APInt &IntVal, const uint8_t *Src,
memcpy(Dst + sizeof(uint64_t) - LoadBytes, Src, LoadBytes);
}
}
+
+APInt APIntOps::avgFloorS(const APInt &C1, const APInt &C2) {
+
----------------
RKSimon wrote:
remove extra newlines
https://github.com/llvm/llvm-project/pull/84431
More information about the llvm-commits
mailing list