mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 04:09:45 +00:00
Fix update_test_checks.py
bug that incorrectly truncates IR body.
Differential Revision: https://reviews.llvm.org/D26619 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290529 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1e976309c1
commit
efdef29733
@ -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
Block a user