diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-08 14:21:11 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-02-08 14:21:20 +0000 |
commit | 6c174ab2ad0676b295f11f6c3913eff9289fa6b9 (patch) | |
tree | 405af96afaf3a03a67c8d0ed9c805c1891dc044b /llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp | |
parent | 3196ef8ee2ade2fe8d2a048592e7abae5e6bbcb3 (diff) | |
download | llvm-6c174ab2ad0676b295f11f6c3913eff9289fa6b9.zip llvm-6c174ab2ad0676b295f11f6c3913eff9289fa6b9.tar.gz llvm-6c174ab2ad0676b295f11f6c3913eff9289fa6b9.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