[all-commits] [llvm/llvm-project] d6c6bd: [flang] Implement !DIR$ UNROLL_AND_JAM [N] (#125046)

Jean-Didier PAILLEUX via All-commits all-commits at lists.llvm.org
Wed Feb 19 07:00:32 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d6c6bde9dbcf332b5092ebcee8c7fe6fbb5aa2ae
      https://github.com/llvm/llvm-project/commit/d6c6bde9dbcf332b5092ebcee8c7fe6fbb5aa2ae
  Author: Jean-Didier PAILLEUX <jean-didier.pailleux at sipearl.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    M flang/docs/Directives.md
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Parser/Fortran-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/canonicalize-directives.cpp
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Integration/unroll_and_jam.f90
    A flang/test/Lower/unroll_and_jam.f90
    M flang/test/Parser/compiler-directives.f90

  Log Message:
  -----------
  [flang] Implement !DIR$ UNROLL_AND_JAM [N] (#125046)

This patch implements support for the UNROLL_AND_JAM directive to enable
or disable unrolling and jamming on a `DO LOOP`.
It must be placed immediately before a `DO LOOP` and applies only to the
loop that follows. N is an integer that specifying the unrolling factor.
This is done by adding an attribute to the branch into the loop in LLVM
to indicate that the loop should unrolled and jammed.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list