[Mlir-commits] [mlir] [mlir][scf]: Expose emitNormalizedLoopBounds/denormalizeInductionVariable util functions (NFC) (PR #94429)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Jun 5 10:06:19 PDT 2024


================
@@ -120,6 +120,31 @@ LogicalResult loopUnrollByFactor(
     scf::ForOp forOp, uint64_t unrollFactor,
     function_ref<void(unsigned, Operation *, OpBuilder)> annotateFn = nullptr);
 
+/// This structure is to pass and return sets of loop parameters without
+/// confusing the order.
+struct LoopParams {
----------------
MaheshRavishankar wrote:

I am OK with this, but i'd really like this to be `OpFoldResult`s. 

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


More information about the Mlir-commits mailing list