[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Thu Apr 20 08:42:00 PDT 2006
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...
More information about the llvm-commits
mailing list