diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2021-06-23 15:28:37 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2021-06-23 16:31:19 +0300 |
commit | 15be15073ef6eb2c4fd734917322909d405f16e2 (patch) | |
tree | 8d1c423cb2db8abbd3d38a4757a229d458c4cb1b /llvm/utils/UpdateTestChecks/asm.py | |
parent | 4de0c400317e5a92d57f2c76545061a9e7de22f8 (diff) | |
download | llvm-15be15073ef6eb2c4fd734917322909d405f16e2.zip llvm-15be15073ef6eb2c4fd734917322909d405f16e2.tar.gz llvm-15be15073ef6eb2c4fd734917322909d405f16e2.tar.bz2 |
[NFC][ARM] Fix update_llc_test_checks for thumbv7-apple-ios, autogenerate switch-minsize.ll
Diffstat (limited to 'llvm/utils/UpdateTestChecks/asm.py')
-rw-r--r-- | llvm/utils/UpdateTestChecks/asm.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/llvm/utils/UpdateTestChecks/asm.py b/llvm/utils/UpdateTestChecks/asm.py index 7a10417..8b1c281 100644 --- a/llvm/utils/UpdateTestChecks/asm.py +++ b/llvm/utils/UpdateTestChecks/asm.py @@ -147,14 +147,6 @@ ASM_FUNCTION_ARM_IOS_RE = re.compile( r'^[ \t]*@[ \t]--[ \t]End[ \t]function', flags=(re.M | re.S)) -ASM_FUNCTION_THUMB_IOS_RE = re.compile( - r'^_(?P<func>[^:]+):[ \t]*\n' - r'^Lfunc_begin(?P<id>[0-9][1-9]*):\n' - r'(?P<body>.*?)' - r'^Lfunc_end(?P=id):\n' - r'^[ \t]*@[ \t]--[ \t]End[ \t]function', - flags=(re.M | re.S)) - ASM_FUNCTION_WASM32_RE = re.compile( r'^_?(?P<func>[^:]+):[ \t]*#+[ \t]*@"?(?P=func)"?\n' r'(?P<body>.*?)\n' @@ -382,7 +374,7 @@ def get_run_handler(triple): 'thumb': (scrub_asm_arm_eabi, ASM_FUNCTION_ARM_RE), 'thumb-macho': (scrub_asm_arm_eabi, ASM_FUNCTION_ARM_MACHO_RE), 'thumbv5-macho': (scrub_asm_arm_eabi, ASM_FUNCTION_ARM_MACHO_RE), - 'thumbv7-apple-ios' : (scrub_asm_arm_eabi, ASM_FUNCTION_THUMB_IOS_RE), + 'thumbv7-apple-ios' : (scrub_asm_arm_eabi, ASM_FUNCTION_ARM_IOS_RE), 'm68k': (scrub_asm_m68k, ASM_FUNCTION_M68K_RE), 'mips': (scrub_asm_mips, ASM_FUNCTION_MIPS_RE), 'msp430': (scrub_asm_msp430, ASM_FUNCTION_MSP430_RE), |