[PATCH] D116851: [MemoryBuiltins] Add field for alignment argument

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 22 06:30:06 PST 2022


xbolva00 added inline comments.


================
Comment at: llvm/lib/Analysis/MemoryBuiltins.cpp:64
 
 struct AllocFnsTy {
   AllocType AllocTy;
----------------
Thinking about this again..

Maybe this should go to Clang?

We should really use allocsize attribute and annotate LibFuncs instead of using this hardcoded list.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116851/new/

https://reviews.llvm.org/D116851



More information about the llvm-commits mailing list