This is to support the memory routines vec_malloc, vec_calloc, vec_realloc, and vec_free. These routines manage memory that is 16-byte aligned. And they are only available on AIX.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This change LGTM. Lets wait for a few days to give others time to take a look as well.
Thanks Jeeva. I need your help to commit this, I don't have commit access yet. The author line should be --author="Shimin Cui <scui@ca.ibm.com>".
The change in TargetLibraryInfoTest.cpp is kind of for testing. I checked previous similar patches, ie, adding platform specific functions, there was no additional test cases added other than adding to TargetLibraryInfoTest.cpp.
To Address comments from Roland - fix the comment in def and add missing vec_free in BuildLibCalls.cpp
Thanks Roland for the approval. I don't have commit access. Can you help pls to commit this? The author line should be --author="Shimin Cui <scui@ca.ibm.com>".
vec_realloc?