This emits SADD_SAT/SSUB_SAT generic intrinsics for the SSE signed saturated math intrinsics.
LLVM counterpart: https://reviews.llvm.org/D55894
Paths
| Differential D55890
[X86][SSE] Auto upgrade PADDS/PSUBS intrinsics to SADD_SAT/SSUB_SAT generic intrinsics (clang) ClosedPublic Authored by RKSimon on Dec 19 2018, 8:25 AM.
Details
Summary This emits SADD_SAT/SSUB_SAT generic intrinsics for the SSE signed saturated math intrinsics. LLVM counterpart: https://reviews.llvm.org/D55894
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Dec 19 2018, 12:57 PM Closed by commit rL349743: [X86][SSE] Auto upgrade PADDS/PSUBS intrinsics to SADD_SAT/SSUB_SAT generic… (authored by RKSimon). · Explain WhyDec 20 2018, 3:57 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 178894 lib/CodeGen/CGBuiltin.cpp
test/CodeGen/avx2-builtins.c
test/CodeGen/avx512bw-builtins.c
test/CodeGen/avx512vlbw-builtins.c
test/CodeGen/sse2-builtins.c
|
While you're touching this line, can we just make that an ArrayRef instead of a SmallVectorImpl?