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

Nikita Popov llvmlistbot at llvm.org
Tue Jun 11 12:45:54 PDT 2024


================
@@ -378,7 +378,8 @@ void UnrankedMemRefDescriptor::computeSizes(
     // to data layout) into the unranked descriptor.
     Value pointerSize = createIndexAttrConstant(
         builder, loc, indexType,
-        ceilDiv(typeConverter.getPointerBitwidth(addressSpace), 8));
+        llvm::divideCeilSigned(typeConverter.getPointerBitwidth(addressSpace),
----------------
nikic wrote:

Same here.

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


More information about the Mlir-commits mailing list