Skip to content
  1. Dec 03, 2009
  2. Dec 02, 2009
  3. Dec 01, 2009
  4. Nov 30, 2009
    • Jakob Stoklund Olesen's avatar
      New virtual registers created for spill intervals should inherit allocation... · 020d8d4c
      Jakob Stoklund Olesen authored
      New virtual registers created for spill intervals should inherit allocation hints from the original register.
      
      This helps us avoid silly copies when rematting values that are copied to a physical register:
      
      leaq	_.str44(%rip), %rcx
      movq	%rcx, %rsi
      call	_strcmp
      
      becomes:
      
      leaq	_.str44(%rip), %rsi
      call	_strcmp
      
      The coalescer will not touch the movq because that would tie down the physical register.
      
      llvm-svn: 90163
      020d8d4c
    • Bob Wilson's avatar
      Reprioritize tests for tail duplication to be aggressive about indirect · 598f8ff9
      Bob Wilson authored
      branches even when optimizing for code size.  Unless we find evidence to the
      contrary in the future, the special treatment for indirect branches does not
      have a significant effect on code size, and performance still matters with -Os.
      
      llvm-svn: 90147
      598f8ff9
    • Bob Wilson's avatar
      Remove isProfitableToDuplicateIndirectBranch target hook. It is profitable · 505ddaa4
      Bob Wilson authored
      for all the processors where I have tried it, and even when it might not help
      performance, the cost is quite low.  The opportunities for duplicating
      indirect branches are limited by other factors so code size does not change
      much due to tail duplicating indirect branches aggressively.
      
      llvm-svn: 90144
      505ddaa4
Loading