summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-09-02 12:21:50 +0000
committerNadav Rotem <nrotem@apple.com>2012-09-02 12:21:50 +0000
commitee77da6b28d7f56e4e531ae8b4f8093de760a2e5 (patch)
tree39885f28c3a9653e0dea41646b0c792d7d06ca44 /lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
parent9f40cb32ac31283f8636d516e7b10f3ad921955c (diff)
downloadllvm-ee77da6b28d7f56e4e531ae8b4f8093de760a2e5.tar.gz
llvm-ee77da6b28d7f56e4e531ae8b4f8093de760a2e5.tar.bz2
llvm-ee77da6b28d7f56e4e531ae8b4f8093de760a2e5.tar.xz
Fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
index 18a71691d4..22f8d51ab2 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<SDValue, 8> Ops(NumElem, Mask);