[PATCH] D133060: [Verifier] Skip debug location check for non-exact functions

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 2 08:43:16 PDT 2022


aprantl added a comment.

I wish we had an "isInlineable" function call.



================
Comment at: llvm/lib/IR/Verifier.cpp:3447
   if (Call.getFunction()->getSubprogram() && Call.getCalledFunction() &&
+      !Call.getCalledFunction()->isInterposable() &&
       Call.getCalledFunction()->getSubprogram())
----------------
Can you add a comment here that the intention is to ignore non-inlineable functions? Future readers will probably wonder what isInterposable even means.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133060



More information about the llvm-commits mailing list