[llvm] [mlir] mlir/MathExtras: consolidate with llvm/MathExtras (PR #95087)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 14:58:13 PDT 2024


================
@@ -424,11 +424,43 @@ template <uint64_t Align> constexpr inline uint64_t alignTo(uint64_t Value) {
   return (Value + Align - 1) / Align * Align;
 }
 
-/// Returns the integer ceil(Numerator / Denominator).
+/// Returns the integer ceil(Numerator / Denominator). Unsigned integer version.
----------------
artagnon wrote:

Yes, I was planning to do that in a follow-up.

https://github.com/llvm/llvm-project/pull/95087


More information about the llvm-commits mailing list