X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FTransforms%2FInstCombine%2FInstCombineCompares.cpp;h=f7eb16cbb96dd5f985f0103db2db646176e2d4b8;hp=bd1b67ddcfa4b5fff2068d95434a6b20801240e9;hb=ed297abb0a9317e7b58d66bc8671d6306d6e1fff;hpb=9f15bb31c1789bed3e8278b15e4bda9698e397f6 diff --git a/lib/Transforms/InstCombine/InstCombineCompares.cpp b/lib/Transforms/InstCombine/InstCombineCompares.cpp index bd1b67ddcfa..f7eb16cbb96 100644 --- a/lib/Transforms/InstCombine/InstCombineCompares.cpp +++ b/lib/Transforms/InstCombine/InstCombineCompares.cpp @@ -2160,8 +2160,8 @@ static Instruction *ProcessUMulZExtIdiom(ICmpInst &I, Value *MulVal, Instruction *MulInstr = cast(MulVal); assert(MulInstr->getOpcode() == Instruction::Mul); - Instruction *LHS = cast(MulInstr->getOperand(0)), - *RHS = cast(MulInstr->getOperand(1)); + auto *LHS = cast(MulInstr->getOperand(0)), + *RHS = cast(MulInstr->getOperand(1)); assert(LHS->getOpcode() == Instruction::ZExt); assert(RHS->getOpcode() == Instruction::ZExt); Value *A = LHS->getOperand(0), *B = RHS->getOperand(0);