summaryrefslogtreecommitdiffstats
path: root/llvm/utils/update_llc_test_checks.py
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-02-15 00:08:01 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-02-15 00:08:01 +0000
commit0613751dcb3f77730567146d4364785a7e5c06a9 (patch)
tree2f76c7cc914d8d9569caf05c6381d3d630b923aa /llvm/utils/update_llc_test_checks.py
parent31457d54f7dd7326243c0967f43fd78268abd6b1 (diff)
downloadbcm5719-llvm-0613751dcb3f77730567146d4364785a7e5c06a9.tar.gz
bcm5719-llvm-0613751dcb3f77730567146d4364785a7e5c06a9.zip
[x86] Teach my test updating script about another quirk of the printed
asm and port the mmx vector shuffle test to it. Not thrilled with how it handles the stack manipulation logic, but I'm much less bothered by that than I am by updating the test manually. =] If anyone wants to teach the test checks management script about stack adjustment patterns, that'd be cool too. llvm-svn: 229268
Diffstat (limited to 'llvm/utils/update_llc_test_checks.py')
-rwxr-xr-xllvm/utils/update_llc_test_checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/update_llc_test_checks.py b/llvm/utils/update_llc_test_checks.py
index cb1ae09dedb..df01d8973c4 100755
--- a/llvm/utils/update_llc_test_checks.py
+++ b/llvm/utils/update_llc_test_checks.py
@@ -69,7 +69,7 @@ def main():
asm_function_re = re.compile(
r'^_?(?P<f>[^:]+):[ \t]*#+[ \t]*@(?P=f)\n[^:]*?'
r'(?P<body>^##?[ \t]+[^:]+:.*?)\s*'
- r'^\s*(?:[^:\n]+?:\s*\n\s*\.size|\.cfi_endproc|\.globl|\.(?:sub)?section)',
+ r'^\s*(?:[^:\n]+?:\s*\n\s*\.size|\.cfi_endproc|\.globl|\.comm|\.(?:sub)?section)',
flags=(re.M | re.S))
check_prefix_re = re.compile('--check-prefix=(\S+)')
check_re = re.compile(r'^\s*;\s*([^:]+?)(?:-NEXT|-NOT|-DAG|-LABEL)?:')
OpenPOWER on IntegriCloud