[all-commits] [llvm/llvm-project] 2f490f: [flang][openacc] Check trip count invariance with ...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Jan 30 14:48:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f490f924647aa0724bab49cb390d4423fc9fc03
      https://github.com/llvm/llvm-project/commit/2f490f924647aa0724bab49cb390d4423fc9fc03
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2024-01-30 (Tue, 30 Jan 2024)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/test/Semantics/OpenACC/acc-loop.f90

  Log Message:
  -----------
  [flang][openacc] Check trip count invariance with other IVs (#79906)

2.9.1 The trip count for all loops associated with the collapse clause must be
computable and invariant in all the loops.

This patch checks that loops part of a collapse nest does not depends on outer
loops induction variables.

The check is also applied to combined construct with a loop.




More information about the All-commits mailing list