losesInfo would be left unset when no conversion needs to be done. A
caller such as InstCombine's fitsInFPType would then branch on an
uninitialized value.
Caught using valgrind on an out-of-tree target.
Differential D46645
[APFloat] Set losesInfo on no-op convert svenvh on May 9 2018, 9:27 AM. Authored by
Details losesInfo would be left unset when no conversion needs to be done. A Caught using valgrind on an out-of-tree target.
Diff Detail
|