[PATCH] D94710: [Analysis] Support AIX vec_malloc routines
Shimin Cui via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 22 07:24:52 PST 2021
scui 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)
----------------
RolandF wrote:
> vec_realloc?
yes, fixed
================
Comment at: llvm/lib/Transforms/Utils/BuildLibCalls.cpp:497
case LibFunc_calloc:
+ case LibFunc_vec_calloc:
Changed |= setRetNoUndef(F);
----------------
RolandF wrote:
> Should we not handle vec_free in this file as well?
added
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94710/new/
https://reviews.llvm.org/D94710
More information about the llvm-commits
mailing list