HomePhabricator

[InstSimplify] Pass SimplifyQuery into simplifyUnsignedRangeCheck() and use it…

Authored by lebedev.ri on Sep 11 2019, 8:32 AM.

Description

[InstSimplify] Pass SimplifyQuery into simplifyUnsignedRangeCheck() and use it for isKnownNonZero()

This was actually the original intention in D67332,
but i messed up and forgot about it.
This patch was originally part of D67411, but precommitting this.

llvm-svn: 371630

Details

Committed
lebedev.riSep 11 2019, 8:32 AM
Parents
rG8aeb7bb013af: [NFC][InstSimplify] Add extra test for D67411 with @llvm.assume
Branches
Unknown
Tags
Unknown