File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 35
35
36
36
/* Verify that the correct vector library is passed to LTO flags. */
37
37
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
42
39
// CHECK-LTO-LIBMVEC: "-plugin-opt=-vector-library=LIBMVEC-X86"
43
40
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
45
42
// CHECK-LTO-MASSV: "-plugin-opt=-vector-library=MASSV"
46
43
47
44
// RUN: %clang -### --target=x86_64-unknown-linux-gnu -fveclib=SVML -flto %s -v 2>&1 | FileCheck -check-prefix CHECK-LTO-SVML %s
50
47
// RUN: %clang -### --target=aarch64-linux-gnu -fveclib=SLEEF -flto %s -v 2>&1 | FileCheck -check-prefix CHECK-LTO-SLEEF %s
51
48
// CHECK-LTO-SLEEF: "-plugin-opt=-vector-library=sleefgnuabi"
52
49
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
-
56
50
// RUN: %clang -### --target=aarch64-linux-gnu -fveclib=ArmPL -flto %s -v 2>&1 | FileCheck -check-prefix CHECK-LTO-ARMPL %s
57
51
// CHECK-LTO-ARMPL: "-plugin-opt=-vector-library=ArmPL"
You can’t perform that action at this time.
0 commit comments