[all-commits] [llvm/llvm-project] a825f3: [CUDA] Relax restrictions on GPU-side variadic fun...
Artem Belevich via All-commits
all-commits at lists.llvm.org
Wed May 17 12:51:27 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a825f3754b3ca1591068cf99bc224af30a311e63
https://github.com/llvm/llvm-project/commit/a825f3754b3ca1591068cf99bc224af30a311e63
Author: Artem Belevich <tra at google.com>
Date: 2023-05-17 (Wed, 17 May 2023)
Changed paths:
M clang/lib/Driver/ToolChains/Cuda.cpp
Log Message:
-----------
[CUDA] Relax restrictions on GPU-side variadic functions
Allow parsing GPU-side variadic functions when we're compiling with CUDA-9 or
newer. We still do not allow accessing variadic arguments.
CUDA-9 was the version which introduced PTX-6.0 which allows implementing
variadic functions, so older versions can't have variadics in principle.
This is required for dealing with headers in recent CUDA versions that rely on
variadic function declarations in some of the templated code in libcu++.
E.g. https://github.com/llvm/llvm-project/issues/58410
Differential Revision: https://reviews.llvm.org/D150718
More information about the All-commits
mailing list