[PATCH] D123089: BuildLibCalls: infer allockind attributes on relevant functions

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 13 15:15:45 PDT 2022


nikic 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);
----------------
Missing `Aligned` for the aligned_alloc fallthrough?


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