diff --git a/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp b/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp index 2e59557a08971..fc3b2481f57ec 100644 --- a/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp +++ b/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp @@ -302,8 +302,8 @@ decompose(Value *V, SmallVector &Preconditions, bool IsSigned, const DataLayout &DL) { auto MergeResults = [&Preconditions, IsSigned, - DL](Value *A, Value *B, - bool IsSignedB) -> SmallVector { + &DL](Value *A, Value *B, + bool IsSignedB) -> SmallVector { auto ResA = decompose(A, Preconditions, IsSigned, DL); auto ResB = decompose(B, Preconditions, IsSignedB, DL); if (ResA.empty() || ResB.empty())