[PATCH] D53173: [X86] Type legalize v2f32 stores by widening to v4f32, casting to v2f64, extracting f64 and storing.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 11 14:51:06 PDT 2018


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.

This is similar to what https://reviews.llvm.org/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.


https://reviews.llvm.org/D53173

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/2011-10-19-widen_vselect.ll
  test/CodeGen/X86/2012-01-18-vbitcast.ll
  test/CodeGen/X86/fold-load-vec.ll
  test/CodeGen/X86/sse-schedule.ll
  test/CodeGen/X86/vec_fptrunc.ll
  test/CodeGen/X86/widen_conv-3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53173.169312.patch
Type: text/x-patch
Size: 16790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181011/b7fdc663/attachment.bin>


More information about the llvm-commits mailing list