aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/LangOptions.cpp
diff options
context:
space:
mode:
authorErich Keane <ekeane@nvidia.com>2025-07-07 08:35:05 -0700
committerGitHub <noreply@github.com>2025-07-07 08:35:05 -0700
commitb8f5cbb4ffbf3901425a6e4f5d86eb8cba5b0ddd (patch)
tree3b07d68c4602e9ba8f0ecc6098b7aaf6fae62076 /clang/lib/Basic/LangOptions.cpp
parent59b1d631d7c80c956c971de92350076591d9c0ad (diff)
downloadllvm-b8f5cbb4ffbf3901425a6e4f5d86eb8cba5b0ddd.zip
llvm-b8f5cbb4ffbf3901425a6e4f5d86eb8cba5b0ddd.tar.gz
llvm-b8f5cbb4ffbf3901425a6e4f5d86eb8cba5b0ddd.tar.bz2
[OpenACC][CIR] 'cache' construct lowering (#146915)
The 'cache' construct is an interesting one, in that it doesn't take any clauses, and is exclusively a collection of variables. Lowering wise, these just get added to the associated acc.loop. This did require some work to ensure that the cache doesn't have 'vars' that aren't inside of the loop, but Sema is taking care of that with a warning. Otherwise this is just a fairly simple amount of lowering, where each 'var' in the list creates an acc.cache, which is added to the acc.loop.
Diffstat (limited to 'clang/lib/Basic/LangOptions.cpp')
0 files changed, 0 insertions, 0 deletions