summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-02-21 17:42:28 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-02-21 17:42:28 +0000
commit8eb515d8c43806da41307d8f32fd9fae6c2f7b05 (patch)
treee62da2c40317c6f09004a99b48b0765a41c8e4d3 /llvm/lib/Target
parentfc1ccec9bbdd43755872f9d654e90333e28d34ca (diff)
downloadbcm5719-llvm-8eb515d8c43806da41307d8f32fd9fae6c2f7b05.tar.gz
bcm5719-llvm-8eb515d8c43806da41307d8f32fd9fae6c2f7b05.zip
[X86] EltsFromConsecutiveLoads SDLoc argument should be const&.
There appears never to have been a time that the reference was updated. llvm-svn: 295739
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 3aecdc269b5..42b3b5ad12f 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -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();
OpenPOWER on IntegriCloud