[PATCH] D97673: [RFC] [[Coroutine] [Debug] Salvage dbg.values

Stephen Tozer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 3 01:57:33 PST 2021


StephenTozer added a comment.

It's a relatively obscure instruction I think, but we should also handle `callbr` in the same manner as `invoke`, as that is also a terminator instruction that defines an SSA value. A similar solution should suffice, as it also has a single destination where the value is expected to be valid (`getDefaultDest()`) that the dbg.declare can be inserted at the start of.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97673



More information about the llvm-commits mailing list