aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2005-08-03Fix a nasty dangling pointer issue. The ScalarEvolution pass would keep aChris Lattner
2005-08-03The correct fix for PR612, which also fixesChris Lattner
2005-08-03When inserting code, make sure not to insert it before PHI nodes. ThisChris Lattner
2005-08-03Fix Transforms/SimplifyCFG/2005-08-03-PHIFactorCrash.ll, a problem thatChris Lattner
2005-08-03Finally, add the required constraint checks to fix Transforms/SimplifyCFG/20...Chris Lattner
2005-08-03Simplify some code, add the correct pred checksChris Lattner
2005-08-03Refactor code out of PropagatePredecessorsForPHIs, turning it into a pure fun...Chris Lattner
2005-08-03use splice instead of remove/insert to avoid some symtab operationsChris Lattner
2005-08-03move two functions up in the file, use SafeToMergeTerminators to eliminateChris Lattner
2005-08-03Rip some code out of the main SimplifyCFG function into a subfunction andChris Lattner
2005-08-02Disable this patch:Chris Lattner
2005-08-02Change a place to use an arbitrary value instead of null, when possibleChris Lattner
2005-08-02Update to use the new MathExtras.h support for log2 computation.Chris Lattner
2005-08-02Like the comment says, do not insert cast instructions before phi nodesChris Lattner
2005-08-02This code was very close, but not quite right. It did not take intoChris Lattner
2005-08-02add a comment, make a check more lenientChris Lattner
2005-08-02Simplify for loop, clear a per-loop map after processing each loopChris Lattner
2005-08-02Add a commentChris Lattner
2005-08-02Fix an iterator invalidation problemChris Lattner
2005-08-01ConstantInt::get only works for arguments < 128.Chris Lattner
2005-07-30Keep tabs and trailing spaces out.Jeff Cohen
2005-07-30Fix VC++ build problems.Jeff Cohen
2005-07-30Ack, typoNate Begeman
2005-07-30Commit a new LoopStrengthReduce pass that can use scalar evolutions andNate Begeman
2005-07-30Break SCEVExpander out of IndVarSimplify into its own .h/.cpp file so thatNate Begeman
2005-07-27Eliminate all remaining tabs and trailing spaces.Jeff Cohen
2005-07-26ConvertibleToGEP always returns 0, remove some old crufty code whichChris Lattner
2005-07-20Do not let MaskedValueIsZero consider undef to be zero, for reasonsChris Lattner
2005-07-18When transforming &A[i] < &A[j] -> i < j, make sure to perform the comparisonChris Lattner
2005-07-07Fix a problem that instcombine would hit when dealing with unreachable code.Chris Lattner
2005-06-30Fix PR590 and Transforms/Mem2Reg/2005-06-30-ReadBeforeWrite.ll.Chris Lattner
2005-06-29Doh! Forgot to LLVMify the style.John Criswell
2005-06-29Basic fix for PR#591; don't convert an fprintf() to an fwrite() if thereJohn Criswell
2005-06-24add a debug typeChris Lattner
2005-06-20prevent va_arg from being hoisted from a loopAndrew Lenharth
2005-06-19prevent DCE of vaarg intrinsics. This should take care of most regressionsAndrew Lenharth
2005-06-18core changes for varargsAndrew Lenharth
2005-06-18Fix a problem with the strcmp optimization checking the wrong string andReid Spencer
2005-06-18Clean up some uninitialized variables and missing return statements thatReid Spencer
2005-06-17This is not true: (X != 13 | X < 15) -> X < 15Chris Lattner
2005-06-17Don't crash when dealing with INTMIN. This fixes PR585 andChris Lattner
2005-06-17Don't crash on: X = phi (X, X).Chris Lattner
2005-06-17avoid constructing out of range shift amounts.Chris Lattner
2005-06-16Fix PR583 and testcase Transforms/InstCombine/2005-06-15-DivSelectCrash.llChris Lattner
2005-06-16Fix PR571, removing code that does just the WRONG thing :)Chris Lattner
2005-06-16Fix a bug in my previous patch. Do not get the shift amount type (whichChris Lattner
2005-06-15Fix PR575, patch provided by John Mellor-Crummey. Thanks!Chris Lattner
2005-06-15Fix PR582. The rewriter can move casts around, which invalidated theChris Lattner
2005-06-15Do not promote globals only used by main to locals if there are constantexprsChris Lattner
2005-06-15Fix PR577 and testcase InstCombine/2005-06-15-ShiftSetCCCrash.ll.Chris Lattner