[PATCH] D131453: LiveDebugValues: Fix another crash related to unreachable blocks

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 9 02:44:55 PDT 2022


jmorse accepted this revision.
jmorse added a comment.

Fix and test LGTM, much appreciated.

An alternative might be to identify unreachable blocks in depthFirstVLocAndEmit's EjectBlock lambda, and not do any work for them. It might be non-trivial to identify unreachable blocks, so this fix is fine.


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

https://reviews.llvm.org/D131453



More information about the llvm-commits mailing list