From ee77da6b28d7f56e4e531ae8b4f8093de760a2e5 Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Sun, 2 Sep 2012 12:21:50 +0000 Subject: [PATCH] Fix a typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163094 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp index 18a71691d49..22f8d51ab2a 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp @@ -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 Ops(NumElem, Mask);