[Mlir-commits] [mlir] [MLIR] Add a getStaticTripCount method to LoopLikeOpInterface (PR #158679)
Mehdi Amini
llvmlistbot at llvm.org
Tue Sep 16 07:02:37 PDT 2025
================
@@ -112,21 +113,30 @@ SmallVector<OpFoldResult> getAsIndexOpFoldResult(MLIRContext *ctx,
}
/// If ofr is a constant integer or an IntegerAttr, return the integer.
-std::optional<int64_t> getConstantIntValue(OpFoldResult ofr) {
+/// The boolean indicates whether the value is an index type.
----------------
joker-eph wrote:
64 bits
https://github.com/llvm/llvm-project/pull/158679
More information about the Mlir-commits
mailing list