Update update_test_checks so that . is a valid identifier character in addition to _
llvm-svn: 292056
This commit is contained in:
parent
021cb2b6fc
commit
b18135f2b3
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue