forked from OSchip/llvm-project
Fix `update_test_checks.py` bug that incorrectly truncates IR body.
Differential Revision: https://reviews.llvm.org/D26619 llvm-svn: 290529
This commit is contained in:
parent
cb22b89f3f
commit
c6b46d80c8
|
@ -64,7 +64,7 @@ LLC_FUNCTION_RE = re.compile(
|
|||
flags=(re.M | re.S))
|
||||
OPT_FUNCTION_RE = re.compile(
|
||||
r'^\s*define\s+(?:internal\s+)?[^@]*@(?P<func>[\w-]+?)\s*\('
|
||||
r'(\s+)?[^{]*\{\n(?P<body>.*?)\}',
|
||||
r'(\s+)?[^{]*\{\n(?P<body>.*?)^\}$',
|
||||
flags=(re.M | re.S))
|
||||
CHECK_PREFIX_RE = re.compile('--check-prefix=(\S+)')
|
||||
CHECK_RE = re.compile(r'^\s*;\s*([^:]+?)(?:-NEXT|-NOT|-DAG|-LABEL)?:')
|
||||
|
|
Loading…
Reference in New Issue