[llvm] r310285 - Removing an unused variable that was missed with the refactoring in r310272; NFC.
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 12:26:17 PDT 2017
Author: aaronballman
Date: Mon Aug 7 12:26:17 2017
New Revision: 310285
URL: http://llvm.org/viewvc/llvm-project?rev=310285&view=rev
Log:
Removing an unused variable that was missed with the refactoring in r310272; NFC.
Modified:
llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp?rev=310285&r1=310284&r2=310285&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp Mon Aug 7 12:26:17 2017
@@ -120,9 +120,6 @@ Instruction *InstCombiner::OptAndOp(Bina
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;
More information about the llvm-commits
mailing list