From: Aaron Ballman Date: Mon, 7 Aug 2017 19:26:17 +0000 (+0000) Subject: Removing an unused variable that was missed with the refactoring in r310272; NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45ff2ea308c8fa179c36f9405e34413c499ec00d;p=llvm Removing an unused variable that was missed with the refactoring in r310272; NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310285 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp b/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp index db8e6ecb0bf..4279427a8b9 100644 --- a/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp +++ b/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp @@ -120,9 +120,6 @@ Instruction *InstCombiner::OptAndOp(BinaryOperator *Op, ConstantInt *AndRHS, BinaryOperator &TheAnd) { Value *X = Op->getOperand(0); - Constant *Together = nullptr; - if (!Op->isShift()) - Together = ConstantExpr::getAnd(AndRHS, OpRHS); switch (Op->getOpcode()) { default: break;