diff options
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp')
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp b/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp index f08439c6262..e1536dead10 100644 --- a/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp +++ b/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp @@ -485,7 +485,7 @@ static bool selectCopy(MachineInstr &I, const TargetInstrInfo &TII, // Returns true, or asserts if something we don't expect happens. Instead of // returning true, we return isValidCopy() to ensure that we verify the // result. - auto CheckCopy = [&I, &DstRegBank, &MRI, &TRI, &RBI, &KnownValid]() { + auto CheckCopy = [&]() { // If we have a bitcast or something, we can't have physical registers. assert( I.isCopy() || |