aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authordelaram-talaashrafi <dtalaashrafi@nvidia.com>2025-07-17 12:38:02 -0400
committerGitHub <noreply@github.com>2025-07-17 09:38:02 -0700
commit0dae924c1f668f74370b642ba91f818b728aca40 (patch)
tree9e5ec72e806fefe658e3d5c34d5ebb0fe9d0e188 /llvm/lib/IR/Module.cpp
parent661cbd5a5254de22ba87a49e89f54b30e2874fb3 (diff)
downloadllvm-0dae924c1f668f74370b642ba91f818b728aca40.zip
llvm-0dae924c1f668f74370b642ba91f818b728aca40.tar.gz
llvm-0dae924c1f668f74370b642ba91f818b728aca40.tar.bz2
[openacc][flang] Support two type bindName representation in acc routine (#149147)
Based on the OpenACC specification — which states that if the bind name is given as an identifier it should be resolved according to the compiled language, and if given as a string it should be used unmodified — we introduce two distinct `bindName` representations for `acc routine` to handle each case appropriately: one as an array of `SymbolRefAttr` for identifiers and another as an array of `StringAttr` for strings. To ensure correct correspondence between bind names and devices, this patch also introduces two separate sets of device attributes. The routine operation is extended accordingly, along with the necessary updates to the OpenACC dialect and its lowering.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions