- Aug 12, 2005
-
-
Chris Lattner authored
Instead, just update the BB in-place. This is both faster, and it prevents split-critical-edges from shuffling the PHI argument list unneccesarily. llvm-svn: 22765
-
- Aug 05, 2005
-
-
Chris Lattner authored
llvm-svn: 22667
-
Nate Begeman authored
BasicBlock's removePredecessor routine. This requires shuffling around the definition and implementation of hasContantValue from Utils.h,cpp into Instructions.h,cpp llvm-svn: 22664
-
- Aug 03, 2005
-
-
Chris Lattner authored
occurred while bugpointing another testcase llvm-svn: 22621
-
Chris Lattner authored
Finally, add the required constraint checks to fix Transforms/SimplifyCFG/2005-08-01-PHIUpdateFail.ll the right way llvm-svn: 22615
-
Chris Lattner authored
llvm-svn: 22613
-
Chris Lattner authored
Refactor code out of PropagatePredecessorsForPHIs, turning it into a pure function with no side-effects llvm-svn: 22612
-
Chris Lattner authored
llvm-svn: 22611
-
Chris Lattner authored
some duplicated code llvm-svn: 22610
-
Chris Lattner authored
call it from the only place it is live. No functionality changes. llvm-svn: 22609
-
Chris Lattner authored
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050801/027345.html This breaks real programs and only fixes an obscure regression testcase. A real fix is in development. llvm-svn: 22606
-
Chris Lattner authored
llvm-svn: 22605
-
- Aug 02, 2005
-
-
Chris Lattner authored
consideration the case where a reference in an unreachable block could occur. This fixes Transforms/SimplifyCFG/2005-08-01-PHIUpdateFail.ll, something I ran into while bugpoint'ing another pass. llvm-svn: 22584
-
- Jul 27, 2005
-
-
Jeff Cohen authored
llvm-svn: 22523
-
- Jun 30, 2005
-
-
Chris Lattner authored
The optimization for locally used allocas was not safe for allocas that were read before they were written. This change disables that optimization in that case. llvm-svn: 22318
-
- Jun 19, 2005
-
-
Andrew Lenharth authored
llvm-svn: 22263
-
- Jun 17, 2005
-
-
Chris Lattner authored
This fixes PR584 and Transforms/SimplifyCFG/2005-06-16-PHICrash.ll llvm-svn: 22232
-
- May 21, 2005
-
-
Chris Lattner authored
llvm-svn: 22158
-
- May 14, 2005
-
-
Chris Lattner authored
a call. This fixes Prolangs-C++/deriv2, kimwitu++, and Misc-C++/bigfib on X86 with -enable-x86-fastcc. llvm-svn: 22023
-
- May 09, 2005
-
-
Chris Lattner authored
turning calls into invokes llvm-svn: 21797
-
- May 06, 2005
-
-
Chris Lattner authored
not change code after testing it without retesting! llvm-svn: 21741
-
Chris Lattner authored
llvm-svn: 21736
-
Chris Lattner authored
llvm-svn: 21719
-
- Apr 29, 2005
-
-
Reid Spencer authored
are moved to simplify-libcalls pass. llvm-svn: 21614
-
Reid Spencer authored
sinh, cosh, etc. * Make the name comparisons for the fp libcalls a little more efficient by switching on the first character of the name before doing comparisons. llvm-svn: 21611
-
- Apr 23, 2005
-
-
Jeff Cohen authored
llvm-svn: 21480
-
- Apr 22, 2005
-
-
Misha Brukman authored
llvm-svn: 21427
-
- Apr 21, 2005
-
-
Chris Lattner authored
llvm-svn: 21393
-
Chris Lattner authored
convert this: %tmp.1 = seteq int %i, 0 ; <bool> [#uses=1] br bool %tmp.1, label %shortcirc_done, label %shortcirc_next shortcirc_next: ; preds = %entry %tmp.4 = seteq int %j, 0 ; <bool> [#uses=1] br label %shortcirc_done shortcirc_done: ; preds = %shortcirc_next, %entry %shortcirc_val = phi bool [ %tmp.4, %shortcirc_next ], [ true, %entry ] ; <bool> [#uses=1] to this: %tmp.1 = seteq int %i, 0 ; <bool> [#uses=1] %tmp.4 = seteq int %j, 0 ; <bool> [#uses=1] %shortcirc_val = select bool %tmp.1, bool true, bool %tmp.4 ; <bool> [#uses=1] ... which is later simplified by instcombine into an or. llvm-svn: 21388
-
- Apr 12, 2005
-
-
Chris Lattner authored
llvm-svn: 21253
-
- Mar 17, 2005
-
-
Chris Lattner authored
Bill Wendling!! llvm-svn: 20649
-
- Mar 15, 2005
-
-
Chris Lattner authored
using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597
-
- Mar 05, 2005
-
-
Chris Lattner authored
llvm-svn: 20463
-
- Feb 27, 2005
-
-
Chris Lattner authored
llvm-svn: 20343
-
- Feb 26, 2005
-
-
Chris Lattner authored
llvm-svn: 20334
-
- Feb 24, 2005
-
-
Chris Lattner authored
This does a simple form of "jump threading", which eliminates CFG edges that are provably dead. This triggers 90 times in the external tests, and eliminating CFG edges is always always a good thing! :) llvm-svn: 20300
-
- Jan 29, 2005
-
-
Chris Lattner authored
llvm-svn: 19898
-
- Jan 01, 2005
-
-
Chris Lattner authored
SimplifyCFG is one of those passes that we use for final cleanup: it should not rely on other passes to clean up its garbage. This fixes the "why are trivially dead setcc's in the output of gccas" problem. llvm-svn: 19212
-
- Dec 11, 2004
-
-
Chris Lattner authored
llvm-svn: 18799
-
- Dec 10, 2004
-
-
Chris Lattner authored
and the failure on make_dparser last night. llvm-svn: 18766
-