Skip to content

Commit f82dadf

Browse files
Add targets to tests that call addLTOOptions
Tests that do not call addLTOOptions were removed.
1 parent c342eea commit f82dadf

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

clang/test/Driver/fveclib.c

+2-8
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,10 @@
3535

3636
/* Verify that the correct vector library is passed to LTO flags. */
3737

38-
// RUN: %clang -### -fveclib=Accelerate -flto %s -v 2>&1 | FileCheck -check-prefix CHECK-LTO-ACCELERATE %s
39-
// CHECK-LTO-ACCELERATE: "-plugin-opt=-vector-library=Accelerate"
40-
41-
// RUN: %clang -### --target=x86_64-unknown-linux-gnu -fveclib=LIBMVEC -flto %s -v 2>&1 | FileCheck -check-prefix CHECK-LTO-LIBMVEC %s
38+
// RUN: %clang -### --target=x86_64-unknown-linux-gnu -fveclib=LIBMVEC -flto %s -v 2>&1 | FileCheck -check-prefix CHECK-LTO-LIBMVEC %s
4239
// CHECK-LTO-LIBMVEC: "-plugin-opt=-vector-library=LIBMVEC-X86"
4340

44-
// RUN: %clang -### -fveclib=MASSV -flto %s -v 2>&1 | FileCheck -check-prefix CHECK-LTO-MASSV %s
41+
// RUN: %clang -### --target=powerpc64-unknown-linux-gnu -fveclib=MASSV -flto %s -v 2>&1 | FileCheck -check-prefix CHECK-LTO-MASSV %s
4542
// CHECK-LTO-MASSV: "-plugin-opt=-vector-library=MASSV"
4643

4744
// RUN: %clang -### --target=x86_64-unknown-linux-gnu -fveclib=SVML -flto %s -v 2>&1 | FileCheck -check-prefix CHECK-LTO-SVML %s
@@ -50,8 +47,5 @@
5047
// RUN: %clang -### --target=aarch64-linux-gnu -fveclib=SLEEF -flto %s -v 2>&1 | FileCheck -check-prefix CHECK-LTO-SLEEF %s
5148
// CHECK-LTO-SLEEF: "-plugin-opt=-vector-library=sleefgnuabi"
5249

53-
// RUN: %clang -### -fveclib=Darwin_libsystem_m -flto %s -v 2>&1 | FileCheck -check-prefix CHECK-LTO-DARWIN %s
54-
// CHECK-LTO-DARWIN: "-plugin-opt=-vector-library=Darwin_libsystem_m"
55-
5650
// RUN: %clang -### --target=aarch64-linux-gnu -fveclib=ArmPL -flto %s -v 2>&1 | FileCheck -check-prefix CHECK-LTO-ARMPL %s
5751
// CHECK-LTO-ARMPL: "-plugin-opt=-vector-library=ArmPL"

0 commit comments

Comments
 (0)