[X86] Type legalize v2f32 stores by widening to v4f32, casting to v2f64, extracting...
authorCraig Topper <craig.topper@intel.com>
Sun, 14 Oct 2018 03:36:27 +0000 (03:36 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 14 Oct 2018 03:36:27 +0000 (03:36 +0000)
commitec4b75f47a9cfde53b3e65777aef4989e3f4e97d
treea357176776948a6f82e9b398e56b3ed2c2678a1c
parent72e5d931901a66e8dc9fc8b8826eb77e684278e6
[X86] Type legalize v2f32 stores by widening to v4f32, casting to v2f64, extracting f64 and storing.

Summary: This is similar to what D52528 did for loads. It should match what generic type legalization does in 64-bit mode where it uses a v2i64 cast and an i64 store.

Reviewers: RKSimon, spatel

Reviewed By: RKSimon

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D53173

llvm-svn: 344470
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/2011-10-19-widen_vselect.ll
llvm/test/CodeGen/X86/sse-schedule.ll
llvm/test/CodeGen/X86/vec_fptrunc.ll
llvm/test/CodeGen/X86/widen_conv-3.ll