summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-04-20 15:41:37 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-04-20 15:41:37 +0000
commitf89e630b2f23869294411e3c63b5648055934dce (patch)
tree867e2c4f4a50afbf6808b2292df60e15cd8f039a /llvm/lib/Transforms/Scalar/InstructionCombining.cpp
parent61eae29ad6c0dc7ba07a09299313c2335ddd59a8 (diff)
downloadbcm5719-llvm-f89e630b2f23869294411e3c63b5648055934dce.tar.gz
bcm5719-llvm-f89e630b2f23869294411e3c63b5648055934dce.zip
Make code match cvs commit message :)
llvm-svn: 27881
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InstructionCombining.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/InstructionCombining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
index 79d79011f4b..1c4bceaef40 100644
--- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -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...
OpenPOWER on IntegriCloud