summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-05-22 16:21:39 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-05-22 16:21:39 +0000
commit3957d4245ffd0ce8c9e610b7fbc8430e910ddf84 (patch)
treea410553ee51f9e8756b8af624f0751d8866685cc /lib/Bitcode/Reader/BitcodeReader.cpp
parent634d64e3bbe1b6f793cbcf0b55e40d4dbb2be329 (diff)
downloadllvm-3957d4245ffd0ce8c9e610b7fbc8430e910ddf84.tar.gz
llvm-3957d4245ffd0ce8c9e610b7fbc8430e910ddf84.tar.bz2
llvm-3957d4245ffd0ce8c9e610b7fbc8430e910ddf84.tar.xz
[X86] Improve the lowering of BITCAST from MVT::f64 to MVT::v4i16/MVT::v8i8.
This patch teaches the x86 backend how to efficiently lower ISD::BITCAST dag nodes from MVT::f64 to MVT::v4i16 (and vice versa), and from MVT::f64 to MVT::v8i8 (and vice versa). This patch extends the logic from revision 208107 to also handle MVT::v4i16 and MVT::v8i8. Also, this patch correctly propagates Undef values when performing the widening of a vector (example: when widening from v2i32 to v4i32, the upper 64bits of the resulting vector are 'undef'). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions