Skip to content

Commit 0626823

Browse files
Remove Neon header from scalar tests
1 parent caba259 commit 0626823

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

clang/test/CodeGen/AArch64/debug-types.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +neon -target-feature +fp8 \
1+
// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature -fp8 \
22
// RUN: -emit-llvm -o - %s -debug-info-kind=limited 2>&1 | FileCheck %s
33

44
// REQUIRES: aarch64-registered-target
55

6-
#include<arm_neon.h>
7-
86
void test_locals(void) {
97
// CHECK-DAG: !DIDerivedType(tag: DW_TAG_typedef, name: "__mfp8", {{.*}}, baseType: ![[ELTTYU8:[0-9]+]]
108
// CHECK-DAG: ![[ELTTYU8]] = !DIBasicType(name: "__mfp8", size: 8, encoding: DW_ATE_unsigned_char)

clang/test/Sema/arm-mfp8.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// RUN: %clang_cc1 -fsyntax-only -verify -triple aarch64-arm-none-eabi -target-feature -fp8 %s
22

33
// REQUIRES: aarch64-registered-target
4-
#include<arm_neon.h>
54
__mfp8 test_cast_from_float(unsigned in) {
65
return (__mfp8)in; // expected-error {{used type '__mfp8' where arithmetic or pointer type is required}}
76
}

0 commit comments

Comments
 (0)