]> granicus.if.org Git - llvm/commitdiff
[SystemZ] Fix build bot fallout from r288030
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 28 Nov 2016 14:24:14 +0000 (14:24 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 28 Nov 2016 14:24:14 +0000 (14:24 +0000)
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

lib/Target/SystemZ/SystemZElimCompare.cpp

index 6e42e283c9f92374c12f6c8d076d3b64792de30e..b4c843f658aa6131be91ebe39f7bbbc386a5415c 100644 (file)
@@ -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));