Skip to content

Commit 369d814

Browse files
authored
[ValueTracking] use KnownBits to compute fpclass from bitcast (#97762)
When we encounter a bitcast from an integer type we can use the information from `KnownBits` to glean some information about the fpclass: - If the sign bit is known, we can transfer this information over. - If the float is IEEE format and enough of the bits are known, we may be able to prove or rule out some fpclasses such as NaN, Zero, or Inf.
1 parent 0c4cf79 commit 369d814

File tree

3 files changed

+719
-187
lines changed

3 files changed

+719
-187
lines changed

0 commit comments

Comments
 (0)