Skip to content

Commit 5db11e3

Browse files
committed
update_mir_test_checks: Accept "." in function names
llvm-svn: 323573
1 parent 8a444ee commit 5db11e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/update_mir_test_checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
VREG_CLASS_RE = re.compile(r'^ *- *{ id: ([0-9]+), class: ([a-z0-9_]+)', re.M)
4545

4646
IR_FUNC_NAME_RE = re.compile(
47-
r'^\s*define\s+(?:internal\s+)?[^@]*@(?P<func>\w+)\s*\(')
47+
r'^\s*define\s+(?:internal\s+)?[^@]*@(?P<func>[A-Za-z0-9_.]+)\s*\(')
4848
IR_PREFIX_DATA_RE = re.compile(r'^ *(;|$)')
4949

5050
MIR_FUNC_RE = re.compile(

0 commit comments

Comments
 (0)