[PATCH] D77560: [SCEV] CreateNodeForPhi should return SCEVUnknown for incomplete PHIs

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 19 21:58:57 PDT 2020


mkazantsev added a comment.

Let's frame it this way: please add an XFAIL test which runs some passes and fails an assertion with the situation you are describing. I think hiding the bug by returning `SCEVUnknown` is just wrong. We should investigate why we are making this query instead.


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

https://reviews.llvm.org/D77560





More information about the llvm-commits mailing list