Skip to content
  • Chris Lattner's avatar
    Make a few related changes: · 9a8d1d9e
    Chris Lattner authored
    1) add a new ASTContext::getFloatTypeSemantics method.
    2) Use it from SemaExpr.cpp, CodeGenTypes.cpp and other places.
    3) Change the TargetInfo.h get*Format methods to return their 
       fltSemantics byref instead of by pointer.
    4) Change CodeGenFunction::EmitBuiltinExpr to allow builtins which
       sometimes expand specially and othertimes fall back to libm.
    5) Add support for __builtin_nan("") to codegen, cases that don't pass
       in an empty string are currently lowered to libm calls.
    6) Fix codegen of __builtin_infl.
    
    llvm-svn: 52914
    9a8d1d9e
Loading