[PATCH] D109750: [GlobalISel][Legalizer] Don't use eraseFromParentAndMarkDBGValuesForRemoval() for some artifacts.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 15 15:21:21 PDT 2021


aemerson added a comment.

In D109750#2999516 <https://reviews.llvm.org/D109750#2999516>, @arsenm wrote:

> Maybe should add a verifier check that these never have dbg users

I don't think we should go that far. If we do have a debug user then not marking the use as undef AFAICT isn't strictly incorrect.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109750



More information about the llvm-commits mailing list