Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.470 -> 1.471 --- Log message: Make code match cvs commit message :) --- Diffs of the changes: (+1 -1) InstructionCombining.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.470 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.471 --- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.470 Thu Apr 20 09:56:47 2006 +++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Thu Apr 20 10:41:37 2006 @@ -5683,7 +5683,7 @@ if (Callee->isExternal() && !(OldRetTy->isLosslesslyConvertibleTo(FT->getReturnType()) || (isa<PointerType>(FT->getReturnType()) && - OldRetTy->isLosslesslyConvertibleTo(TD->getIntPtrType()))) + TD->getIntPtrType()->isLosslesslyConvertibleTo(OldRetTy))) && !Caller->use_empty()) return false; // Cannot transform this return value... _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits