[PATCH] D128529: [InlineFunction] Only check pointer arguments for a call

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 24 07:29:11 PDT 2022


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Transforms/Utils/InlineFunction.cpp:1046-1049
+          // Only care about pointer arguments. For a call which doet not only
+          // access pointer arguments, the non-pointer arguments which may be
+          // aliased to the callee's noalias parameter after inttoptr will
+          // always do capture check below.
----------------
Minor phrasing suggestion.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128529



More information about the llvm-commits mailing list