[llvm-commits] Fix obvious thinko/typo in EmitMinMaxExpr

Chris Lattner clattner at apple.com
Mon Jan 15 09:31:43 PST 2007


Applied, thanks!

On Jan 15, 2007, at 7:07 AM, Duncan Sands wrote:

> Index: gcc/llvm-convert.cpp
> ===================================================================
> --- gcc/llvm-convert.cpp	(revision 248)
> +++ gcc/llvm-convert.cpp	(working copy)
> @@ -2568,7 +2574,7 @@
>    Instruction::CastOps opcode = CastInst::getCastOpcode(LHS,  
> LHSIsSigned, Ty,
>                                                          TyIsSigned);
>    LHS = CastToType(opcode, LHS, Ty);
> -  opcode = CastInst::getCastOpcode(LHS, LHSIsSigned, Ty, TyIsSigned);
> +  opcode = CastInst::getCastOpcode(RHS, RHSIsSigned, Ty, TyIsSigned);
>    RHS = CastToType(opcode, RHS, Ty);
>
>    Value *Compare;
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list