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

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 14 00:31:31 PDT 2017


uabelho added a comment.

In https://reviews.llvm.org/D34135#779992, @dberlin wrote:

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


I can only refer to what Eli said in the PR:
https://bugs.llvm.org//show_bug.cgi?id=33357#c7

"The alternative is that specifically disallow calling into LazyValueInfo on dead code... but it would be much harder to handle in JumpThreading given the way the pass works."

(Myself I don't know JumpThreading and I don't know LazyValueInfo.)


https://reviews.llvm.org/D34135





More information about the llvm-commits mailing list