[flang-commits] [flang] [flang] still apply vectorization cost model with IVDEP (PR #180760)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Tue Feb 10 09:11:21 PST 2026


================
@@ -51,6 +51,9 @@ A list of non-standard directives supported by Flang
   be passed in registers, so it's not clear how lowering should handle this
   case. (Passing scalar actual argument to `ignore_tkr(R)` dummy argument
   that is a scalar with `VALUE` attribute is allowed.)
+* `!dir$ ivdep` asserts that there are no vector dependencies in the following loop,
----------------
mjklemm wrote:

To my understanding, `IVDEP` is meant to ignore suspected dependences.  If there's a dependence the compiler can prove, `IVDEP` should not be effective for that dependence.

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


More information about the flang-commits mailing list