projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84f80b1
)
[UpdateTestChecks] Add support for '.' in ir function names
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Wed, 19 Feb 2020 18:44:28 +0000
(18:44 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Wed, 19 Feb 2020 18:58:44 +0000
(18:58 +0000)
Will let us regenerate from amdgpu float constant tests
llvm/utils/UpdateTestChecks/common.py
patch
|
blob
|
history
diff --git
a/llvm/utils/UpdateTestChecks/common.py
b/llvm/utils/UpdateTestChecks/common.py
index
f3a87a0
..
9dc42d4
100644
(file)
--- a/
llvm/utils/UpdateTestChecks/common.py
+++ b/
llvm/utils/UpdateTestChecks/common.py
@@
-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[= ]([^ ]+)')