File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
test/Transforms/Util/DeclareRuntimeLibcalls Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -3158,6 +3158,10 @@ def PPCSystemLibrary
31583158 has__stack_smash_handler,
31593159 has___guard_local,
31603160 AvailableIf<__ssp_canary_word, isAIX>,
3161+ AvailableIf<vec_calloc, isAIX>,
3162+ AvailableIf<vec_malloc, isAIX>,
3163+ AvailableIf<vec_realloc, isAIX>,
3164+ AvailableIf<vec_free, isAIX>,
31613165 AvailableIf<__stack_chk_fail, isNotOSOpenBSD>,
31623166 AvailableIf<__stack_chk_guard, isNotOSAIXAndNotOSOpenBSD>)>;
31633167
Original file line number Diff line number Diff line change 1+ ; REQUIRES: webassembly-registered-target
2+ ; RUN: opt -S -passes=declare-runtime-libcalls -mtriple=powerpc64-ibm-aix < %s | FileCheck %s
3+
4+ ; CHECK: declare void @vec_calloc(...)
5+ ; CHECK: declare void @vec_free(...)
6+ ; CHECK: declare void @vec_malloc(...)
7+ ; CHECK: declare void @vec_realloc(...)
You can’t perform that action at this time.
0 commit comments