[PATCH] D123089: BuildLibCalls: infer allockind attributes on relevant functions
Augie Fackler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 17 12:28:35 PDT 2022
durin42 marked an inline comment as done.
durin42 added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/BuildLibCalls.cpp:456
: "malloc");
+ Changed |= setAllocKind(F, AllocFnKind::Alloc | AllocFnKind::Uninitialized);
Changed |= setAllocSize(F, 0, None);
----------------
nikic wrote:
> Missing `Aligned` for the aligned_alloc fallthrough?
Very good catch, thank you! Fixed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123089/new/
https://reviews.llvm.org/D123089
More information about the llvm-commits
mailing list