llvm.org GIT mirror llvm / 3dfd21e
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345363 91177308-0d34-0410-b5e6-96231b3b80d8 Nemanja Ivanovic 2 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
5252 ASM_FUNCTION_PPC_RE = re.compile(
5353 r'^_?(?P[^:]+):[ \t]*#+[ \t]*@(?P=func)\n'
54 r'.*?'
5455 r'\.Lfunc_begin[0-9]+:\n'
5556 r'(?:[ \t]+.cfi_startproc\n)?'
5657 r'(?:\.Lfunc_[gl]ep[0-9]+:\n(?:[ \t]+.*?\n)*)*'