Skip to content
  1. Aug 04, 2008
    • Daniel Dunbar's avatar
      Add CodeGen support for indirect goto. · 88402ce8
      Daniel Dunbar authored
       - Follows emission scheme used by llvm-gcc, i.e. invent an id for
         each label whose address is taken and replace each indirect goto by
         a switch to each possible target.
       - Currently we emit a switch for each indirect goto instead of
         merging them as llvm-gcc does.
      
      llvm-svn: 54318
      88402ce8
    • Chris Lattner's avatar
      · 7adf0760
      Chris Lattner authored
      Finally fix PR2189.  This makes a fairly invasive but important change to
      move getAsArrayType into ASTContext instead of being a method on type.
      This is required because getAsArrayType(const AT), where AT is a typedef
      for "int[10]" needs to return ArrayType(const int, 10).
      
      Fixing this greatly simplifies getArrayDecayedType, which is a good sign.
      
      llvm-svn: 54317
      7adf0760
  2. Jul 27, 2008
  3. Jul 26, 2008
  4. Jul 25, 2008
  5. Jul 21, 2008
  6. Jul 14, 2008
    • Nate Begeman's avatar
      http://llvm.org/bugs/show_bug.cgi?id=2523 · 191a6b1f
      Nate Begeman authored
      Add some code to handle vector comparisons, which is the language side
      of the llvm vicmp/vfcmp instructions.  Also make the vector-vector and
      vector-scalar asign checks a bit more sane under the presence of lax vector
      conversions.
      
      llvm-svn: 53565
      191a6b1f
  7. Jul 01, 2008
  8. Jun 30, 2008
    • 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
  9. Jun 28, 2008
  10. Jun 08, 2008
  11. Jun 05, 2008
  12. Jun 04, 2008
  13. Jun 03, 2008
  14. Jun 01, 2008
Loading