[llvm-commits] [llvm] r80907 - /llvm/trunk/lib/Analysis/ProfileInfoLoaderPass.cpp

Andreas Neustifter astifter-llvm at gmx.at
Thu Sep 3 00:53:15 PDT 2009


Hi,

thank you very much for investigating this!

Daniel Dunbar wrote:
> -  if (weight != (unsigned)MissingValue) {
> +  if (weight != ~0U) {

Since allmost all my other development takes place on platforms that do
not even support floating point my float-typecasting knowledge is a bit
rusty.

If you have time: can you explain why this is necessary and why the cast
from double to unsigned does not work? (At least not on all platforms...)

This would help me to prevent further trouble,

thanks again,

Andi

-- 
==========================================================================
This email is signed, for more information see
http://web.student.tuwien.ac.at/~e0325716/gpg.html



More information about the llvm-commits mailing list