[clang] [Clang] Disable exceptions by default for GPU targets (PR #205402)

Nick Sarnie via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 23 11:53:05 PDT 2026


================
@@ -0,0 +1,24 @@
+// RUN: %clang -### --target=amdgcn-amd-amdhsa -mcpu=gfx90a -nogpulib %s 2>&1 \
+// RUN:   | FileCheck %s --check-prefix=NOEXC
+// RUN: %clang -### --target=nvptx64-nvidia-cuda -march=sm_80 -nogpulib %s 2>&1 \
----------------
sarnex wrote:

can you add a test for `spirv64`?

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


More information about the cfe-commits mailing list