diff options
author | Kiran Chandramohan <kiran.chandramohan@arm.com> | 2023-05-02 11:29:42 +0000 |
---|---|---|
committer | Kiran Chandramohan <kiran.chandramohan@arm.com> | 2023-05-02 12:02:04 +0000 |
commit | 39e8e59950b1a4b5dadd398d1788bc79bb7b2879 (patch) | |
tree | cfceb9f988777f7cd07b6dd2c27905292a96289b /llvm/unittests/Support/VirtualFileSystemTest.cpp | |
parent | 52882de0e641487329c9e093a90ea3dad01842c8 (diff) | |
download | llvm-39e8e59950b1a4b5dadd398d1788bc79bb7b2879.zip llvm-39e8e59950b1a4b5dadd398d1788bc79bb7b2879.tar.gz llvm-39e8e59950b1a4b5dadd398d1788bc79bb7b2879.tar.bz2 |
[Flang][OpenMP] Use fir.if instead of scf.if in lastprivate lowering
For finding the last iteration of a loop, or the last section an
if condition is generated. Using scf::if can cause some lowering
issues since the code contained inside it can have branches. Using
fir::if instead ensures that the fir::if is lowered into branches
along with any code contained inside that can generate branches.
Fixes #62458.
Reviewed By: NimishMishra
Differential Revision: https://reviews.llvm.org/D149547
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions