[PATCH] D34135: [LVI] Add initial result to avoid infinite getValueFromCondition recursion
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 14 13:46:28 PDT 2017
anna added a comment.
In https://reviews.llvm.org/D34135#780637, @efriedma wrote:
> 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.
So, the main problem here is that in each iteration of Jump threading, we can find the trivially dead blocks, but not the complete set of unreachable blocks. Also, I'm assuming transitively detecting dead blocks after the call to `processBlock` does not help in this case?
https://reviews.llvm.org/D34135
More information about the llvm-commits
mailing list