[Lldb-commits] [PATCH] D44693: Correctly handle float division in Scalar

Tom Tromey via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 21 09:09:44 PDT 2018


tromey added a comment.

I've also noticed that int->float conversion in Scalar seems incorrect.  At least, Scalar.h claims that Scalar follows C promotion rules, but int->float conversion is done using bitwise reinterpretation rather than preserving the value.  I have a patch for this, but I don't know whether or not it's correct to change.


https://reviews.llvm.org/D44693





More information about the lldb-commits mailing list