Make code match cvs commit message :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27881 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 79d7901..1c4bcea 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -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...