[Mlir-commits] [llvm] [mlir] [MLIR][OpenMP] Add Taskloop Collapse Support (PR #175924)
Tom Eccles
llvmlistbot at llvm.org
Fri Jan 23 10:20:31 PST 2026
================
@@ -2816,13 +2818,33 @@ convertOmpTaskloopOp(Operation &opInst, llvm::IRBuilderBase &builder,
moduleTranslation.lookupValue(lowerBounds[i]), builder.getInt32(1));
llvm::Value *loopTripCount = builder.CreateSub(
moduleTranslation.lookupValue(upperBounds[i]), lowerBoundMinusOne);
+ // For loops that have a step value greater than 1, we need to adjust the
----------------
tblah wrote:
Isn't it for anything with a step value not equal to 1? A negative step value also needs this adjustment.
https://github.com/llvm/llvm-project/pull/175924
More information about the Mlir-commits
mailing list