Skip to content
  1. Oct 19, 2010
    • Owen Anderson's avatar
      Get rid of static constructors for pass registration. Instead, every pass... · 6c18d1aa
      Owen Anderson authored
      Get rid of static constructors for pass registration.  Instead, every pass exposes an initializeMyPassFunction(), which
      must be called in the pass's constructor.  This function uses static dependency declarations to recursively initialize
      the pass's dependencies.
      
      Clients that only create passes through the createFooPass() APIs will require no changes.  Clients that want to use the
      CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h
      before parsing commandline arguments.
      
      I have tested this with all standard configurations of clang and llvm-gcc on Darwin.  It is possible that there are problems
      with the static dependencies that will only be visible with non-standard options.  If you encounter any crash in pass
      registration/creation, please send the testcase to me directly.
      
      llvm-svn: 116820
      6c18d1aa
  2. Oct 08, 2010
  3. Aug 06, 2010
  4. Jul 22, 2010
  5. Jul 12, 2010
  6. Mar 05, 2010
  7. Feb 16, 2010
  8. Feb 15, 2010
  9. Feb 10, 2010
  10. Feb 05, 2010
    • Bob Wilson's avatar
      Do not reassociate expressions with i1 type. SimplifyCFG converts some · 27dfb1e1
      Bob Wilson authored
      short-circuited conditions to AND/OR expressions, and those expressions
      are often converted back to a short-circuited form in code gen.  The
      original source order may have been optimized to take advantage of the
      expected values, and if we reassociate them, we change the order and
      subvert that optimization.  Radar 7497329.
      
      llvm-svn: 95333
      27dfb1e1
  11. Jan 09, 2010
  12. Jan 08, 2010
  13. Jan 05, 2010
  14. Jan 02, 2010
  15. Jan 01, 2010
  16. Dec 31, 2009
  17. Nov 14, 2009
  18. Oct 21, 2009
    • Victor Hernandez's avatar
      Make changes to rev 84292 as requested by Chris Lattner. · be9e1791
      Victor Hernandez authored
      Most changes are cleanup, but there is 1 correctness fix:
      I fixed InstCombine so that the icmp is removed only if the malloc call is removed (which requires explicit removal because the Worklist won't DCE any calls since they can have side-effects).
      
      llvm-svn: 84772
      be9e1791
  19. Oct 17, 2009
  20. Sep 27, 2009
  21. Sep 19, 2009
Loading