From 6b699f863fd067ef44255c88742674cb55c2bfa1 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 2 May 2011 18:41:29 +0000 Subject: [PATCH] Remove unused variable. llvm-svn: 130705 --- llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp b/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp index 57fb08aca266..c4dee6a6f004 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp @@ -503,7 +503,7 @@ Instruction *InstCombiner::commonIRemTransforms(BinaryOperator &I) { if (isa(Op1) && SimplifyDivRemOfSelect(I)) return &I; - if (ConstantInt *RHS = dyn_cast(Op1)) { + if (isa(Op1)) { if (Instruction *Op0I = dyn_cast(Op0)) { if (SelectInst *SI = dyn_cast(Op0I)) { if (Instruction *R = FoldOpIntoSelect(I, SI))