[llvm-commits] [llvm] r42484 - in /llvm/trunk/lib: CodeGen/SelectionDAG/LegalizeDAG.cpp CodeGen/SelectionDAG/SelectionDAG.cpp ExecutionEngine/ExecutionEngine.cpp VMCore/ConstantFold.cpp

Neil Booth neil at daikokuya.co.uk
Mon Oct 1 06:07:48 PDT 2007


Dale Johannesen wrote:-

> Author: johannes
> Date: Sun Sep 30 13:19:03 2007
> New Revision: 42484
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=42484&view=rev
> Log:
> Constant fold int-to-long-double conversions;
> use APFloat for int-to-float/double; use
> round-to-nearest for these (implementation-defined,
> seems to match gcc).

Seems sensible.  Ultimately FENV_ACCESS pragma should be taken into
account, for C at least.

Neil.



More information about the llvm-commits mailing list