[PATCH] D105805: [NFC] Do not track calls to inlined intrinsics in IFI.

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 12 08:33:59 PDT 2021


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

lgtm with nit



================
Comment at: llvm/lib/Transforms/Utils/InlineFunction.cpp:2442
+  // tracking of inlined call sites instead. Calls to intrinsics are not
+  // collected because we expect them to become inline code.
   if (InlinedFunctionInfo.ContainsCalls && !IFI.CG) {
----------------
not strictly true, I'd say something like "calls intrinsic aren't inlineable".


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

https://reviews.llvm.org/D105805



More information about the llvm-commits mailing list