Kiran Chandramohan
a13696fd84
[Flang][OpenMP] Port a few parallel tests to HLFIR flow
...
These are copies of tests in flang/test/Lower/OpenMP/FIR.
2023-10-26 16:11:27 +00:00
Kiran Chandramohan
c366e61b59
[Flang][OpenMP] Move FIR lowering tests to a separate directory ( #66779 )
...
As part of preparing for the switch to HLFIR lowering, all OpenMP FIR
lowering tests are moved to a subdirectory in the OpenMP directory.
Copies of these tests that work with HLFIR will be created during this
week. After the switch the FIR lowering tests will be removed.
All new tests should be added with the HLFIR flow.
2023-09-20 11:11:07 +01:00
Kiran Chandramohan
ca81808cc3
[Flang][OpenMP] Refactor to properly fix privatisation of loop bounds
...
The OpenMP loop Operations have the bounds attached to them. If the
loop bounds are privatised then the privatisation has to happen
before the loop operation is created. To do this the privatisation
is split into two steps. The first step performs cloning and
firstprivate handling, the second step performs lastprivate handling.
This also reverts the changes in the temporary fix (D127137).
Fixes https://github.com/flang-compiler/f18-llvm-project/issues/1171#issuecomment-1143880545
Fixes https://github.com/flang-compiler/f18-llvm-project/issues/1171#issuecomment-1119997442
Fixes #60872
Reviewed By: NimishMishra
Differential Revision: https://reviews.llvm.org/D151504
2023-06-05 16:04:24 +00:00
Kiran Chandramohan
191240d9b6
[Flang][OpenMP] NFC: Remove omp prefix of test files in OpenMP Lower
...
For tests in the OpenMP sub-directory the `omp` prefix is removed.
2023-02-25 11:39:00 +00:00