]> granicus.if.org Git - llvm/commitdiff
[utils] allow auto-generation of checks for thumb triples
authorSanjay Patel <spatel@rotateright.com>
Fri, 24 Feb 2017 21:47:44 +0000 (21:47 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 24 Feb 2017 21:47:44 +0000 (21:47 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296181 91177308-0d34-0410-b5e6-96231b3b80d8

utils/update_llc_test_checks.py

index 0962dae47c68820aa3d252d594f7afef39903d4f..e973d517c44a540ee786fa2b865768affee4d733 100755 (executable)
@@ -121,6 +121,8 @@ def build_function_body_dictionary(raw_tool_output, triple, prefixes, func_dict,
       '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),
   }