[llvm-commits] [llvm] r49417 - /llvm/trunk/include/llvm/Constants.h

Chris Lattner clattner at apple.com
Wed Apr 9 09:51:57 PDT 2008


On Apr 9, 2008, at 12:06 AM, Evan Cheng wrote:

> Author: evancheng
> Date: Wed Apr  9 02:06:01 2008
> New Revision: 49417
>
> URL: http://llvm.org/viewvc/llvm-project?rev=49417&view=rev
> Log:
> Unbreak teh build.

Doh, thanks Evan.

-Chris


>
>
> Modified:
>    llvm/trunk/include/llvm/Constants.h
>
> Modified: llvm/trunk/include/llvm/Constants.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Constants.h?rev=49417&r1=49416&r2=49417&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/include/llvm/Constants.h (original)
> +++ llvm/trunk/include/llvm/Constants.h Wed Apr  9 02:06:01 2008
> @@ -237,6 +237,11 @@
>     return get(V);
>   }
>
> +  /// get() - This returns a constant fp for the specified value in  
> the
> +  /// specified type.  This should only be used for simple constant  
> values like
> +  /// 2.0/1.0 etc, that are known-valid both as double and as the  
> target format.
> +  ConstantFP *get(const Type *Ty, double V);
> +
>   /// isValueValidForType - return true if Ty is big enough to  
> represent V.
>   static bool isValueValidForType(const Type *Ty, const APFloat& V);
>   inline const APFloat& getValueAPF() const { return Val; }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list