Fix a typo.
authorNadav Rotem <nrotem@apple.com>
Sun, 2 Sep 2012 12:21:50 +0000 (12:21 +0000)
committerNadav Rotem <nrotem@apple.com>
Sun, 2 Sep 2012 12:21:50 +0000 (12:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163094 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp

index 18a71691d49a6b2860732bdbcbc09a3139092cfc..22f8d51ab2a9d8d9cd5d2ce92c833d686d540e49 100644 (file)
@@ -477,7 +477,7 @@ SDValue VectorLegalizer::ExpandSELECT(SDValue Op) {
 
   Mask = DAG.getNode(ISD::SELECT, DL, BitTy, Mask,
           DAG.getConstant(APInt::getAllOnesValue(BitTy.getSizeInBits()), BitTy),
-          DAG.getConstant(3, BitTy));
+          DAG.getConstant(0, BitTy));
 
   // Broadcast the mask so that the entire vector is all-one or all zero.
   SmallVector<SDValue, 8> Ops(NumElem, Mask);