[llvm] r227514 - Change SmallVector param to the more general ArrayRef; NFCI

Sanjay Patel spatel at rotateright.com
Thu Jan 29 15:35:04 PST 2015


Author: spatel
Date: Thu Jan 29 17:35:04 2015
New Revision: 227514

URL: http://llvm.org/viewvc/llvm-project?rev=227514&view=rev
Log:
Change SmallVector param to the more general ArrayRef; NFCI

Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=227514&r1=227513&r2=227514&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Thu Jan 29 17:35:04 2015
@@ -6055,7 +6055,7 @@ LowerAsSplatVectorLoad(SDValue SrcOp, MV
 /// FIXME: we'd also like to handle the case where the last elements are zero
 /// rather than undef via VZEXT_LOAD, but we do not detect that case today.
 /// There's even a handy isZeroNode for that purpose.
-static SDValue EltsFromConsecutiveLoads(EVT VT, SmallVectorImpl<SDValue> &Elts,
+static SDValue EltsFromConsecutiveLoads(EVT VT, ArrayRef<SDValue> Elts,
                                         SDLoc &DL, SelectionDAG &DAG,
                                         bool isAfterLegalize) {
   EVT EltVT = VT.getVectorElementType();





More information about the llvm-commits mailing list