diff options
author | Kareem Ergawy <kareem.ergawy@amd.com> | 2025-01-15 14:52:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-15 14:52:10 +0100 |
commit | a32c45631b69eeb605f71de3b21ea9f2fba88e34 (patch) | |
tree | c31267114f21b5b0d6def1dc4672c8e567ce13a4 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | d1314d0152f242c618caafce264fccbc47273d84 (diff) | |
download | llvm-a32c45631b69eeb605f71de3b21ea9f2fba88e34.zip llvm-a32c45631b69eeb605f71de3b21ea9f2fba88e34.tar.gz llvm-a32c45631b69eeb605f71de3b21ea9f2fba88e34.tar.bz2 |
[flang][OpenMP] Generalize fixing `alloca` IP pre-condition for `private` ops (#122866)
This PR generalizes a fix that we implemented previously for
`omp.wsloop`s. The fix makes sure the pre-condtion that the `alloca`
block has a single successor whenever we inline delayed privatizers is
respected. I simply moved the fix to `allocatePrivateVars` so that it
kicks in for any op not just `omp.wsloop`.
This handles a bug uncovered by [a
test](https://github.com/OpenMP-Validation-and-Verification/OpenMP_VV/blob/master/tests/4.5/target_simd/test_target_simd_safelen.F90)
in the OpenMP_VV test suite.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions