|
1 | 1 | ; RUN: opt -mtriple=x86_64-unknown-linux-gnu -vector-library=SVML -passes=inject-tli-mappings -S < %s | FileCheck %s --check-prefixes=COMMON,SVML |
2 | 2 | ; RUN: opt -mtriple=x86_64-unknown-linux-gnu -vector-library=AMDLIBM -passes=inject-tli-mappings -S < %s | FileCheck %s --check-prefixes=COMMON,AMDLIBM |
3 | 3 | ; RUN: opt -mtriple=powerpc64-unknown-linux-gnu -vector-library=MASSV -passes=inject-tli-mappings -S < %s | FileCheck %s --check-prefixes=COMMON,MASSV |
4 | | -; RUN: opt -mtriple=x86_64-unknown-linux-gnu -vector-library=LIBMVEC-X86 -passes=inject-tli-mappings -S < %s | FileCheck %s --check-prefixes=COMMON,LIBMVEC-X86 |
| 4 | +; RUN: opt -mtriple=aarch64-unknown-linux-gnu -vector-library=LIBMVEC -passes=inject-tli-mappings -S < %s | FileCheck %s --check-prefixes=LIBMVEC-AARCH64 |
| 5 | +; RUN: opt -mtriple=x86_64-unknown-linux-gnu -vector-library=LIBMVEC -passes=inject-tli-mappings -S < %s | FileCheck %s --check-prefixes=COMMON,LIBMVEC-X86 |
5 | 6 | ; RUN: opt -mtriple=x86_64-unknown-linux-gnu -vector-library=Accelerate -passes=inject-tli-mappings -S < %s | FileCheck %s --check-prefixes=COMMON,ACCELERATE |
6 | 7 | ; RUN: opt -mtriple=aarch64-unknown-linux-gnu -vector-library=sleefgnuabi -passes=inject-tli-mappings -S < %s | FileCheck %s --check-prefixes=COMMON,SLEEFGNUABI |
7 | 8 | ; RUN: opt -mtriple=riscv64-unknown-linux-gnu -vector-library=sleefgnuabi -passes=inject-tli-mappings -S < %s | FileCheck %s --check-prefixes=COMMON,SLEEFGNUABI_RISCV |
8 | 9 | ; RUN: opt -mtriple=aarch64-unknown-linux-gnu -vector-library=ArmPL -passes=inject-tli-mappings -S < %s | FileCheck %s --check-prefixes=COMMON,ARMPL |
9 | 10 |
|
| 11 | +; LIBMVEC-AARCH64-NOT: llvm.compiler.used |
| 12 | + |
10 | 13 | ; COMMON-LABEL: @llvm.compiler.used = appending global |
11 | 14 | ; SVML-SAME: [6 x ptr] [ |
12 | 15 | ; SVML-SAME: ptr @__svml_sin2, |
@@ -193,6 +196,9 @@ declare float @llvm.log10.f32(float) #0 |
193 | 196 | ; MASSV: declare <2 x double> @__sind2(<2 x double>) |
194 | 197 | ; MASSV: declare <4 x float> @__log10f4(<4 x float>) |
195 | 198 |
|
| 199 | +; LIBMVEC-AARCH64-NOT: declare <2 x double> @_ZGVbN2v_sin(<2 x double>) |
| 200 | +; LIBMVEC-AARCH64-NOT: declare <4 x double> @_ZGVdN4v_sin(<4 x double>) |
| 201 | + |
196 | 202 | ; LIBMVEC-X86: declare <2 x double> @_ZGVbN2v_sin(<2 x double>) |
197 | 203 | ; LIBMVEC-X86: declare <4 x double> @_ZGVdN4v_sin(<4 x double>) |
198 | 204 |
|
|
0 commit comments