diff options
author | erichkeane <ekeane@nvidia.com> | 2024-05-13 08:43:15 -0700 |
---|---|---|
committer | erichkeane <ekeane@nvidia.com> | 2024-05-13 10:29:43 -0700 |
commit | 8ef2011b2cd3a8fc2ef8d6ea0facb1a39a0dd621 (patch) | |
tree | b80e6f2c25fa98e917c9f9010da81228c5a1ed39 /llvm/lib/IR/Module.cpp | |
parent | b8f802f783db481ecfd953c9abe74212a8348aff (diff) | |
download | llvm-8ef2011b2cd3a8fc2ef8d6ea0facb1a39a0dd621.zip llvm-8ef2011b2cd3a8fc2ef8d6ea0facb1a39a0dd621.tar.gz llvm-8ef2011b2cd3a8fc2ef8d6ea0facb1a39a0dd621.tar.bz2 |
Reapply "[OpenACC] device_type clause Sema for Compute constructs"
device_type, also spelled as dtype, specifies the applicability of the
clauses following it, and takes a series of identifiers representing the
architectures it applies to. As we don't have a source for the valid
architectures yet, this patch just accepts all.
Semantically, this also limits the list of clauses that can be applied
after the device_type, so this implements that as well.
This reverts commit 06f04b2e27f2586d3db2204ed4e54f8b78fea74e.
This reapplies commit c4a9a374749deb5f2a932a7d4ef9321be1b2ae5d.
The build failures were caused by the patch depending on the order of
evaluation of arguments to a function. This reapplication separates out
the capture of one of the values.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions