[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 02:03:27 PST 2019
RKSimon added inline comments.
================
Comment at: lib/Target/X86/X86ISelDAGToDAG.cpp:3385
+ case ISD::VSELECT: {
+ // Replace VSELECT with non-mask conditions with with BLENDV.
+ if (Node->getOperand(0).getValueType().getVectorElementType() == MVT::i1)
----------------
worth asserting that SSE41 is present?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56771/new/
https://reviews.llvm.org/D56771
More information about the llvm-commits
mailing list