[PATCH] D124859: BuildLibCalls: simplify switch statement slightly
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 09:22:04 PDT 2022
nikic added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/BuildLibCalls.cpp:447
+ Changed |= setAllocFamily(F, TheLibFunc == LibFunc_vec_malloc ? "vec_malloc"
+ : "malloc");
Changed |= setAllocSize(F, 0, None);
----------------
Can you please also update the similar vec_realloc/vec_calloc/vec_free cases?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124859/new/
https://reviews.llvm.org/D124859
More information about the llvm-commits
mailing list