aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/LockFileManager.cpp
diff options
context:
space:
mode:
authorjeanPerier <jperier@nvidia.com>2024-08-30 09:26:22 +0200
committerGitHub <noreply@github.com>2024-08-30 09:26:22 +0200
commit8ca6401fdd36c17a8d68a8fb06b7d43c2540a027 (patch)
tree0c87b32b41cc2dcd1cfd957e1954a4556045d559 /llvm/lib/Support/LockFileManager.cpp
parentd68059bcfd1cc27e378c43b1f16019c5baccb06d (diff)
downloadllvm-8ca6401fdd36c17a8d68a8fb06b7d43c2540a027.zip
llvm-8ca6401fdd36c17a8d68a8fb06b7d43c2540a027.tar.gz
llvm-8ca6401fdd36c17a8d68a8fb06b7d43c2540a027.tar.bz2
[flang][openacc] parse and ignore non-standard shortloop clause (#106564)
shortloop is a non standard OpenACC extension (https://docs.nvidia.com/hpc-sdk/pgi-compilers/2015/pgirn157.pdf) that can be found on loop directives. f18 parser was choking when seeing it. Since it can be found in existing apps and is mainly an optimization hint, parse it on loop directives and ignore it with a warning. For the records, here is shortloop meaning according to the manual linked above: "If the shortloop clause appears on a loop directive with the vector clause, it tells the compiler that the loop trip count is less than or equal to the number of vector lanes created for that loop. This means the value of the vector() clause on the loop directive in a kernels region, or the value of the vector_length() clause on the parallel directive in a parallel region will be greater than or equal to the loop trip count. This allows the compiler to generate more efficient code for the loop"
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions