aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/UpdateTestChecks/asm.py
diff options
context:
space:
mode:
authorJon Roelofs <jonathan_roelofs@apple.com>2024-06-03 15:30:09 -0700
committerJon Roelofs <jonathan_roelofs@apple.com>2024-06-03 15:34:06 -0700
commit4ee950e75d40e335adb2d470b532d7375733f665 (patch)
treea61532ff6490380969cd6b4c1c7dd30cca799119 /llvm/utils/UpdateTestChecks/asm.py
parent0b4af3a5f4de61552000e4a864f63f2002cc525b (diff)
downloadllvm-4ee950e75d40e335adb2d470b532d7375733f665.zip
llvm-4ee950e75d40e335adb2d470b532d7375733f665.tar.gz
llvm-4ee950e75d40e335adb2d470b532d7375733f665.tar.bz2
update_test_checks: support more arm64_32-apple-watchos triples
Having the version in `get_run_handlers` meant that a RUN line without the version in it would not match, and therefore UTC would generate a useless catch-all check of the form: ``` ;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line: ; CHECK: {{.*}} ``` This patch also adds `arm64_32` as a base-level run handler, and assumes it will always apply to a darwin target (which is currently the case for all arm64_32-* triples I see in tree currently).
Diffstat (limited to 'llvm/utils/UpdateTestChecks/asm.py')
-rw-r--r--llvm/utils/UpdateTestChecks/asm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/UpdateTestChecks/asm.py b/llvm/utils/UpdateTestChecks/asm.py
index cce00e4..4dc50d9 100644
--- a/llvm/utils/UpdateTestChecks/asm.py
+++ b/llvm/utils/UpdateTestChecks/asm.py
@@ -534,8 +534,9 @@ def get_run_handler(triple):
"i686": (scrub_asm_x86, ASM_FUNCTION_X86_RE),
"x86": (scrub_asm_x86, ASM_FUNCTION_X86_RE),
"i386": (scrub_asm_x86, ASM_FUNCTION_X86_RE),
+ "arm64_32": (scrub_asm_arm_eabi, ASM_FUNCTION_AARCH64_DARWIN_RE),
"arm64_32-apple-ios": (scrub_asm_arm_eabi, ASM_FUNCTION_AARCH64_DARWIN_RE),
- "arm64_32-apple-watchos2.0.0": (
+ "arm64_32-apple-watchos": (
scrub_asm_arm_eabi,
ASM_FUNCTION_AARCH64_DARWIN_RE,
),