[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 07:15:47 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 don't think so (based on regenerating all tests in `test/CodeGen/AMDGPU/`, then removing the underscore handling here, then regenerating them all a second time).

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


More information about the llvm-commits mailing list