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.
| Paths 
 |  Differential  D48969  
[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 
 Event TimelineThis revision is now accepted and ready to land.Jul 5 2018, 11:56 AM Closed by commit rL336492: [SelectionDAG] Split float and integer isKnownNeverZero tests (authored by RKSimon).  ·  Explain WhyJul 7 2018, 11:22 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 154497 llvm/trunk/include/llvm/CodeGen/SelectionDAG.h
 llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 
 llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||