[all-commits] [llvm/llvm-project] 3abcd5: [flang][openmp] fix OMPFunctionFiltering pass afte...
jeanPerier via All-commits
all-commits at lists.llvm.org
Wed Apr 24 08:38:03 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3abcd5f282fd17be679fa1775154672feead4ead
https://github.com/llvm/llvm-project/commit/3abcd5f282fd17be679fa1775154672feead4ead
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-04-24 (Wed, 24 Apr 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/OMPFunctionFiltering.cpp
A flang/test/Lower/OpenMP/function-filtering-3.f90
Log Message:
-----------
[flang][openmp] fix OMPFunctionFiltering pass after #87796 (#89776)
The pass assumed that all fun.func symbol usages could be safely
replaced by undef, that is not true after #87796 that added a back link
from internal procedure back to the parent procedure. This caused the
internal procedures to be erased and then processed (segfault).
Also set visibility of such internal procedures so that MLIR do not remove them before
the target function is generated for the target region.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list