[PATCH] D34135: [LVI] Add initial result to avoid infinite getValueFromCondition recursion

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 14 13:12:03 PDT 2017


efriedma added a comment.

> Can't you just tell LVI the blocks are dead without them being dead?

I'm not following your question.

The sequence here is that we constant-fold a terminator (deleting an edge), then continue iterating through all the blocks in the function, and eventually crash when LVI discovers a cycle in a loop which was made unreachable.  Which blocks is JumpThreading supposed to tell LVI about?


https://reviews.llvm.org/D34135





More information about the llvm-commits mailing list