aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAlex MacLean <amaclean@nvidia.com>2024-08-30 07:34:49 -0700
committerGitHub <noreply@github.com>2024-08-30 07:34:49 -0700
commit369d8148e09c2b91174ec01e845bc504cf622c45 (patch)
tree9da713e12a052aa4985725015dc392f980bf020a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent0c4cf79defe30d43279bf4526cdf32b6c7f8a197 (diff)
downloadllvm-369d8148e09c2b91174ec01e845bc504cf622c45.zip
llvm-369d8148e09c2b91174ec01e845bc504cf622c45.tar.gz
llvm-369d8148e09c2b91174ec01e845bc504cf622c45.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions