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

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 14 00:27:06 PDT 2017


dberlin added a comment.

Is there a reason the caller can't avoid making calls on unreachable blocks?

1. It avoids having to hack up the analysis like this
2. You are likely to discover more issues in this and other analysis
3. It's faster anyway


https://reviews.llvm.org/D34135





More information about the llvm-commits mailing list