Commit 7eecfc07 authored by Kiran Chandramohan's avatar Kiran Chandramohan
Browse files

[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: default avatarJean Perier <jperier@nvidia.com>
Co-authored-by: default avatarEric Schweitz <eschweitz@nvidia.com>
Co-authored-by: default avatarV Donaldson <vdonaldson@nvidia.com>
Co-authored-by: default avatarValentin Clement <clementval@gmail.com>
Co-authored-by: default avatarSameeran Joshi <sameeranjayant.joshi@amd.com>
parent ec90bc0e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment