update_mir_test_checks: Accept "." in function names
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323573 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/update_mir_test_checks.py b/utils/update_mir_test_checks.py
index 068c418..0e3b36d 100755
--- a/utils/update_mir_test_checks.py
+++ b/utils/update_mir_test_checks.py
@@ -44,7 +44,7 @@
VREG_CLASS_RE = re.compile(r'^ *- *{ id: ([0-9]+), class: ([a-z0-9_]+)', re.M)
IR_FUNC_NAME_RE = re.compile(
- r'^\s*define\s+(?:internal\s+)?[^@]*@(?P<func>\w+)\s*\(')
+ r'^\s*define\s+(?:internal\s+)?[^@]*@(?P<func>[A-Za-z0-9_.]+)\s*\(')
IR_PREFIX_DATA_RE = re.compile(r'^ *(;|$)')
MIR_FUNC_RE = re.compile(