summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/EarlyIfConversion.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
commitc8dd1ad85b217880fa092eeb890c703de61be007 (patch)
tree222062fd89ed03d00fab50c937b9b6e22426b797 /llvm/lib/CodeGen/EarlyIfConversion.cpp
parentdad4acbc52403cf8cfc32970d8295b8191e43802 (diff)
downloadbcm5719-llvm-c8dd1ad85b217880fa092eeb890c703de61be007.tar.gz
bcm5719-llvm-c8dd1ad85b217880fa092eeb890c703de61be007.zip
[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'). llvm-svn: 209451
Diffstat (limited to 'llvm/lib/CodeGen/EarlyIfConversion.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud