- Jun 02, 2007
-
-
Dale Johannesen authored
llvm-svn: 37394
-
Dale Johannesen authored
See test/CodeGen/X86/test-pic-jtbl.ll for a case where it works well; shaves another 10K off our favorite benchmark. I was hesitant about this because of compile speed, but seems to do OK on a bootstrap. llvm-svn: 37392
-
- May 31, 2007
-
-
Dale Johannesen authored
Do not remove empty landing pads (EH table needs to be updated) llvm-svn: 37375
-
- May 30, 2007
-
-
Dale Johannesen authored
llvm-svn: 37355
-
Dale Johannesen authored
matter until my last change). Reenable tail merging by default. llvm-svn: 37354
-
- May 24, 2007
-
-
Dale Johannesen authored
only one successor. llvm-svn: 37324
-
Dale Johannesen authored
Temporarily, this breaks CodeGen/Generic/2006-02-12-InsertLibraryCall.ll by exposing an unrelated latent problem; working on that. llvm-svn: 37323
-
- May 23, 2007
-
-
Dale Johannesen authored
When considering blocks with more than 2 predecessors, merge the block with the largest number of matching insns, rather than the first block found. Considering that 1 matching insn is enough to show a win for candidates that already end with a branch. llvm-svn: 37315
-
- May 22, 2007
-
-
Dale Johannesen authored
for a target-dependent default with a command-line override; this way should be generally usable. llvm-svn: 37285
-
- May 18, 2007
-
-
Dale Johannesen authored
llvm-svn: 37198
-
- May 15, 2007
-
-
Dale Johannesen authored
llvm-svn: 37089
-
- May 11, 2007
-
-
Dale Johannesen authored
failures on PPC (can happen only when prologue code is null) llvm-svn: 36979
-
- May 10, 2007
-
-
Dale Johannesen authored
llvm-svn: 36966
-
- May 07, 2007
-
-
Dale Johannesen authored
llvm-svn: 36907
-
- May 03, 2007
-
-
Devang Patel authored
llvm-svn: 36662
-
- May 02, 2007
-
-
Devang Patel authored
Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652
-
- May 01, 2007
-
-
Devang Patel authored
llvm-svn: 36632
-
Chris Lattner authored
llvm-svn: 36602
-
- Mar 20, 2007
-
-
Dale Johannesen authored
llvm-svn: 35226
-
- Feb 22, 2007
-
-
Jim Laskey authored
llvm-svn: 34497
-
- Feb 21, 2007
-
-
Jim Laskey authored
llvm-svn: 34476
-
- Feb 17, 2007
-
-
Dale Johannesen authored
llvm-svn: 34359
-
- Jan 26, 2007
-
-
Jim Laskey authored
for debugging and exception handling. llvm-svn: 33550
-
Jim Laskey authored
llvm-svn: 33537
-
- Dec 19, 2006
-
-
Chris Lattner authored
llvm-svn: 32698
-
- Dec 06, 2006
-
-
Chris Lattner authored
is 'unsigned'. llvm-svn: 32279
-
- Nov 18, 2006
-
-
Chris Lattner authored
simplified before we do this xform so that our cost model is accurate. llvm-svn: 31864
-
Chris Lattner authored
llvm-svn: 31861
-
Chris Lattner authored
This speeds up yacr2 by 7% on a core2. llvm-svn: 31856
-
Chris Lattner authored
if (cond) goto BB2 BB1: ... return; BB2: ... Move BB1 to the end of the function so that the code falls through in the non-return case. This has the effect of moving assert (and other no-return call) bodies and return blocks out of loops. llvm-svn: 31855
-
- Nov 08, 2006
-
-
Chris Lattner authored
LBB1_57: #bb207.i movl 72(%esp), %ecx movb (%ecx,%eax), %cl movl 80(%esp), %edx movb %cl, 1(%edx,%eax) incl %eax cmpl $143, %eax jne LBB1_57 #bb207.i jmp LBB1_64 #cond_next255.i intead of: LBB1_57: #bb207.i movl 72(%esp), %ecx movb (%ecx,%eax), %cl movl 80(%esp), %edx movb %cl, 1(%edx,%eax) incl %eax cmpl $143, %eax je LBB1_64 #cond_next255.i jmp LBB1_57 #bb207.i This eliminates a branch per iteration of the loop. This hurted PPC particularly, because the extra branch meant another dispatch group for each iteration of the loop. llvm-svn: 31530
-
- Nov 05, 2006
-
-
Jeff Cohen authored
llvm-svn: 31464
-
- Nov 02, 2006
-
-
Reid Spencer authored
Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
-
- Nov 01, 2006
-
-
Chris Lattner authored
it inserts an uncond branch where it is less likely to cause a problem. This fixes some perf issues on ppc. llvm-svn: 31354
-
Chris Lattner authored
tail is not an entire block for either of them, pick one, split it, then merge the common part. llvm-svn: 31336
-
Chris Lattner authored
llvm-svn: 31335
-
- Oct 29, 2006
-
-
Chris Lattner authored
successors), and make island block movement more general. This compiles CodeGen/X86/2006-04-27-ISelFoldingBug.ll to: _loadAndRLEsource_no_exit_2E_1_label_2E_0: subl $8, %esp movl %esi, 4(%esp) movl %ebx, (%esp) movl 16(%esp), %eax movl 12(%esp), %ecx LBB1_3: #label.0 movl _last, %edx movl %edx, %esi incl %esi movl %esi, _last movl %ecx, %ebx # TRUNCATE movb %bl, %bl movl _block, %esi movb %bl, 1(%esi,%edx) cmpl %eax, _last jge LBB1_2 #codeRepl5.exitStub LBB1_4: #label.0 cmpl $257, %ecx je LBB1_2 #codeRepl5.exitStub LBB1_1: #label.0.no_exit.1_crit_edge.exitStub movl $1, %eax movl (%esp), %ebx movl 4(%esp), %esi addl $8, %esp ret LBB1_2: #codeRepl5.exitStub xorl %eax, %eax movl (%esp), %ebx movl 4(%esp), %esi addl $8, %esp ret instead of: _loadAndRLEsource_no_exit_2E_1_label_2E_0: subl $8, %esp movl %esi, 4(%esp) movl %ebx, (%esp) movl 16(%esp), %eax movl 12(%esp), %ecx jmp LBB1_3 #label.0 LBB1_1: #label.0.no_exit.1_crit_edge.exitStub movl $1, %eax movl (%esp), %ebx movl 4(%esp), %esi addl $8, %esp ret LBB1_2: #codeRepl5.exitStub xorl %eax, %eax movl (%esp), %ebx movl 4(%esp), %esi addl $8, %esp ret LBB1_3: #label.0 movl _last, %edx movl %edx, %esi incl %esi movl %esi, _last movl %ecx, %ebx # TRUNCATE movb %bl, %bl movl _block, %esi movb %bl, 1(%esi,%edx) cmpl %eax, _last jge LBB1_2 #codeRepl5.exitStub LBB1_4: #label.0 cmpl $257, %ecx jne LBB1_1 #label.0.no_exit.1_crit_edge.exitStub jmp LBB1_2 #codeRepl5.exitStub ... which is much better layout :) llvm-svn: 31282
-
- Oct 28, 2006
-
-
Chris Lattner authored
jump tables that are dead. llvm-svn: 31273
-
Chris Lattner authored
the pred block doesn't fall through into them if it's a jumptable. llvm-svn: 31263
-
- Oct 26, 2006
-
-
Chris Lattner authored
llvm-svn: 31188
-