[PATCH] Convert a vselect into a concat_vector if possible
hfinkel at anl.gov
hfinkel at anl.gov
Wed May 28 01:27:29 PDT 2014
================
Comment at: lib/CodeGen/SelectionDAG/DAGCombiner.cpp:4637
@@ +4636,3 @@
+ ISD::CONCAT_VECTORS, dl, VT,
+ BottomHalf->isNullValue() ? LHS->getOperand(1) : RHS->getOperand(1),
+ TopHalf->isNullValue() ? LHS->getOperand(0) : RHS->getOperand(0));
----------------
Why does operand 0 derive from operand 1 of the inputs?
http://reviews.llvm.org/D3916
More information about the llvm-commits
mailing list