aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorKareem Ergawy <kareem.ergawy@amd.com>2024-06-23 12:16:34 +0200
committerGitHub <noreply@github.com>2024-06-23 12:16:34 +0200
commitf372bb45e39b7eae94930fc419724e12596a8361 (patch)
tree3acd3a19189560e295f2b02ad4e8d1e14b88bcf9 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parentf7fc72e281e26082d98b26c95c7ffc93393b3920 (diff)
downloadllvm-f372bb45e39b7eae94930fc419724e12596a8361.zip
llvm-f372bb45e39b7eae94930fc419724e12596a8361.tar.gz
llvm-f372bb45e39b7eae94930fc419724e12596a8361.tar.bz2
[OpenMP][LLVM] Clone `omp.private` op in the parent module (#96024)
Fixes a crash uncovered by test 0007_0019.f90 in the Fujitsu test suite. Previously, in the `PrivCB`, we cloned the `omp.private` op without inserting it in the parent module of the original op. This causes issues whenever there is an op that needs to lookup the parent module (e.g. for symbol lookup). This PR fixes the issue by cloning in the parent module instead of creating an orphaned op.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions