Skip to content
  1. Nov 06, 2009
    • Chris Lattner's avatar
      Extend jump threading to support much more general threading · 68d2417e
      Chris Lattner authored
      predicates.  This allows us to jump thread things like:
      
      _ZN12StringSwitchI5ColorE4CaseILj7EEERS1_RAT__KcRKS0_.exit119:
        %tmp1.i24166 = phi i8 [ 1, %bb5.i117 ], [ %tmp1.i24165, %_Z....exit ], [ %tmp1.i24165, %bb4.i114 ] 
        %toBoolnot.i87 = icmp eq i8 %tmp1.i24166, 0     ; <i1> [#uses=1]
        %tmp4.i90 = icmp eq i32 %tmp2.i, 6              ; <i1> [#uses=1]
        %or.cond173 = and i1 %toBoolnot.i87, %tmp4.i90  ; <i1> [#uses=1]
        br i1 %or.cond173, label %bb4.i96, label %_ZN12...
      
      Where it is "obvious" that when coming from %bb5.i117 that the 'and' is always 
      false.  This triggers a surprisingly high number of times in the testsuite, 
      and gets us closer to generating good code for doug's strswitch testcase.
      
      This also make a bunch of other code in jump threading redundant, I'll rip
      out in the next patch.  This survived an enable-checking llvm-gcc bootstrap.
      
      llvm-svn: 86264
      68d2417e
    • Chris Lattner's avatar
      remove a bunch of extraneous LLVMContext arguments · 46b5c642
      Chris Lattner authored
      from various APIs, addressing PR5325.
      
      llvm-svn: 86231
      46b5c642
  2. Nov 05, 2009
  3. Oct 11, 2009
  4. Oct 10, 2009
  5. Sep 27, 2009
  6. Sep 02, 2009
  7. Aug 13, 2009
  8. Jul 31, 2009
  9. Jul 29, 2009
  10. Jul 26, 2009
  11. Jul 25, 2009
  12. Jul 24, 2009
  13. Jul 22, 2009
  14. Jul 21, 2009
  15. Jul 16, 2009
  16. Jul 15, 2009
  17. Jul 10, 2009
  18. Jul 07, 2009
  19. Jul 06, 2009
  20. Jul 03, 2009
  21. Jul 02, 2009
  22. Jun 19, 2009
  23. May 04, 2009
  24. Mar 17, 2009
  25. Mar 06, 2009
  26. Jan 19, 2009
  27. Jan 09, 2009
  28. Dec 08, 2008
  29. Dec 04, 2008
Loading