[Mlir-commits] [mlir] [mlir][scf]: Expose emitNormalizedLoopBounds/denormalizeInductionVariable util functions (NFC) (PR #94429)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Jun 12 23:22:51 PDT 2024
================
@@ -294,6 +302,13 @@ Value mlir::createScalarOrSplatConstant(OpBuilder &builder, Location loc,
return builder.createOrFold<arith::ConstantOp>(loc, type, splat);
}
+Type mlir::getIntType(OpFoldResult ofr) {
----------------
MaheshRavishankar wrote:
Actually looking at its uses, you dont need the `getIntType` at all. You can just fold this into `getValueOrCreateConstantIntOp`?
https://github.com/llvm/llvm-project/pull/94429
More information about the Mlir-commits
mailing list