[all-commits] [llvm/llvm-project] c3afa7: [flang][openacc] Fix function name resolution in a...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Fri Aug 25 14:27:56 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c3afa7901d00ca438d64f189cac569938499d7e5
https://github.com/llvm/llvm-project/commit/c3afa7901d00ca438d64f189cac569938499d7e5
Author: Valentin Clement <clementval at gmail.com>
Date: 2023-08-25 (Fri, 25 Aug 2023)
Changed paths:
M flang/lib/Semantics/resolve-directives.cpp
M flang/test/Lower/OpenACC/acc-routine.f90
Log Message:
-----------
[flang][openacc] Fix function name resolution in acc routine
When acc routine is in a function, the first symbol resolved
was the function result and not the function name itself. It was
then failing the deferred attachment because the mangled name
had the entity attach to it. This patch fix the name resolution
for the function name in acc routine directive.
Reviewed By: razvanlupusoru
Differential Revision: https://reviews.llvm.org/D158868
More information about the All-commits
mailing list