[PATCH] D48969: [SelectionDAG] Split float and integer isKnownNeverZero tests

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 5 07:23:26 PDT 2018


RKSimon created this revision.
RKSimon added reviewers: efriedma, spatel, lebedev.ri.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D48969

Files:
  include/llvm/CodeGen/SelectionDAG.h
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  lib/Target/X86/X86ISelLowering.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48969.154232.patch
Type: text/x-patch
Size: 4681 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180705/97fa9c2f/attachment.bin>


More information about the llvm-commits mailing list