Merging r46043:

------------------------------------------------------------------------

llvm-svn: 330799
This commit is contained in:
David Bolvansky 2018-04-25 04:33:36 +00:00
parent 764216e1f9
commit 3ea50f9fef
1 changed files with 3 additions and 3 deletions

View File

@ -698,9 +698,9 @@ bool llvm::inferLibFuncAttributes(Function &F, const TargetLibraryInfo &TLI) {
Changed |= setRetNonNull(F);
Changed |= setRetDoesNotAlias(F);
return Changed;
//TODO: add LibFunc entries for:
//case LibFunc_memset_pattern4:
//case LibFunc_memset_pattern8:
// TODO: add LibFunc entries for:
// case LibFunc_memset_pattern4:
// case LibFunc_memset_pattern8:
case LibFunc_memset_pattern16:
Changed |= setOnlyAccessesArgMemory(F);
Changed |= setDoesNotCapture(F, 0);