[Mlir-commits] [mlir] Add checks before hoisting out in loop pipelining (PR #90872)

Fotis Kounelis llvmlistbot at llvm.org
Wed Jun 5 03:19:09 PDT 2024


================
@@ -217,6 +217,8 @@ loopScheduling(scf::ForOp forOp,
     return 1;
   };
 
+  auto ubConstant = getConstantIntValue(forOp.getUpperBound());
----------------
fotiskoun wrote:

Thanks, I changed `auto` to `std::optional<int64_t>`

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


More information about the Mlir-commits mailing list