[PATCH] D42442: [ValueTracking] add an assert to prevent infinite recursion

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 23 15:12:11 PST 2018


efriedma added a comment.

> As I understand it, we want to uncover these bugs in passes that use value tracking because it signals a potential efficiency improvement for them when dealing with dead code or other corner cases.

We don't actually have a solution to reliably avoid analyzing dead code... see the discussion on https://reviews.llvm.org/D34135.


https://reviews.llvm.org/D42442





More information about the llvm-commits mailing list