From fce57f586d0e4bf066085d653e6593c1e9bb1a84 Mon Sep 17 00:00:00 2001 From: Nemanja Ivanovic Date: Fri, 26 Oct 2018 03:30:28 +0000 Subject: [NFC] Fix the regular expression for BE PPC in update_llc_test_checks.py Currently, the regular expression that matches the lines of assembly for PPC LE (ELFv2) does not work for the assembly for BE (ELFv1). This patch fixes it. Differential revision: https://reviews.llvm.org/D53059 llvm-svn: 345363 --- llvm/utils/UpdateTestChecks/asm.py | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/utils/UpdateTestChecks') diff --git a/llvm/utils/UpdateTestChecks/asm.py b/llvm/utils/UpdateTestChecks/asm.py index 726a653d151..923efd5bbef 100644 --- a/llvm/utils/UpdateTestChecks/asm.py +++ b/llvm/utils/UpdateTestChecks/asm.py @@ -52,6 +52,7 @@ ASM_FUNCTION_MIPS_RE = re.compile( ASM_FUNCTION_PPC_RE = re.compile( r'^_?(?P[^:]+):[ \t]*#+[ \t]*@(?P=func)\n' + r'.*?' r'\.Lfunc_begin[0-9]+:\n' r'(?:[ \t]+.cfi_startproc\n)?' r'(?:\.Lfunc_[gl]ep[0-9]+:\n(?:[ \t]+.*?\n)*)*' -- cgit v1.2.3