summaryrefslogtreecommitdiffstats
path: root/llvm/utils/update_llc_test_checks.py
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-01-17 18:48:50 +0000
committerFangrui Song <maskray@google.com>2018-01-17 18:48:50 +0000
commitc4526fc5af436143ec555c7f801b0c9ef750b0b3 (patch)
tree56dac2d7c511ce5746ff24ae8530ed9a5e3e0b6e /llvm/utils/update_llc_test_checks.py
parent279ace187a7011aa727995c822313c5612532f6b (diff)
downloadbcm5719-llvm-c4526fc5af436143ec555c7f801b0c9ef750b0b3.tar.gz
bcm5719-llvm-c4526fc5af436143ec555c7f801b0c9ef750b0b3.zip
[utils] Make .cfi_startproc optional for powerpc
Summary: llc sometimes may not emit .cfi_startproc which makes func_dict to have less entries. Subscribers: nemanjai, llvm-commits Differential Revision: https://reviews.llvm.org/D42144 llvm-svn: 322725
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 57d6e578259..7ea0431f146 100755
--- a/llvm/utils/update_llc_test_checks.py
+++ b/llvm/utils/update_llc_test_checks.py
@@ -59,7 +59,7 @@ ASM_FUNCTION_MIPS_RE = re.compile(
ASM_FUNCTION_PPC_RE = re.compile(
r'^_?(?P<func>[^:]+):[ \t]*#+[ \t]*@(?P=func)\n'
r'\.Lfunc_begin[0-9]+:\n'
- r'[ \t]+.cfi_startproc\n'
+ r'(?:[ \t]+.cfi_startproc\n)?'
r'(?:\.Lfunc_[gl]ep[0-9]+:\n(?:[ \t]+.*?\n)*)*'
r'(?P<body>.*?)\n'
# This list is incomplete
OpenPOWER on IntegriCloud