mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Fix const/non-const lambda return type warning. NFCI.
llvm-svn: 365613
This commit is contained in:
parent
630814759f
commit
28c7a0866c
@ -18002,7 +18002,7 @@ static SDValue narrowInsertExtractVectorBinOp(SDNode *Extract,
|
||||
SDValue Index = Extract->getOperand(1);
|
||||
EVT VT = Extract->getValueType(0);
|
||||
|
||||
auto GetSubVector = [VT, Index](SDValue V) {
|
||||
auto GetSubVector = [VT, Index](SDValue V) -> SDValue {
|
||||
if (V.getOpcode() != ISD::INSERT_SUBVECTOR ||
|
||||
V.getOperand(1).getValueType() != VT || V.getOperand(2) != Index)
|
||||
return SDValue();
|
||||
|
Loading…
Reference in New Issue
Block a user