[all-commits] [llvm/llvm-project] 2b8311: [flang][OpenACC] Support acc routine info on ProcE...

khaki3 via All-commits all-commits at lists.llvm.org
Fri Apr 17 10:56:29 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b8311ef3e6484679370d60b369aa189f48981b9
      https://github.com/llvm/llvm-project/commit/2b8311ef3e6484679370d60b369aa189f48981b9
  Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M flang/include/flang/Semantics/symbol.h
    M flang/lib/Lower/CallInterface.cpp
    M flang/lib/Semantics/resolve-directives.cpp
    A flang/test/Lower/OpenACC/acc-routine-named-external.f90

  Log Message:
  -----------
  [flang][OpenACC] Support acc routine info on ProcEntityDetails for separate compilation (#192367)

When !$acc routine(name) vector is used in a caller for an external
subroutine, the symbol has ProcEntityDetails (not SubprogramDetails).
The routine info (vector/worker/gang/seq) was silently lost because
AddRoutineInfoToSymbol only handled SubprogramDetails, and CallInterface
only checked SubprogramDetails for openACCRoutineInfos.

Add openACCRoutineInfos storage to ProcEntityDetails and handle it in
both AddRoutineInfoToSymbol and CallInterface so the parallelism level
is properly lowered to acc.routine with the correct keyword.



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