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: http://review.tizen.org/git/?a=commitdiff_plain;h=428f0fe910454884c6e1119c9e9944f824973e1a;p=platform%2Fupstream%2Fllvm.git Removing an unused variable that was missed with the refactoring in r310272; NFC. llvm-svn: 310285 --- diff --git a/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp b/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp index db8e6ec..4279427 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp +++ b/llvm/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;