- Sep 29, 2006
-
-
Chris Lattner authored
Eliminate ConstantBool::True and ConstantBool::False. Instead, provide ConstantBool::getTrue() and ConstantBool::getFalse(). llvm-svn: 30665
-
- Sep 27, 2006
-
-
Chris Lattner authored
llvm-svn: 30623
-
- Sep 23, 2006
-
-
Nick Lewycky authored
llvm-svn: 30588
-
- Sep 21, 2006
-
-
Chris Lattner authored
llvm-svn: 30555
-
Nick Lewycky authored
llvm-svn: 30552
-
Nick Lewycky authored
with the right answer. llvm-svn: 30550
-
- Sep 20, 2006
-
-
Nick Lewycky authored
Fixes infinite loop in resolve(). llvm-svn: 30540
-
Andrew Lenharth authored
llvm-svn: 30535
-
Chris Lattner authored
this comparison, but never checked it. Whoops, no wonder we miscompiled 177.mesa! llvm-svn: 30511
-
Evan Cheng authored
llvm-svn: 30505
-
Evan Cheng authored
llvm-svn: 30504
-
- Sep 19, 2006
-
-
Andrew Lenharth authored
If we have an add, do it in the pointer realm, not the int realm. This is critical in the linux kernel for pointer analysis correctness llvm-svn: 30496
-
Chris Lattner authored
llvm-svn: 30482
-
- Sep 18, 2006
-
-
Nick Lewycky authored
that we can't modify the CFG any more, at least not until it's possible to update the dominator tree (PR217). llvm-svn: 30469
-
Chris Lattner authored
llvm-svn: 30465
-
Chris Lattner authored
llvm-svn: 30456
-
Chris Lattner authored
llvm-svn: 30450
-
Chris Lattner authored
Use isLogicalShift/isArithmeticShift to simplify code. llvm-svn: 30448
-
- Sep 16, 2006
-
-
Chris Lattner authored
llvm-svn: 30405
-
- Sep 13, 2006
-
-
Nick Lewycky authored
llvm-svn: 30305
-
Nick Lewycky authored
llvm-svn: 30304
-
Nick Lewycky authored
llvm-svn: 30298
-
- Sep 12, 2006
-
-
Chris Lattner authored
Handle this. This fixes PR908 and Transforms/LICM/2006-09-12-DeadUserOfSunkInstr.ll llvm-svn: 30275
-
- Sep 11, 2006
-
-
Chris Lattner authored
llvm-svn: 30266
-
Nick Lewycky authored
llvm-svn: 30251
-
- Sep 10, 2006
-
-
Chris Lattner authored
bit. This fixes Regression/Transforms/TailDup/MergeTest.ll llvm-svn: 30237
-
Nick Lewycky authored
operations (like findProperties) should be faster, at the expense of unionSets being slower in cases that are rare in practise. Don't erase a dead Instruction. This fixes a memory corruption issue. llvm-svn: 30235
-
Chris Lattner authored
llvm-svn: 30234
-
- Sep 09, 2006
-
-
Chris Lattner authored
This implements select.ll::test18. llvm-svn: 30230
-
- Sep 07, 2006
-
-
Chris Lattner authored
For Transforms/TailDup/if-tail-dup.ll, f.e., it produces: _foo: movl 8(%esp), %eax movl 4(%esp), %ecx testl $1, %ecx je LBB1_2 #cond_next LBB1_1: #cond_true movl $1, (%eax) LBB1_2: #cond_next testl $2, %ecx je LBB1_4 #cond_next10 LBB1_3: #cond_true6 movl $1, 4(%eax) LBB1_4: #cond_next10 testl $4, %ecx je LBB1_6 #cond_next18 LBB1_5: #cond_true14 movl $1, 8(%eax) LBB1_6: #cond_next18 testl $8, %ecx je LBB1_8 #return LBB1_7: #cond_true22 movl $1, 12(%eax) ret LBB1_8: #return ret instead of: _foo: movl 4(%esp), %eax testl $2, %eax sete %cl movl 8(%esp), %edx testl $1, %eax je LBB1_2 #cond_next LBB1_1: #cond_true movl $1, (%edx) testb %cl, %cl jne LBB1_4 #cond_next10 jmp LBB1_3 #cond_true6 LBB1_2: #cond_next testb %cl, %cl jne LBB1_4 #cond_next10 LBB1_3: #cond_true6 movl $1, 4(%edx) testl $4, %eax je LBB1_6 #cond_next18 jmp LBB1_5 #cond_true14 LBB1_4: #cond_next10 testl $4, %eax je LBB1_6 #cond_next18 LBB1_5: #cond_true14 movl $1, 8(%edx) testl $8, %eax je LBB1_8 #return jmp LBB1_7 #cond_true22 LBB1_6: #cond_next18 testl $8, %eax je LBB1_8 #return LBB1_7: #cond_true22 movl $1, 12(%edx) ret LBB1_8: #return ret llvm-svn: 30158
-
- Sep 02, 2006
-
-
Nick Lewycky authored
Reorder operations to remove duplicated work. Fix to leave floating-point types out of the optimization. Add tests to predsimplify.ll for SwitchInst and SelectInst handling. llvm-svn: 30055
-
- Sep 01, 2006
-
-
Nick Lewycky authored
corrects missing optimization opportunity removing cases from a switch. llvm-svn: 30009
-
- Aug 31, 2006
-
-
Nick Lewycky authored
another Value) weren't being found by findProperties. This fixes predsimplify.ll test6, a missed optimization opportunity. llvm-svn: 29991
-
- Aug 30, 2006
-
-
Nick Lewycky authored
If a branch's condition has become a ConstantBool, simplify it immediately. Removing the edge saves work and exposes up more optimization opportunities in the pass. Add support for SelectInst. llvm-svn: 29970
-
Devang Patel authored
exit blocks. The output is dependent on addresses of basic block. Add and use Loop::getUniqueExitBlocks. llvm-svn: 29966
-
- Aug 29, 2006
-
-
Owen Anderson authored
llvm-svn: 29950
-
Nick Lewycky authored
and simplifies expressions. This implements the optimization described in PR807. llvm-svn: 29947
-
- Aug 28, 2006
-
-
Owen Anderson authored
gccas on 252.eon llvm-svn: 29936
-
Chris Lattner authored
llvm-svn: 29925
-
- Aug 27, 2006
-
-
Chris Lattner authored
llvm-svn: 29911
-