aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-07-20 15:20:11 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-07-20 15:20:11 +0000
commitadec0f22524ad869a5925923672a6d41251ad7c2 (patch)
tree8c7a8410230ba9464d1d148101c62281bd78fd23 /clang/lib/Frontend/CompilerInvocation.cpp
parent12b48b160749f2c0c2f20cd0cb2e1ee5acc7eaa7 (diff)
downloadllvm-adec0f22524ad869a5925923672a6d41251ad7c2.zip
llvm-adec0f22524ad869a5925923672a6d41251ad7c2.tar.gz
llvm-adec0f22524ad869a5925923672a6d41251ad7c2.tar.bz2
[X86][SSE] Use PSADBW to improve vXi8 sum reduction (PR42674)
As detailed on PR42674, we can reduce a vXi8 down until we have the final <8 x i8>, and then use PSADBW with zero, to sum those values. We then extract the bottom i8, discarding any overflow from the upper bits of the i16 result. llvm-svn: 366636
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions