[PATCH] Added more insertps optimizations

Filipe Cabecinhas filcab+llvm.phabricator at gmail.com
Wed Apr 30 20:25:04 PDT 2014


Hi delena, nadav, craig.topper,

When inserting an element that's coming from a vector load or a broadcast
of a vector (or scalar) load, combine the load into the insertps
instruction.

Added test cases.

http://reviews.llvm.org/D3581

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/fold-load-vec.ll
  test/CodeGen/X86/sse41.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3581.9003.patch
Type: text/x-patch
Size: 6285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140501/e778d0f5/attachment.bin>


More information about the llvm-commits mailing list