- Oct 23, 2006
-
-
Jim Laskey authored
llvm-svn: 31129
-
Chris Lattner authored
llvm-svn: 31125
-
Chris Lattner authored
llvm-svn: 31124
-
- Oct 22, 2006
-
-
Chris Lattner authored
llvm-svn: 31119
-
- Oct 21, 2006
-
-
Chris Lattner authored
llvm-svn: 31102
-
Chris Lattner authored
call L_strcmp$stub testl %eax, %eax - jne LBB26_208 #cond_true6020 - jmp LBB26_227 #bb7119 + je LBB26_227 #bb7119 LBB26_208: #cond_true6020 movl $l31_str14, 4(%esp) testl %eax, %eax - jne LBB26_704 #cond_true13042 - jmp LBB26_713 #bb13151 + je LBB26_713 #bb13151 LBB26_704: #cond_true13042 movl $_str52, 4(%esp) cmpl 76(%ecx), %eax - jge LBB26_1628 #cond_false63.i.i - jmp LBB26_1769 #_Z8makeGridP13mrSurfaceListidiidd.exit.i + jl LBB26_1769 #_Z8makeGridP13mrSurfaceListidiidd.exit.i LBB26_1628: #cond_false63.i.i movl $0, 48964(%esp) llvm-svn: 31100
-
Chris Lattner authored
jle FOO jmp BAR BAR: into: jle FOO BAR: ... whoa! llvm-svn: 31098
-
Chris Lattner authored
1. Remove a bunch of ifdef'd code. 2. When a block just contains an uncond branch, change all blocks branching to it to jump to the destination instead. 3. If branch analysis tells us some edges in the machinecfg are not actually possible, remove them. #2 triggers a suprisingly large number of times. llvm-svn: 31094
-
Chris Lattner authored
This is currently disabled by default and limited in several ways, but does have a positive effect. llvm-svn: 31090
-
Chris Lattner authored
llvm-svn: 31088
-
- Oct 20, 2006
-
-
Chris Lattner authored
output. llvm-svn: 31067
-
Reid Spencer authored
This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
-
- Oct 19, 2006
-
-
Bill Wendling authored
blocks into the basic block list when lowering the switch inst. into a binary tree of if-then statements. This allows the "visitSwitchCase" func to allow for fall-through behavior. llvm-svn: 31057
-
- Oct 18, 2006
-
-
Jim Laskey authored
llvm-svn: 31040
-
Jim Laskey authored
llvm-svn: 31035
-
Chris Lattner authored
# notes in it. llvm-svn: 31026
-
Chris Lattner authored
llvm-svn: 31025
-
Chris Lattner authored
one separately. llvm-svn: 31022
-
- Oct 17, 2006
-
-
Chris Lattner authored
llvm-svn: 31020
-
Chris Lattner authored
llvm-svn: 31019
-
Evan Cheng authored
llvm-svn: 31017
-
Evan Cheng authored
llvm-svn: 31016
-
Jim Laskey authored
llvm-svn: 31009
-
Chris Lattner authored
branch folding can now compile stuff like this: void foo(int W, int X, int Y, int Z) { if (W & 1) { for (; X;--X) bar(); } else if (W & 2) { for (; Y;--Y) bar(); } else if (W & 4) { for (; Z;--Z) bar(); } else if (W & 8) { for (; W;--W) bar(); } if (W) { bar(); } } contrived testcase where loops exits all end up merging together. To have the loop merges be: ... cmplw cr0, r30, r27 bne cr0, LBB1_14 ;bb38 LBB1_16: ;cond_next48.loopexit mr r27, r29 LBB1_20: ;cond_next48 cmplwi cr0, r27, 0 beq cr0, LBB1_22 ;UnifiedReturnBlock ... instead of: ... cmplw cr0, r30, r27 bne cr0, LBB1_14 ;bb38 LBB1_16: ;cond_next48.loopexit mr r27, r29 b LBB1_20 ;cond_next48 LBB1_17: ;cond_next48.loopexit1 b LBB1_20 ;cond_next48 LBB1_18: ;cond_next48.loopexit2 b LBB1_20 ;cond_next48 LBB1_19: ;cond_next48.loopexit3 LBB1_20: ;cond_next48 cmplwi cr0, r27, 0 beq cr0, LBB1_22 ;UnifiedReturnBlock ... This is CodeGen/PowerPC/branch-opt.ll llvm-svn: 31006
-
Jim Laskey authored
llvm-svn: 31001
-
Chris Lattner authored
It now correctly deletes unreachable blocks and blocks that are empty. llvm-svn: 31000
-
Evan Cheng authored
llvm-svn: 30999
-
Jim Laskey authored
llvm-svn: 30997
-
Evan Cheng authored
(vector_shuffle (vbitconvert (vbuildvector (copyfromreg v4f32), 1, v4f32), 4, f32), (undef, undef, undef, undef), (0, 0, 0, 0), 4, f32) to the vbitconvert is a very bad idea. llvm-svn: 30989
-
- Oct 16, 2006
-
-
Jim Laskey authored
llvm-svn: 30984
-
Jim Laskey authored
llvm-svn: 30982
-
- Oct 14, 2006
-
-
Jim Laskey authored
llvm-svn: 30961
-
Evan Cheng authored
llvm-svn: 30959
-
Chris Lattner authored
so that it can be deleted if unused. llvm-svn: 30955
-
Chris Lattner authored
llvm-svn: 30953
-
Chris Lattner authored
SelectionDAG and it has since bitrotted. Remove the copy from SelectionDAG. Next, remove the constant folding piece of DAGCombiner::SimplifySetCC into a new FoldSetCC method which can be used by getNode() and SimplifySetCC. This fixes obscure bugs. llvm-svn: 30952
-
Chris Lattner authored
llvm-svn: 30951
-
Chris Lattner authored
llvm-svn: 30950
-
Jim Laskey authored
llvm-svn: 30948
-
Chris Lattner authored
which is undefined. "0" isn't a power of 2. llvm-svn: 30947
-