mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
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:
parent
8117f9a40e
commit
7a31b975fb
@ -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...
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user