[libc-commits] [PATCH] D152226: [FunctionAttrs] Propagate some func/arg/ret attributes from caller to callsite (WIP)
Matt Arsenault via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Jun 12 19:01:03 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/InferCallsiteAttrs.cpp:692
+ else
+ memset(&CurFnInfo, kMaybe, sizeof(CurFnInfo));
+ Caller = ParentFunc;
----------------
Not very C++y, use the default constructor?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152226/new/
https://reviews.llvm.org/D152226
More information about the libc-commits
mailing list