From: Daniel Berlin Date: Sun, 15 Jan 2017 07:40:46 +0000 (+0000) Subject: Update update_test_checks so that . is a valid identifier character in addition to _ X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd42d0623a4038d71320820d13e5e116faa1a590;p=llvm Update update_test_checks so that . is a valid identifier character in addition to _ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292056 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/update_test_checks.py b/utils/update_test_checks.py index 7d319599912..cace9023106 100755 --- a/utils/update_test_checks.py +++ b/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.