Skip to content
  1. Feb 19, 2009
  2. Feb 18, 2009
  3. Feb 17, 2009
  4. Feb 16, 2009
    • Daniel Dunbar's avatar
      Support IRgen of sqrt -> llvm.sqrt, pow -> llvm.pow. · 8eb018ab
      Daniel Dunbar authored
       - Define pow[lf]?, sqrt[lf]? as builtins.
      
       - Add -fmath-errno option which binds to LangOptions.MathErrno
      
       - Add new builtin flag Builtin::Context::isConstWithoutErrno for
         functions which can be marked as const if errno isn't respected for
         math functions. Sema automatically marks these functions as const
         when they are defined, if MathErrno=0.
      
       - IRgen uses const attribute on sqrt and pow library functions to
         decide if it can use the llvm intrinsic.
      
      llvm-svn: 64689
      8eb018ab
    • Douglas Gregor's avatar
      Make "implicit int" an error in C++ (unless we're allowing Microsoft · 5978cdb5
      Douglas Gregor authored
      extensions). This caught a couple bugs in our test suite :)
      
      llvm-svn: 64686
      5978cdb5
Loading