summaryrefslogtreecommitdiffstats
path: root/llvm/utils/update_test_checks.py
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2017-01-15 07:40:46 +0000
committerDaniel Berlin <dberlin@dberlin.org>2017-01-15 07:40:46 +0000
commitb18135f2b3bdcd199e0a3240637a77faf108a497 (patch)
tree23fe66bee3db9c74efd9a5d1d971b068cbe2c406 /llvm/utils/update_test_checks.py
parent021cb2b6fc7f04413056d3d70c10bc5c7ece8a4b (diff)
downloadbcm5719-llvm-b18135f2b3bdcd199e0a3240637a77faf108a497.tar.gz
bcm5719-llvm-b18135f2b3bdcd199e0a3240637a77faf108a497.zip
Update update_test_checks so that . is a valid identifier character in addition to _
llvm-svn: 292056
Diffstat (limited to 'llvm/utils/update_test_checks.py')
-rwxr-xr-xllvm/utils/update_test_checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/update_test_checks.py b/llvm/utils/update_test_checks.py
index 7d319599912..cace9023106 100755
--- a/llvm/utils/update_test_checks.py
+++ b/llvm/utils/update_test_checks.py
@@ -70,7 +70,7 @@ CHECK_PREFIX_RE = re.compile('--?check-prefix(?:es)?=(\S+)')
CHECK_RE = re.compile(r'^\s*;\s*([^:]+?)(?:-NEXT|-NOT|-DAG|-LABEL)?:')
# Match things that look at identifiers, but only if they are followed by
# spaces, commas, paren, or end of the string
-IR_VALUE_RE = re.compile(r'(\s+)%(\w+?)([,\s\(\)]|\Z)')
+IR_VALUE_RE = re.compile(r'(\s+)%([\w\.]+?)([,\s\(\)]|\Z)')
# Invoke the tool that is being tested.
OpenPOWER on IntegriCloud