diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2017-01-15 07:40:46 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2017-01-15 07:40:46 +0000 |
commit | b18135f2b3bdcd199e0a3240637a77faf108a497 (patch) | |
tree | 23fe66bee3db9c74efd9a5d1d971b068cbe2c406 /llvm/utils/update_test_checks.py | |
parent | 021cb2b6fc7f04413056d3d70c10bc5c7ece8a4b (diff) | |
download | bcm5719-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-x | llvm/utils/update_test_checks.py | 2 |
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. |