[all-commits] [llvm/llvm-project] 7eecfc: [Flang] Add flag dependent code to execute the loo...

kiranchandramohan via All-commits all-commits at lists.llvm.org
Tue Jun 7 03:12:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7eecfc077f36fe249d5457e2d9a0e294cb25d615
      https://github.com/llvm/llvm-project/commit/7eecfc077f36fe249d5457e2d9a0e294cb25d615
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2022-06-07 (Tue, 07 Jun 2022)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    A flang/test/Lower/always-execute-loop-body.f90

  Log Message:
  -----------
  [Flang] Add flag dependent code to execute the loop-body atleast once

Given the flag `--always-execute-loop-body` the compiler emits code
to execute the body of the loop atleast once.

Note: This is part of upstreaming from the fir-dev branch of
https://github.com/flang-compiler/f18-llvm-project.

Reviewed By: awarzynski, schweitz

Differential Revision: https://reviews.llvm.org/D127128

Co-authored-by: Jean Perier <jperier at nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>
Co-authored-by: V Donaldson <vdonaldson at nvidia.com>
Co-authored-by: Valentin Clement <clementval at gmail.com>
Co-authored-by: Sameeran Joshi <sameeranjayant.joshi at amd.com>




More information about the All-commits mailing list