Skip to content
  1. Jun 18, 2011
  2. Jun 14, 2011
  3. Jun 13, 2011
  4. Jun 09, 2011
  5. Jun 03, 2011
  6. May 24, 2011
  7. May 06, 2011
  8. Apr 20, 2011
  9. Apr 14, 2011
  10. Apr 13, 2011
  11. Mar 30, 2011
  12. Mar 29, 2011
  13. Mar 26, 2011
  14. Mar 23, 2011
  15. Mar 16, 2011
  16. Mar 09, 2011
  17. Feb 15, 2011
  18. Feb 14, 2011
  19. Jan 24, 2011
  20. Jan 23, 2011
    • Chris Lattner's avatar
      Enhance SRoA to promote allocas that are used by selects in some · a960725d
      Chris Lattner authored
      common cases.  This triggers a surprising number of times in SPEC2K6
      because min/max idioms end up doing this.  For example, code from the
      STL ends up looking like this to SRoA:
      
        %202 = load i64* %__old_size, align 8, !tbaa !3
        %203 = load i64* %__old_size, align 8, !tbaa !3
        %204 = load i64* %__n, align 8, !tbaa !3
        %205 = icmp ult i64 %203, %204
        %storemerge.i = select i1 %205, i64* %__n, i64* %__old_size
        %206 = load i64* %storemerge.i, align 8, !tbaa !3
      
      We can now promote both the __n and the __old_size allocas.
      
      This addresses another chunk of rdar://7339113, poor codegen on
      stringswitch.
      
      llvm-svn: 124088
      a960725d
Loading