diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2018-10-26 03:30:28 +0000 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2018-10-26 03:30:28 +0000 |
commit | fce57f586d0e4bf066085d653e6593c1e9bb1a84 (patch) | |
tree | 0b899f349d09cbb8ed639b0dc236501e5b417d6d /llvm/utils/UpdateTestChecks/asm.py | |
parent | 7c7e531f973e59b7db03476271c955bf9130df09 (diff) | |
download | bcm5719-llvm-fce57f586d0e4bf066085d653e6593c1e9bb1a84.tar.gz bcm5719-llvm-fce57f586d0e4bf066085d653e6593c1e9bb1a84.zip |
[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
Diffstat (limited to 'llvm/utils/UpdateTestChecks/asm.py')
-rw-r--r-- | llvm/utils/UpdateTestChecks/asm.py | 1 |
1 files changed, 1 insertions, 0 deletions
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<func>[^:]+):[ \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)*)*' |