[llvm-commits] Fix obvious thinko/typo in EmitMinMaxExpr
Duncan Sands
baldrick at free.fr
Mon Jan 15 07:07:46 PST 2007
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;
More information about the llvm-commits
mailing list