forked from GPUOpen-Drivers/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged master:4f728bfc13c into amd-gfx:cad42751dee
Local branch amd-gfx cad4275 Revert "AMDGPU: Change boolean content type to 0 or 1" Remote branch master 4f728bf [lldb][NFC] Use raw_ostream instead of Stream in Baton::GetDescription
- Loading branch information
Showing
38 changed files
with
1,131 additions
and
417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py | ||
// RUN: %clang_cc1 -triple thumbv8.1m.main-arm-none-eabi -target-feature +mve.fp -mfloat-abi hard -fallow-half-arguments-and-returns -O3 -disable-O0-optnone -S -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s | ||
// RUN: %clang_cc1 -triple thumbv8.1m.main-arm-none-eabi -target-feature +mve.fp -mfloat-abi hard -fallow-half-arguments-and-returns -O3 -disable-O0-optnone -DPOLYMORPHIC -S -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s | ||
|
||
#include <arm_mve.h> | ||
|
||
// CHECK-LABEL: @test_vmaxnmq_f16( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = tail call <8 x half> @llvm.maxnum.v8f16(<8 x half> [[A:%.*]], <8 x half> [[B:%.*]]) | ||
// CHECK-NEXT: ret <8 x half> [[TMP0]] | ||
// | ||
float16x8_t test_vmaxnmq_f16(float16x8_t a, float16x8_t b) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vmaxnmq(a, b); | ||
#else /* POLYMORPHIC */ | ||
return vmaxnmq_f16(a, b); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vmaxnmq_f32( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = tail call <4 x float> @llvm.maxnum.v4f32(<4 x float> [[A:%.*]], <4 x float> [[B:%.*]]) | ||
// CHECK-NEXT: ret <4 x float> [[TMP0]] | ||
// | ||
float32x4_t test_vmaxnmq_f32(float32x4_t a, float32x4_t b) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vmaxnmq(a, b); | ||
#else /* POLYMORPHIC */ | ||
return vmaxnmq_f32(a, b); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vmaxnmq_m_f16( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = zext i16 [[P:%.*]] to i32 | ||
// CHECK-NEXT: [[TMP1:%.*]] = tail call <8 x i1> @llvm.arm.mve.pred.i2v.v8i1(i32 [[TMP0]]) | ||
// CHECK-NEXT: [[TMP2:%.*]] = tail call <8 x half> @llvm.arm.mve.max.predicated.v8f16.v8i1(<8 x half> [[A:%.*]], <8 x half> [[B:%.*]], <8 x i1> [[TMP1]], <8 x half> [[INACTIVE:%.*]]) | ||
// CHECK-NEXT: ret <8 x half> [[TMP2]] | ||
// | ||
float16x8_t test_vmaxnmq_m_f16(float16x8_t inactive, float16x8_t a, float16x8_t b, mve_pred16_t p) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vmaxnmq_m(inactive, a, b, p); | ||
#else /* POLYMORPHIC */ | ||
return vmaxnmq_m_f16(inactive, a, b, p); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vmaxnmq_m_f32( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = zext i16 [[P:%.*]] to i32 | ||
// CHECK-NEXT: [[TMP1:%.*]] = tail call <4 x i1> @llvm.arm.mve.pred.i2v.v4i1(i32 [[TMP0]]) | ||
// CHECK-NEXT: [[TMP2:%.*]] = tail call <4 x float> @llvm.arm.mve.max.predicated.v4f32.v4i1(<4 x float> [[A:%.*]], <4 x float> [[B:%.*]], <4 x i1> [[TMP1]], <4 x float> [[INACTIVE:%.*]]) | ||
// CHECK-NEXT: ret <4 x float> [[TMP2]] | ||
// | ||
float32x4_t test_vmaxnmq_m_f32(float32x4_t inactive, float32x4_t a, float32x4_t b, mve_pred16_t p) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vmaxnmq_m(inactive, a, b, p); | ||
#else /* POLYMORPHIC */ | ||
return vmaxnmq_m_f32(inactive, a, b, p); | ||
#endif /* POLYMORPHIC */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py | ||
// RUN: %clang_cc1 -triple thumbv8.1m.main-arm-none-eabi -target-feature +mve.fp -mfloat-abi hard -fallow-half-arguments-and-returns -O3 -disable-O0-optnone -S -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s | ||
// RUN: %clang_cc1 -triple thumbv8.1m.main-arm-none-eabi -target-feature +mve.fp -mfloat-abi hard -fallow-half-arguments-and-returns -O3 -disable-O0-optnone -DPOLYMORPHIC -S -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s | ||
|
||
#include <arm_mve.h> | ||
|
||
// CHECK-LABEL: @test_vmaxq_s8( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = icmp slt <16 x i8> [[A:%.*]], [[B:%.*]] | ||
// CHECK-NEXT: [[TMP1:%.*]] = select <16 x i1> [[TMP0]], <16 x i8> [[B]], <16 x i8> [[A]] | ||
// CHECK-NEXT: ret <16 x i8> [[TMP1]] | ||
// | ||
int8x16_t test_vmaxq_s8(int8x16_t a, int8x16_t b) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vmaxq(a, b); | ||
#else /* POLYMORPHIC */ | ||
return vmaxq_s8(a, b); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vmaxq_u16( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = icmp ult <8 x i16> [[A:%.*]], [[B:%.*]] | ||
// CHECK-NEXT: [[TMP1:%.*]] = select <8 x i1> [[TMP0]], <8 x i16> [[B]], <8 x i16> [[A]] | ||
// CHECK-NEXT: ret <8 x i16> [[TMP1]] | ||
// | ||
uint16x8_t test_vmaxq_u16(uint16x8_t a, uint16x8_t b) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vmaxq(a, b); | ||
#else /* POLYMORPHIC */ | ||
return vmaxq_u16(a, b); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vmaxq_s32( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = icmp slt <4 x i32> [[A:%.*]], [[B:%.*]] | ||
// CHECK-NEXT: [[TMP1:%.*]] = select <4 x i1> [[TMP0]], <4 x i32> [[B]], <4 x i32> [[A]] | ||
// CHECK-NEXT: ret <4 x i32> [[TMP1]] | ||
// | ||
int32x4_t test_vmaxq_s32(int32x4_t a, int32x4_t b) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vmaxq(a, b); | ||
#else /* POLYMORPHIC */ | ||
return vmaxq_s32(a, b); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vmaxq_m_u8( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = zext i16 [[P:%.*]] to i32 | ||
// CHECK-NEXT: [[TMP1:%.*]] = tail call <16 x i1> @llvm.arm.mve.pred.i2v.v16i1(i32 [[TMP0]]) | ||
// CHECK-NEXT: [[TMP2:%.*]] = tail call <16 x i8> @llvm.arm.mve.max.predicated.v16i8.v16i1(<16 x i8> [[A:%.*]], <16 x i8> [[B:%.*]], <16 x i1> [[TMP1]], <16 x i8> [[INACTIVE:%.*]]) | ||
// CHECK-NEXT: ret <16 x i8> [[TMP2]] | ||
// | ||
uint8x16_t test_vmaxq_m_u8(uint8x16_t inactive, uint8x16_t a, uint8x16_t b, mve_pred16_t p) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vmaxq_m(inactive, a, b, p); | ||
#else /* POLYMORPHIC */ | ||
return vmaxq_m_u8(inactive, a, b, p); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vmaxq_m_s16( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = zext i16 [[P:%.*]] to i32 | ||
// CHECK-NEXT: [[TMP1:%.*]] = tail call <8 x i1> @llvm.arm.mve.pred.i2v.v8i1(i32 [[TMP0]]) | ||
// CHECK-NEXT: [[TMP2:%.*]] = tail call <8 x i16> @llvm.arm.mve.max.predicated.v8i16.v8i1(<8 x i16> [[A:%.*]], <8 x i16> [[B:%.*]], <8 x i1> [[TMP1]], <8 x i16> [[INACTIVE:%.*]]) | ||
// CHECK-NEXT: ret <8 x i16> [[TMP2]] | ||
// | ||
int16x8_t test_vmaxq_m_s16(int16x8_t inactive, int16x8_t a, int16x8_t b, mve_pred16_t p) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vmaxq_m(inactive, a, b, p); | ||
#else /* POLYMORPHIC */ | ||
return vmaxq_m_s16(inactive, a, b, p); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vmaxq_m_u32( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = zext i16 [[P:%.*]] to i32 | ||
// CHECK-NEXT: [[TMP1:%.*]] = tail call <4 x i1> @llvm.arm.mve.pred.i2v.v4i1(i32 [[TMP0]]) | ||
// CHECK-NEXT: [[TMP2:%.*]] = tail call <4 x i32> @llvm.arm.mve.max.predicated.v4i32.v4i1(<4 x i32> [[A:%.*]], <4 x i32> [[B:%.*]], <4 x i1> [[TMP1]], <4 x i32> [[INACTIVE:%.*]]) | ||
// CHECK-NEXT: ret <4 x i32> [[TMP2]] | ||
// | ||
uint32x4_t test_vmaxq_m_u32(uint32x4_t inactive, uint32x4_t a, uint32x4_t b, mve_pred16_t p) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vmaxq_m(inactive, a, b, p); | ||
#else /* POLYMORPHIC */ | ||
return vmaxq_m_u32(inactive, a, b, p); | ||
#endif /* POLYMORPHIC */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py | ||
// RUN: %clang_cc1 -triple thumbv8.1m.main-arm-none-eabi -target-feature +mve.fp -mfloat-abi hard -fallow-half-arguments-and-returns -O3 -disable-O0-optnone -S -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s | ||
// RUN: %clang_cc1 -triple thumbv8.1m.main-arm-none-eabi -target-feature +mve.fp -mfloat-abi hard -fallow-half-arguments-and-returns -O3 -disable-O0-optnone -DPOLYMORPHIC -S -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s | ||
|
||
#include <arm_mve.h> | ||
|
||
// CHECK-LABEL: @test_vminnmq_f16( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = tail call <8 x half> @llvm.minnum.v8f16(<8 x half> [[A:%.*]], <8 x half> [[B:%.*]]) | ||
// CHECK-NEXT: ret <8 x half> [[TMP0]] | ||
// | ||
float16x8_t test_vminnmq_f16(float16x8_t a, float16x8_t b) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vminnmq(a, b); | ||
#else /* POLYMORPHIC */ | ||
return vminnmq_f16(a, b); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vminnmq_f32( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = tail call <4 x float> @llvm.minnum.v4f32(<4 x float> [[A:%.*]], <4 x float> [[B:%.*]]) | ||
// CHECK-NEXT: ret <4 x float> [[TMP0]] | ||
// | ||
float32x4_t test_vminnmq_f32(float32x4_t a, float32x4_t b) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vminnmq(a, b); | ||
#else /* POLYMORPHIC */ | ||
return vminnmq_f32(a, b); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vminnmq_m_f16( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = zext i16 [[P:%.*]] to i32 | ||
// CHECK-NEXT: [[TMP1:%.*]] = tail call <8 x i1> @llvm.arm.mve.pred.i2v.v8i1(i32 [[TMP0]]) | ||
// CHECK-NEXT: [[TMP2:%.*]] = tail call <8 x half> @llvm.arm.mve.min.predicated.v8f16.v8i1(<8 x half> [[A:%.*]], <8 x half> [[B:%.*]], <8 x i1> [[TMP1]], <8 x half> [[INACTIVE:%.*]]) | ||
// CHECK-NEXT: ret <8 x half> [[TMP2]] | ||
// | ||
float16x8_t test_vminnmq_m_f16(float16x8_t inactive, float16x8_t a, float16x8_t b, mve_pred16_t p) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vminnmq_m(inactive, a, b, p); | ||
#else /* POLYMORPHIC */ | ||
return vminnmq_m_f16(inactive, a, b, p); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vminnmq_m_f32( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = zext i16 [[P:%.*]] to i32 | ||
// CHECK-NEXT: [[TMP1:%.*]] = tail call <4 x i1> @llvm.arm.mve.pred.i2v.v4i1(i32 [[TMP0]]) | ||
// CHECK-NEXT: [[TMP2:%.*]] = tail call <4 x float> @llvm.arm.mve.min.predicated.v4f32.v4i1(<4 x float> [[A:%.*]], <4 x float> [[B:%.*]], <4 x i1> [[TMP1]], <4 x float> [[INACTIVE:%.*]]) | ||
// CHECK-NEXT: ret <4 x float> [[TMP2]] | ||
// | ||
float32x4_t test_vminnmq_m_f32(float32x4_t inactive, float32x4_t a, float32x4_t b, mve_pred16_t p) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vminnmq_m(inactive, a, b, p); | ||
#else /* POLYMORPHIC */ | ||
return vminnmq_m_f32(inactive, a, b, p); | ||
#endif /* POLYMORPHIC */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py | ||
// RUN: %clang_cc1 -triple thumbv8.1m.main-arm-none-eabi -target-feature +mve.fp -mfloat-abi hard -fallow-half-arguments-and-returns -O3 -disable-O0-optnone -S -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s | ||
// RUN: %clang_cc1 -triple thumbv8.1m.main-arm-none-eabi -target-feature +mve.fp -mfloat-abi hard -fallow-half-arguments-and-returns -O3 -disable-O0-optnone -DPOLYMORPHIC -S -emit-llvm -o - %s | opt -S -mem2reg | FileCheck %s | ||
|
||
#include <arm_mve.h> | ||
|
||
// CHECK-LABEL: @test_vminq_u8( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = icmp ugt <16 x i8> [[A:%.*]], [[B:%.*]] | ||
// CHECK-NEXT: [[TMP1:%.*]] = select <16 x i1> [[TMP0]], <16 x i8> [[B]], <16 x i8> [[A]] | ||
// CHECK-NEXT: ret <16 x i8> [[TMP1]] | ||
// | ||
uint8x16_t test_vminq_u8(uint8x16_t a, uint8x16_t b) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vminq(a, b); | ||
#else /* POLYMORPHIC */ | ||
return vminq_u8(a, b); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vminq_s16( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = icmp sgt <8 x i16> [[A:%.*]], [[B:%.*]] | ||
// CHECK-NEXT: [[TMP1:%.*]] = select <8 x i1> [[TMP0]], <8 x i16> [[B]], <8 x i16> [[A]] | ||
// CHECK-NEXT: ret <8 x i16> [[TMP1]] | ||
// | ||
int16x8_t test_vminq_s16(int16x8_t a, int16x8_t b) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vminq(a, b); | ||
#else /* POLYMORPHIC */ | ||
return vminq_s16(a, b); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vminq_u32( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = icmp ugt <4 x i32> [[A:%.*]], [[B:%.*]] | ||
// CHECK-NEXT: [[TMP1:%.*]] = select <4 x i1> [[TMP0]], <4 x i32> [[B]], <4 x i32> [[A]] | ||
// CHECK-NEXT: ret <4 x i32> [[TMP1]] | ||
// | ||
uint32x4_t test_vminq_u32(uint32x4_t a, uint32x4_t b) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vminq(a, b); | ||
#else /* POLYMORPHIC */ | ||
return vminq_u32(a, b); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vminq_m_s8( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = zext i16 [[P:%.*]] to i32 | ||
// CHECK-NEXT: [[TMP1:%.*]] = tail call <16 x i1> @llvm.arm.mve.pred.i2v.v16i1(i32 [[TMP0]]) | ||
// CHECK-NEXT: [[TMP2:%.*]] = tail call <16 x i8> @llvm.arm.mve.min.predicated.v16i8.v16i1(<16 x i8> [[A:%.*]], <16 x i8> [[B:%.*]], <16 x i1> [[TMP1]], <16 x i8> [[INACTIVE:%.*]]) | ||
// CHECK-NEXT: ret <16 x i8> [[TMP2]] | ||
// | ||
int8x16_t test_vminq_m_s8(int8x16_t inactive, int8x16_t a, int8x16_t b, mve_pred16_t p) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vminq_m(inactive, a, b, p); | ||
#else /* POLYMORPHIC */ | ||
return vminq_m_s8(inactive, a, b, p); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vminq_m_u16( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = zext i16 [[P:%.*]] to i32 | ||
// CHECK-NEXT: [[TMP1:%.*]] = tail call <8 x i1> @llvm.arm.mve.pred.i2v.v8i1(i32 [[TMP0]]) | ||
// CHECK-NEXT: [[TMP2:%.*]] = tail call <8 x i16> @llvm.arm.mve.min.predicated.v8i16.v8i1(<8 x i16> [[A:%.*]], <8 x i16> [[B:%.*]], <8 x i1> [[TMP1]], <8 x i16> [[INACTIVE:%.*]]) | ||
// CHECK-NEXT: ret <8 x i16> [[TMP2]] | ||
// | ||
uint16x8_t test_vminq_m_u16(uint16x8_t inactive, uint16x8_t a, uint16x8_t b, mve_pred16_t p) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vminq_m(inactive, a, b, p); | ||
#else /* POLYMORPHIC */ | ||
return vminq_m_u16(inactive, a, b, p); | ||
#endif /* POLYMORPHIC */ | ||
} | ||
|
||
// CHECK-LABEL: @test_vminq_m_s32( | ||
// CHECK-NEXT: entry: | ||
// CHECK-NEXT: [[TMP0:%.*]] = zext i16 [[P:%.*]] to i32 | ||
// CHECK-NEXT: [[TMP1:%.*]] = tail call <4 x i1> @llvm.arm.mve.pred.i2v.v4i1(i32 [[TMP0]]) | ||
// CHECK-NEXT: [[TMP2:%.*]] = tail call <4 x i32> @llvm.arm.mve.min.predicated.v4i32.v4i1(<4 x i32> [[A:%.*]], <4 x i32> [[B:%.*]], <4 x i1> [[TMP1]], <4 x i32> [[INACTIVE:%.*]]) | ||
// CHECK-NEXT: ret <4 x i32> [[TMP2]] | ||
// | ||
int32x4_t test_vminq_m_s32(int32x4_t inactive, int32x4_t a, int32x4_t b, mve_pred16_t p) | ||
{ | ||
#ifdef POLYMORPHIC | ||
return vminq_m(inactive, a, b, p); | ||
#else /* POLYMORPHIC */ | ||
return vminq_m_s32(inactive, a, b, p); | ||
#endif /* POLYMORPHIC */ | ||
} |
Oops, something went wrong.