[llvm] r322725 - [utils] Make .cfi_startproc optional for powerpc

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 10:48:50 PST 2018


Author: maskray
Date: Wed Jan 17 10:48:50 2018
New Revision: 322725

URL: http://llvm.org/viewvc/llvm-project?rev=322725&view=rev
Log:
[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

Modified:
    llvm/trunk/utils/update_llc_test_checks.py

Modified: llvm/trunk/utils/update_llc_test_checks.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/update_llc_test_checks.py?rev=322725&r1=322724&r2=322725&view=diff
==============================================================================
--- llvm/trunk/utils/update_llc_test_checks.py (original)
+++ llvm/trunk/utils/update_llc_test_checks.py Wed Jan 17 10:48:50 2018
@@ -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




More information about the llvm-commits mailing list