[Mlir-commits] [mlir] [mlir][Affine] Let affine.[de]linearize_index omit outer bounds (PR #116103)
Krzysztof Drewniak
llvmlistbot at llvm.org
Mon Nov 18 13:39:03 PST 2024
================
@@ -4576,6 +4600,20 @@ AffineDelinearizeIndexOp::fold(FoldAdaptor adaptor,
return success();
}
+SmallVector<OpFoldResult> AffineDelinearizeIndexOp::getEffectiveBasis() {
+ OpBuilder builder(getContext());
+ if (hasOuterBound()) {
----------------
krzysz00 wrote:
Because I was feeling clever and didn't want to pay for a reallocation I didn't need
https://github.com/llvm/llvm-project/pull/116103
More information about the Mlir-commits
mailing list