diff options
author | Cong Hou <congh@google.com> | 2015-12-21 20:42:43 +0000 |
---|---|---|
committer | Cong Hou <congh@google.com> | 2015-12-21 20:42:43 +0000 |
commit | 8df93ce4557ede356384e514569c570006ff2f9d (patch) | |
tree | b6cb95ced50ca375334be1beddba33bd90e210e8 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | 6c494cd0df0704a7795428e87cb38399f4230be8 (diff) | |
download | bcm5719-llvm-8df93ce4557ede356384e514569c570006ff2f9d.tar.gz bcm5719-llvm-8df93ce4557ede356384e514569c570006ff2f9d.zip |
[X86][SSE] Transform truncations between vectors of integers into X86ISD::PACKUS/PACKSS operations during DAG combine.
This patch transforms truncation between vectors of integers into
X86ISD::PACKUS/PACKSS operations during DAG combine. We don't do it in
lowering phase because after type legalization, the original truncation
will be turned into a BUILD_VECTOR with each element that is extracted
from a vector and then truncated, and from them it is difficult to do
this optimization. This greatly improves the performance of truncations
on some specific types.
Cost table is updated accordingly.
Differential revision: http://reviews.llvm.org/D14588
llvm-svn: 256194
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions