[PATCH] D28030: [TLI] Add prototype checking for all remaining LibFuncs.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 10:25:46 PST 2017


efriedma accepted this revision.
efriedma added a comment.

Maybe a few of these could be refined a little, but this is a clear improvement.



================
Comment at: lib/Analysis/TargetLibraryInfo.cpp:658
+            FTy.getParamType(0)->isPointerTy() &&
+            FTy.getParamType(1)->isPointerTy());
 
----------------
Missing check that the third parameter is size_t.


https://reviews.llvm.org/D28030





More information about the llvm-commits mailing list