[llvm-commits] [llvm] r163094 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp

Nadav Rotem nrotem at apple.com
Sun Sep 2 05:21:50 PDT 2012


Author: nadav
Date: Sun Sep  2 07:21:50 2012
New Revision: 163094

URL: http://llvm.org/viewvc/llvm-project?rev=163094&view=rev
Log:
Fix a typo.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp?rev=163094&r1=163093&r2=163094&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp Sun Sep  2 07:21:50 2012
@@ -477,7 +477,7 @@
 
   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);





More information about the llvm-commits mailing list