[clang] [llvm] [AMDGPU] Fix out-of-bounds read of a trailing '%' in printf formats (PR #229088)

Steffen Larsen via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 5 23:54:40 PDT 2026


================
@@ -0,0 +1,30 @@
+// REQUIRES: amdgpu-registered-target
+// RUN: %clang_cc1 -triple amdgpu-amd-amdhsa -emit-llvm -fcuda-is-device \
----------------
steffenlarsen wrote:

Test case was moved to clang/test/CodeGenHIP/printf-builtin.hip, but that used the same triple, so I updated the triple in there.

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


More information about the cfe-commits mailing list