1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/unittests/Frontend
Johannes Doerfert 17f538d282 Reapply "[OpenMP][IRBuilder] Perform finalization (incl. outlining) late"
Reapply 8a56d64d7620b3764f10f03f3a1e307fcdd72c2f with minor fixes.

The problem was that cancellation can cause new edges to the parallel
region exit block which is not outlined. The CodeExtractor will encode
the information which "exit" was taken as a return value. The fix is to
ensure we do not return any value from the outlined function, to prevent
control to value conversion we ensure a single exit block for the
outlined region.

This reverts commit 3aac953afa34885a72df96f2b703b65f85cbb149.
2020-02-12 22:29:07 -06:00
..
CMakeLists.txt [OpenMP][Part 1] Reusable OpenMP context/traits handling 2020-02-02 23:18:25 -06:00
OpenMPContextTest.cpp [OpenMP][Part 1] Reusable OpenMP context/traits handling 2020-02-02 23:18:25 -06:00
OpenMPIRBuilderTest.cpp Reapply "[OpenMP][IRBuilder] Perform finalization (incl. outlining) late" 2020-02-12 22:29:07 -06:00