[clang] [llvm] [NVPTX] Fix for device function pointer having the same name as generated callprototype (PR #205639)

Alex MacLean via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 10 08:48:45 PDT 2026


================
@@ -4,7 +4,8 @@
 target triple = "nvptx"
 
 define void @foo(ptr %ptr) {
-; CHECK: prototype_0 : .callprototype ()_ ()
+; CHECK: $L__prototype_0:
+; CHECK-NEXT: ()_ ()
----------------
AlexMaclean wrote:

Nit: keep `.callprototype`?

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


More information about the cfe-commits mailing list