[PATCH] D91711: SCEV add function to see if SCEVUnknown is null

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 25 23:39:38 PST 2020


mkazantsev added a comment.

My understanding of this situation is that, whenever we delete an instruction that may be referenced by SCEV, we should call `forgetValue` for it. SCEV that contains references on deleted instructions is invalid. Faling to forget deleted values is a bug. I don't understand why `llvm.dbg.value` is somehow special about it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91711



More information about the llvm-commits mailing list