[llvm] r295739 - [X86] EltsFromConsecutiveLoads SDLoc argument should be const&.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 21 09:42:28 PST 2017
Author: rksimon
Date: Tue Feb 21 11:42:28 2017
New Revision: 295739
URL: http://llvm.org/viewvc/llvm-project?rev=295739&view=rev
Log:
[X86] EltsFromConsecutiveLoads SDLoc argument should be const&.
There appears never to have been a time that the reference was updated.
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=295739&r1=295738&r2=295739&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Feb 21 11:42:28 2017
@@ -6231,7 +6231,7 @@ static SDValue LowerAsSplatVectorLoad(SD
///
/// 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();
More information about the llvm-commits
mailing list