Fix the assertion which checks the size of the input operand.

llvm-svn: 139633
This commit is contained in:
Nadav Rotem 2011-09-13 20:03:38 +00:00
parent 1376e1eabf
commit ee1d1cfdd5

View File

@ -266,7 +266,7 @@ SDValue VectorLegalizer::ExpandVSELECT(SDValue Op) {
// Implement VSELECT in terms of XOR, AND, OR
// on platforms which do not support blend natively.
EVT VT = Op.getOperand(0).getValueType();
EVT OVT = Op.getOperand(0).getValueType();
EVT OVT = Op.getOperand(1).getValueType();
DebugLoc DL = Op.getDebugLoc();
SDValue Mask = Op.getOperand(0);