diff options
author | Craig Topper <craig.topper@intel.com> | 2017-11-29 00:32:09 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-11-29 00:32:09 +0000 |
commit | 3c8bef9341caf21b89ba47ccf6575ee8e0eb90c2 (patch) | |
tree | a199963de0e002c95ea85f9edccc88b1c89ed965 /test/Analysis | |
parent | f125f8f5d19b1082ec84089c84bab0d6c141f92a (diff) |
[X86] Promote fp_to_sint v16f32->v16i16/v16i8 to avoid scalarization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r-- | test/Analysis/CostModel/X86/fptosi.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/CostModel/X86/fptosi.ll b/test/Analysis/CostModel/X86/fptosi.ll index d5e21f8685a..dc0a041f94c 100644 --- a/test/Analysis/CostModel/X86/fptosi.ll +++ b/test/Analysis/CostModel/X86/fptosi.ll @@ -224,7 +224,7 @@ define i32 @fptosi_float_i16(i32 %arg) { ; SSE42: cost of 7 {{.*}} %V16I16 = fptosi ; AVX1: cost of 3 {{.*}} %V16I16 = fptosi ; AVX2: cost of 3 {{.*}} %V16I16 = fptosi - ; AVX512: cost of 48 {{.*}} %V16I16 = fptosi + ; AVX512: cost of 1 {{.*}} %V16I16 = fptosi %V16I16 = fptosi <16 x float> undef to <16 x i16> ret i32 undef @@ -254,7 +254,7 @@ define i32 @fptosi_float_i8(i32 %arg) { ; SSE42: cost of 7 {{.*}} %V16I8 = fptosi ; AVX1: cost of 15 {{.*}} %V16I8 = fptosi ; AVX2: cost of 15 {{.*}} %V16I8 = fptosi - ; AVX512: cost of 48 {{.*}} %V16I8 = fptosi + ; AVX512: cost of 1 {{.*}} %V16I8 = fptosi %V16I8 = fptosi <16 x float> undef to <16 x i8> ret i32 undef |