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

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Fri May 17 04:59:43 PDT 2024


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

Nit: please expand `auto` unless the type is obvious from line-level context or impossible to spell out.

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


More information about the Mlir-commits mailing list