[PATCH] D94710: [Analysis] Support AIX vec_malloc routines

Roland Froese via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 21 14:54:02 PST 2021


RolandF added inline comments.


================
Comment at: llvm/include/llvm/Analysis/TargetLibraryInfo.def:1432
+TLI_DEFINE_STRING_INTERNAL("vec_malloc")
+/// void *reallocf(void *ptr, size_t size);
+TLI_DEFINE_ENUM_INTERNAL(vec_realloc)
----------------
vec_realloc?


================
Comment at: llvm/lib/Transforms/Utils/BuildLibCalls.cpp:497
   case LibFunc_calloc:
+  case LibFunc_vec_calloc:
     Changed |= setRetNoUndef(F);
----------------
Should we not handle vec_free in this file as well?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94710/new/

https://reviews.llvm.org/D94710



More information about the llvm-commits mailing list