[llvm] r288033 - [SystemZ] Fix build bot fallout from r288030

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 28 06:24:14 PST 2016


Author: uweigand
Date: Mon Nov 28 08:24:14 2016
New Revision: 288033

URL: http://llvm.org/viewvc/llvm-project?rev=288033&view=rev
Log:
[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.


Modified:
    llvm/trunk/lib/Target/SystemZ/SystemZElimCompare.cpp

Modified: llvm/trunk/lib/Target/SystemZ/SystemZElimCompare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZElimCompare.cpp?rev=288033&r1=288032&r2=288033&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZElimCompare.cpp (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZElimCompare.cpp Mon Nov 28 08:24:14 2016
@@ -257,7 +257,6 @@ bool SystemZElimCompare::convertToLoadAn
       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));




More information about the llvm-commits mailing list