[PATCH] D102500: [DebugInfo] Produce undef DBG_VALUE instructions for variadic dbg.values when using FastISel or GlobalIsel

Stephen Tozer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 14 08:05:15 PDT 2021


StephenTozer added a comment.

In D102500#2759700 <https://reviews.llvm.org/D102500#2759700>, @djtodoro wrote:

> Do we expect cases where this feature is useful when doing -O0? I guess no, right? So the `FastISel` is OK, since it is being used at -O0 case only.

You're right for the most part, but there are some edge cases: a function which is "always inline" called from a function marked "optnone" can result in FastIsel being run on a variadic dbg.value.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102500



More information about the llvm-commits mailing list