From: Ulrich Weigand Date: Mon, 28 Nov 2016 14:24:14 +0000 (+0000) Subject: [SystemZ] Fix build bot fallout from r288030 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee055c709fd7cdef98870b361ae62d69a99a3852;p=llvm [SystemZ] Fix build bot fallout from r288030 Remove unused variable that came in due to a copy-and-paste bug and caused build bot failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288033 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/SystemZ/SystemZElimCompare.cpp b/lib/Target/SystemZ/SystemZElimCompare.cpp index 6e42e283c9f..b4c843f658a 100644 --- a/lib/Target/SystemZ/SystemZElimCompare.cpp +++ b/lib/Target/SystemZ/SystemZElimCompare.cpp @@ -257,7 +257,6 @@ bool SystemZElimCompare::convertToLoadAndTrap( return false; // The transformation is OK. Rebuild Branch as a load-and-trap. - MachineOperand Target(Branch->getOperand(2)); while (Branch->getNumOperands()) Branch->RemoveOperand(0); Branch->setDesc(TII->get(LATOpcode));