This is an archive of the discontinued LLVM Phabricator instance.

[SelectionDAG] Split float and integer isKnownNeverZero tests
ClosedPublic

Authored by RKSimon on Jul 5 2018, 7:23 AM.

Details

Summary

Splits off isKnownNeverZeroFloat to handle +/- 0 float cases.

This will make it easier to be more aggressive with the integer isKnownNeverZero tests (similar to ValueTracking), use computeKnownBits etc.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon created this revision.Jul 5 2018, 7:23 AM
lebedev.ri accepted this revision.Jul 5 2018, 11:56 AM

Looks like NFC.

This revision is now accepted and ready to land.Jul 5 2018, 11:56 AM
This revision was automatically updated to reflect the committed changes.