From: Jinsong Ji Date: Wed, 26 Jun 2019 20:35:19 +0000 (+0000) Subject: [UpdateTestChecks][NFC] Remove entries with same prefix X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d8d121460c37650c9db4c92e5e9f47cd902f522;p=llvm [UpdateTestChecks][NFC] Remove entries with same prefix Matching is 'lossy', triples with same prefix can be dropped. Differential Revision: https://reviews.llvm.org/D63732 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364471 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/UpdateTestChecks/asm.py b/utils/UpdateTestChecks/asm.py index ce6cbc48a15..5cb4feaecdd 100644 --- a/utils/UpdateTestChecks/asm.py +++ b/utils/UpdateTestChecks/asm.py @@ -289,7 +289,6 @@ def get_triple_from_march(march): def build_function_body_dictionary_for_triple(args, raw_tool_output, triple, prefixes, func_dict): target_handlers = { - 'x86_64': (scrub_asm_x86, ASM_FUNCTION_X86_RE), 'i686': (scrub_asm_x86, ASM_FUNCTION_X86_RE), 'x86': (scrub_asm_x86, ASM_FUNCTION_X86_RE), 'i386': (scrub_asm_x86, ASM_FUNCTION_X86_RE), @@ -313,7 +312,6 @@ def build_function_body_dictionary_for_triple(args, raw_tool_output, triple, pre 'riscv64': (scrub_asm_riscv, ASM_FUNCTION_RISCV_RE), 'lanai': (scrub_asm_lanai, ASM_FUNCTION_LANAI_RE), 'sparc': (scrub_asm_sparc, ASM_FUNCTION_SPARC_RE), - 'sparcv9': (scrub_asm_sparc, ASM_FUNCTION_SPARC_RE), 's390x': (scrub_asm_systemz, ASM_FUNCTION_SYSTEMZ_RE), 'wasm32': (scrub_asm_wasm32, ASM_FUNCTION_WASM32_RE), }