[UpdateTestChecks] Add support for '.' in ir function names

Will let us regenerate from amdgpu float constant tests
This commit is contained in:
Simon Pilgrim 2020-02-19 18:44:28 +00:00
parent 84f80b1faa
commit 59982a6d8f
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ ANALYZE_FUNCTION_RE = re.compile(
r'\s*\n(?P<body>.*)$',
flags=(re.X | re.S))
IR_FUNCTION_RE = re.compile(r'^\s*define\s+(?:internal\s+)?[^@]*@(\w+)\s*\(')
IR_FUNCTION_RE = re.compile(r'^\s*define\s+(?:internal\s+)?[^@]*@([\w.]+)\s*\(')
TRIPLE_IR_RE = re.compile(r'^\s*target\s+triple\s*=\s*"([^"]+)"$')
TRIPLE_ARG_RE = re.compile(r'-mtriple[= ]([^ ]+)')
MARCH_ARG_RE = re.compile(r'-march[= ]([^ ]+)')