[llvm-commits] [llvm-gcc-4.2] r41750 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

Duncan Sands baldrick at free.fr
Thu Sep 6 12:54:55 PDT 2007


Hi Dale,

> +  return ConstantFP::get(Ty, Ty==Type::FloatTy ? APFloat((float)V)
> +                                               : APFloat(V));

what does having the conversion to float do here?

Thanks,

Duncan.



More information about the llvm-commits mailing list