[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:27:17 PST 2018


efriedma added a comment.

Well, checking explicitly for a select which directly refers to itself doesn't really solve anything; you can have exactly the same issue with indirect references.

Let's just add a recursion limit for now, I think.


https://reviews.llvm.org/D42442





More information about the llvm-commits mailing list