Skip to content
Commit b2184075 authored by Nikita Popov's avatar Nikita Popov
Browse files

[ValueTracking] Handle more non-trivial conditions in isKnownNonZero()

In 35676a4f I've added handling for
non-trivial dominating conditions that imply non-zero on the true
branch. This adds the same support for the false branch.

The changes in pr45360.ll change block ordering and naming, but
don't change the control flow. The urem is still guaraded by a
non-zero check correctly.
parent e8c7e7cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment