[flang-commits] [flang] [flang] Create temporaries for array sections passed to IGNORE_TKR dummy args (PR #147419)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Tue Jul 8 08:46:06 PDT 2025
================
@@ -1173,6 +1173,22 @@ bool HasVectorSubscript(const Expr<SomeType> &expr) {
return HasVectorSubscriptHelper{}(expr);
}
+// HasTriplet()
----------------
klausler wrote:
Simply checking for triplets is going to give false positives. `A(:)` is contiguous when `A` is; so are `A(J:K)` and `A(J:K:1)`. There's a general contiguity checking facility in Evaluate that can handle questions of contiguity; have you tried using it?
https://github.com/llvm/llvm-project/pull/147419
More information about the flang-commits
mailing list