[llvm] [UTC] Update AMDGPU asm regexp for private functions (PR #166169)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 3 06:25:38 PST 2025


================
@@ -51,9 +51,9 @@ class string:
 )
 
 ASM_FUNCTION_AMDGPU_RE = re.compile(
-    r"\.type\s+_?(?P<func>[^,\n]+), at function\n"
+    r"\.type\s+(_|\.L)?(?P<func>[^,\n]+), at function\n"
----------------
jayfoad wrote:

I am not sure if we need to match an underscore `_` prefix. Do we ever generate that?

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


More information about the llvm-commits mailing list