1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 10:32:48 +02:00

[X86] Fix -Wunused-lambda-capture

This commit is contained in:
Fangrui Song 2021-05-12 10:34:32 -07:00
parent 686fd925f4
commit 1050db3338

View File

@ -49707,7 +49707,7 @@ static SDValue combineConcatVectorOps(const SDLoc &DL, MVT VT,
// Special case: SHL/SRL AVX1 V4i64 by 32-bits can lower as a shuffle.
// TODO: Move this to LowerScalarImmediateShift?
if (VT == MVT::v4i64 && !Subtarget.hasInt256() &&
llvm::all_of(Ops, [Op0](SDValue Op) {
llvm::all_of(Ops, [](SDValue Op) {
return Op.getConstantOperandAPInt(1) == 32;
})) {
SDValue Res = DAG.getBitcast(MVT::v8i32, ConcatSubOperand(VT, Ops, 0));