Reverting r275284 due to platform-specific test failures
llvm-svn: 275304
This commit is contained in:
@@ -642,7 +642,6 @@ bool TargetLibraryInfoImpl::isValidProtoForLibFunc(const FunctionType &FTy,
|
||||
return false;
|
||||
// fallthrough
|
||||
case LibFunc::memcpy:
|
||||
case LibFunc::mempcpy:
|
||||
case LibFunc::memmove:
|
||||
return (NumParams == 3 && FTy.getReturnType() == FTy.getParamType(0) &&
|
||||
FTy.getParamType(0)->isPointerTy() &&
|
||||
|
||||
Reference in New Issue
Block a user