[PATCH] [X86] replace vextractf128 intrinsics with generic shuffles (LLVM)

Sanjay Patel spatel at rotateright.com
Wed Mar 11 16:47:29 PDT 2015


Hi craig.topper, chandlerc, RKSimon, andreadb,

This is very much like D8086 (checked in here: http://llvm.org/viewvc/llvm-project?rev=231794&view=rev ). 
This is also the LLVM sibling to the cfe D8275 patch.

Now that we've replaced the vinsertf128 intrinsics, do the same for their extract twins.

There are several existing regression tests of the memory folding versions of these intrinsics in 'avx-vextractf128.ll'.
I'm not sure if it's better to leave those as-is or consolidate them into the 'avx-intrinsics-x86-upgrade.ll' file.
If anyone has a suggestion about that, please let me know.

http://reviews.llvm.org/D8276

Files:
  include/llvm/IR/IntrinsicsX86.td
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/IR/AutoUpgrade.cpp
  test/CodeGen/X86/avx-intrinsics-x86-upgrade.ll
  test/CodeGen/X86/avx-intrinsics-x86.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8276.21789.patch
Type: text/x-patch
Size: 7321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150311/2e2bfe7f/attachment.bin>


More information about the llvm-commits mailing list