[PATCH] D56771: [X86] Use X86ISD::BLENDV for blendv intrinsics. Replace vselect with blendv just before isel table lookup. Remove vselect isel patterns.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 16 13:26:51 PST 2019


RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lib/Target/X86/X86ISelLowering.cpp:21852
+      // Reverse the operands to match VSELECT order.
+      return DAG.getNode(IntrData->Opc0, dl, Op.getValueType(),
+                         Src3, Src2, Src1);
----------------
Can you use VT here?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56771/new/

https://reviews.llvm.org/D56771





More information about the llvm-commits mailing list