Skip to content
  1. Jun 18, 2004
  2. Jun 17, 2004
  3. May 27, 2004
  4. May 25, 2004
  5. May 24, 2004
  6. May 23, 2004
  7. Apr 23, 2004
  8. Apr 21, 2004
  9. Apr 20, 2004
  10. Apr 19, 2004
  11. Apr 12, 2004
  12. Apr 08, 2004
  13. Mar 18, 2004
  14. Mar 15, 2004
  15. Mar 14, 2004
  16. Mar 08, 2004
    • Chris Lattner's avatar
      Implement ArgumentPromotion/aggregate-promote.ll · fe6f2e3e
      Chris Lattner authored
      This allows pointers to aggregate objects, whose elements are only read, to
      be promoted and passed in by element instead of by reference.  This can
      enable a LOT of subsequent optimizations in the caller function.
      
      It's worth pointing out that this stuff happens a LOT of C++ programs, because
      objects in templates are generally passed around by reference.  When these
      templates are instantiated on small aggregate or scalar types, however, it is
      more efficient to pass them in by value than by reference.
      
      This transformation triggers most on C++ codes (e.g. 334 times on eon), but
      does happen on C codes as well.  For example, on mesa it triggers 72 times,
      and on gcc it triggers 35 times.  this is amazingly good considering that
      we are using 'basicaa' so far.
      
      llvm-svn: 12202
      fe6f2e3e
  17. Mar 07, 2004
  18. Mar 01, 2004
  19. Feb 27, 2004
  20. Feb 26, 2004
Loading