[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
================
@@ -971,8 +971,8 @@ struct MemorySpaceCastOpLowering
resultUnderlyingDesc, resultElemPtrType);
int64_t bytesToSkip =
- 2 *
- ceilDiv(getTypeConverter()->getPointerBitwidth(resultAddrSpace), 8);
+ 2 * llvm::divideCeilSigned(
+ getTypeConverter()->getPointerBitwidth(resultAddrSpace), 8);
----------------
nikic wrote:
Here as well, this should use the unsigned variant.
https://github.com/llvm/llvm-project/pull/95087
More information about the Mlir-commits
mailing list