1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

Update update_test_checks so that . is a valid identifier character in addition to _

llvm-svn: 292056
This commit is contained in:
Daniel Berlin 2017-01-15 07:40:46 +00:00
parent 4a16700b79
commit c9da1a4a3b

View File

@ -70,7 +70,7 @@ CHECK_PREFIX_RE = re.compile('--?check-prefix(?:es)?=(\S+)')
CHECK_RE = re.compile(r'^\s*;\s*([^:]+?)(?:-NEXT|-NOT|-DAG|-LABEL)?:') CHECK_RE = re.compile(r'^\s*;\s*([^:]+?)(?:-NEXT|-NOT|-DAG|-LABEL)?:')
# Match things that look at identifiers, but only if they are followed by # Match things that look at identifiers, but only if they are followed by
# spaces, commas, paren, or end of the string # 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. # Invoke the tool that is being tested.