[X86] EltsFromConsecutiveLoads SDLoc argument should be const&.

There appears never to have been a time that the reference was updated.

llvm-svn: 295739
This commit is contained in:
Simon Pilgrim 2017-02-21 17:42:28 +00:00
parent fc1ccec9bb
commit 8eb515d8c4
1 changed files with 1 additions and 1 deletions

View File

@ -6231,7 +6231,7 @@ static SDValue LowerAsSplatVectorLoad(SDValue SrcOp, MVT VT, const SDLoc &dl,
///
/// Example: <load i32 *a, load i32 *a+4, zero, undef> -> zextload a
static SDValue EltsFromConsecutiveLoads(EVT VT, ArrayRef<SDValue> Elts,
SDLoc &DL, SelectionDAG &DAG,
const SDLoc &DL, SelectionDAG &DAG,
bool isAfterLegalize) {
unsigned NumElems = Elts.size();