|
1 | 1 | // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5 |
2 | | -// RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon -target-feature +v9.6a -target-feature +f8f16mm -target-feature +f8f32mm -target-feature +fp8 \ |
| 2 | +// RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon -target-feature +v9.6a -target-feature +f8f16mm -target-feature +fp8 \ |
3 | 3 | // RUN: -disable-O0-optnone -emit-llvm -o - %s \ |
4 | 4 | // RUN: | opt -S -passes=mem2reg,sroa \ |
5 | 5 | // RUN: | FileCheck %s |
|
23 | 23 | float16x8_t test_vmmlaq_f16_mf8(float16x8_t p0, mfloat8x16_t p1, mfloat8x16_t p2, fpm_t p3) { |
24 | 24 | return vmmlaq_f16_mf8_fpm(p0, p1, p2, p3); |
25 | 25 | } |
26 | | - |
27 | | -// CHECK-LABEL: define dso_local <4 x float> @test_vmmlaq_f32_mf8( |
28 | | -// CHECK-SAME: <4 x float> noundef [[P0:%.*]], <16 x i8> [[P1:%.*]], <16 x i8> [[P2:%.*]], i64 noundef [[P3:%.*]]) #[[ATTR0]] { |
29 | | -// CHECK-NEXT: [[ENTRY:.*:]] |
30 | | -// CHECK-NEXT: call void @llvm.aarch64.set.fpmr(i64 [[P3]]) |
31 | | -// CHECK-NEXT: [[FMMLA_I:%.*]] = bitcast <16 x i8> [[P1]] to <4 x float> |
32 | | -// CHECK-NEXT: [[FMMLA1_I:%.*]] = bitcast <16 x i8> [[P2]] to <4 x float> |
33 | | -// CHECK-NEXT: [[FMMLA2_I:%.*]] = call <4 x float> @llvm.aarch64.neon.fmmla.v4f32.v4f32(<4 x float> [[P0]], <4 x float> [[FMMLA_I]], <4 x float> [[FMMLA1_I]]) |
34 | | -// CHECK-NEXT: ret <4 x float> [[FMMLA2_I]] |
35 | | -// |
36 | | -float32x4_t test_vmmlaq_f32_mf8(float32x4_t p0, mfloat8x16_t p1, mfloat8x16_t p2, fpm_t p3) { |
37 | | - return vmmlaq_f32_mf8_fpm(p0, p1, p2, p3); |
38 | | -} |
39 | | - |
0 commit comments