[PATCH] [X86][SSE] Improved (v)insertps shuffle matching

Quentin Colombet qcolombet at apple.com
Thu Jan 8 16:10:14 PST 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/Target/X86/X86ISelLowering.cpp:8536
@@ +8535,3 @@
+  // Use INSERTPS if we can complete the shuffle efficiently.
+  if (Subtarget->hasSSE41())
+    if (SDValue V = lowerVectorShuffleAsInsertPS(Op, V1, V2, Mask, DAG))
----------------
qcolombet wrote:
> We can remove this block with the previous one to get rid of one if.
s/remove/merge/

http://reviews.llvm.org/D6879

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list