Skip to content
  1. Feb 24, 2010
  2. Feb 23, 2010
  3. Feb 18, 2010
  4. Feb 16, 2010
  5. Feb 15, 2010
  6. Feb 13, 2010
  7. Feb 10, 2010
  8. Feb 09, 2010
    • Daniel Dunbar's avatar
      IRgen: Add CreateMemTemp, for creating an temporary memory object for a... · a7566f16
      Daniel Dunbar authored
      IRgen: Add CreateMemTemp, for creating an temporary memory object for a particular type, and flood fill. - CreateMemTemp sets the alignment on the alloca correctly, which fixes a great many places in IRgen where we were doing the wrong thing.
      
      - This fixes many many more places than the test case, but my feeling is we need to audit alignment systematically so I'm not inclined to try hard to test the individual fixes in this patch. If this bothers you, patches welcome!
      
      PR6240.
      
      llvm-svn: 95648
      a7566f16
  9. Feb 05, 2010
  10. Feb 02, 2010
    • Douglas Gregor's avatar
      Implement promotion for enumeration types. · a71cc153
      Douglas Gregor authored
      WHAT!?!
      
      It turns out that Type::isPromotableIntegerType() was not considering
      enumeration types to be promotable, so we would never do the
      promotion despite having properly computed the promotion type when the
      enum was defined. Various operations on values of enum type just
      "worked" because we could still compute the integer rank of an enum
      type; the oddity, however, is that operations such as "add an enum and
      an unsigned" would often have an enum result type (!). The bug
      actually showed up as a spurious -Wformat diagnostic
      (<rdar://problem/7595366>), but in theory it could cause miscompiles.
      
      In this commit:
        - Enum types with a promotion type of "int" or "unsigned int" are
        promotable.
        - Tweaked the computation of promotable types for enums
        - For all of the ABIs, treat enum types the same way as their
        underlying types (*not* their promotion types) for argument passing
        and return values
        - Extend the ABI tester with support for enumeration types
      
      llvm-svn: 95117
      a71cc153
    • Daniel Dunbar's avatar
    • Daniel Dunbar's avatar
      ARM/APCS: Pass Complex types following llvm-gcc. · eedf151c
      Daniel Dunbar authored
      llvm-svn: 95029
      eedf151c
  11. Feb 01, 2010
  12. Jan 29, 2010
  13. Jan 28, 2010
  14. Jan 23, 2010
  15. Jan 13, 2010
  16. Jan 08, 2010
  17. Jan 03, 2010
  18. Dec 26, 2009
  19. Dec 23, 2009
  20. Dec 18, 2009
  21. Dec 15, 2009
  22. Dec 14, 2009
Loading