[all-commits] [llvm/llvm-project] f11e08: [flang] Generate fir.do_loop reduce from DO CONCUR...

khaki3 via All-commits all-commits at lists.llvm.org
Mon Jun 10 08:41:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f11e08fb26642fddebdefca5bec933fe39e4bd03
      https://github.com/llvm/llvm-project/commit/f11e08fb26642fddebdefca5bec933fe39e4bd03
  Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    A flang/test/Lower/loops3.f90

  Log Message:
  -----------
  [flang] Generate fir.do_loop reduce from DO CONCURRENT REDUCE clause (#94718)

Derived from #92480. This PR updates the lowering process of DO
CONCURRENT to support F'2023 REDUCE clause. The structure
`IncrementLoopInfo` is extended to have both reduction operations and
symbols in `reduceSymList`. The function `getConcurrentControl`
constructs `reduceSymList` for the innermost loop. Finally,
`genFIRIncrementLoopBegin` builds `fir.do_loop` with reduction operands.



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