Make code match cvs commit message :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27881 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Lenharth 2006-04-20 15:41:37 +00:00
parent 8117f9a40e
commit 7a31b975fb

View File

@ -5683,7 +5683,7 @@ bool InstCombiner::transformConstExprCastCall(CallSite CS) {
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...