[clang] [clang-tools-extra] [CudaSPIRV] Allow using integral non-type template parameters as attribute args (PR #131546)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 18 05:57:01 PDT 2025


================
@@ -0,0 +1,34 @@
+// RUN: %clang_cc1 -triple spirv64 -aux-triple x86_64-unknown-linux-gnu \
+// RUN:   -fcuda-is-device -verify -fsyntax-only %s
+
----------------
yxsamliu wrote:

need tests for non-contstant int variable, zero, negative integer 

https://github.com/llvm/llvm-project/pull/131546


More information about the cfe-commits mailing list