diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-08 14:59:59 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-08 15:00:10 +0000 |
commit | 09857a4bd166ca62a9610629731dfbf8f62cd955 (patch) | |
tree | 3029ef5a1228118b7da0eb850be6574316d7d821 /llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp | |
parent | 8398e61f93ee65700bed6395cd2a9704edad4afe (diff) | |
download | llvm-09857a4bd166ca62a9610629731dfbf8f62cd955.zip llvm-09857a4bd166ca62a9610629731dfbf8f62cd955.tar.gz llvm-09857a4bd166ca62a9610629731dfbf8f62cd955.tar.bz2 |
[X86] Remove __builtin_ia32_padd/psub saturated intrinsics and use generic __builtin_elementwise_add/sub_sat
D117898 added the generic __builtin_elementwise_add_sat and __builtin_elementwise_sub_sat with the same integer behaviour as the SSE/AVX instructions
This patch removes the __builtin_ia32_padd/psub saturated intrinsics and just uses the generics - the existing tests see no changes:
__m256i test_mm256_adds_epi8(__m256i a, __m256i b) {
// CHECK-LABEL: test_mm256_adds_epi8
// CHECK: call <32 x i8> @llvm.sadd.sat.v32i8(<32 x i8> %{{.*}}, <32 x i8> %{{.*}})
return _mm256_adds_epi8(a, b);
}
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp')
0 files changed, 0 insertions, 0 deletions