[llvm] r296181 - [utils] allow auto-generation of checks for thumb triples

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 24 13:47:44 PST 2017


Author: spatel
Date: Fri Feb 24 15:47:44 2017
New Revision: 296181

URL: http://llvm.org/viewvc/llvm-project?rev=296181&view=rev
Log:
[utils] allow auto-generation of checks for thumb triples

If there's some reason not to do this, feel free to revert and/or fix, but
for the cases I'm looking at, the script appears to do fine for these targets.

Modified:
    llvm/trunk/utils/update_llc_test_checks.py

Modified: llvm/trunk/utils/update_llc_test_checks.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/update_llc_test_checks.py?rev=296181&r1=296180&r2=296181&view=diff
==============================================================================
--- llvm/trunk/utils/update_llc_test_checks.py (original)
+++ llvm/trunk/utils/update_llc_test_checks.py Fri Feb 24 15:47:44 2017
@@ -121,6 +121,8 @@ def build_function_body_dictionary(raw_t
       'x86': (scrub_asm_x86, ASM_FUNCTION_X86_RE),
       'i386': (scrub_asm_x86, ASM_FUNCTION_X86_RE),
       'arm-eabi': (scrub_asm_arm_eabi, ASM_FUNCTION_ARM_RE),
+      'thumb-eabi': (scrub_asm_arm_eabi, ASM_FUNCTION_ARM_RE),
+      'thumbv8-eabi': (scrub_asm_arm_eabi, ASM_FUNCTION_ARM_RE),
       'armeb-eabi': (scrub_asm_arm_eabi, ASM_FUNCTION_ARM_RE),
       'powerpc64le': (scrub_asm_powerpc64le, ASM_FUNCTION_PPC_RE),
   }




More information about the llvm-commits mailing list