| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Put the hack back in that removes features, causes regressions to fail, but | Reid Spencer | 2005-06-15 | 1 | -0/+2 | |
| | | | | | | | allows test programs to succeed. Actual fix for this is forthcoming. llvm-svn: 22213 | |||||
| * | Unbreak several InstCombine regression checks introduced by a hack to | Reid Spencer | 2005-06-13 | 1 | -2/+0 | |
| | | | | | | | fix the bzip2 test. A better hack is needed. llvm-svn: 22209 | |||||
| * | Fix a 64-bit problem, passing (int)0 through ... instead of (void*)0 | Chris Lattner | 2005-06-09 | 1 | -4/+4 | |
| | | | | | llvm-svn: 22206 | |||||
| * | Fix a problem on 64-bit targets where we passed (int)0 through ... instead of | Chris Lattner | 2005-06-09 | 1 | -7/+7 | |
| | | | | | | | (void*)0. llvm-svn: 22205 | |||||
| * | hack to fix bzip2 (bug 571) | Andrew Lenharth | 2005-06-04 | 1 | -0/+2 | |
| | | | | | llvm-svn: 22192 | |||||
| * | Make the registration hash_map static. No other module needs it. Also, | Reid Spencer | 2005-05-21 | 1 | -1/+5 | |
| | | | | | | | document what its for a little better. llvm-svn: 22164 | |||||
| * | Adjust the file comment to read a little easier. | Reid Spencer | 2005-05-21 | 1 | -6/+7 | |
| | | | | | llvm-svn: 22163 | |||||
| * | Make sure ... arguments are casted to sbyte* where needed. | Reid Spencer | 2005-05-21 | 1 | -13/+12 | |
| | | | | | llvm-svn: 22162 | |||||
| * | Add a "brief" comment for CastToCStr | Reid Spencer | 2005-05-21 | 1 | -0/+1 | |
| | | | | | llvm-svn: 22161 | |||||
| * | Fix mismatched type problem that crashed on cases like this: | Chris Lattner | 2005-05-20 | 1 | -8/+17 | |
| | | | | | | | | | sprintf(P, "%s", X); Where X is not an sbyte*. This fixes the bug JohnMC reported on llvm-bugs. llvm-svn: 22159 | |||||
| * | Fix Transforms/SimplifyCFG/switch-simplify-crash.ll | Chris Lattner | 2005-05-20 | 1 | -0/+7 | |
| | | | | | llvm-svn: 22158 | |||||
| * | teach the inliner about coldcc and noreturn functions | Chris Lattner | 2005-05-18 | 1 | -0/+15 | |
| | | | | | llvm-svn: 22113 | |||||
| * | Don't look for __builtin_ffs, we'll never see it from llvm-gcc and there's | Reid Spencer | 2005-05-15 | 1 | -14/+0 | |
| | | | | | | | not reason to include it for other front ends. llvm-svn: 22070 | |||||
| * | Provide this optimization as well: | Reid Spencer | 2005-05-15 | 1 | -5/+45 | |
| | | | | | | | ffs(x) -> (x == 0 ? 0 : 1+llvm.cttz(x)) llvm-svn: 22068 | |||||
| * | Duh .. you actually have to #include Config/config.h before you can test | Reid Spencer | 2005-05-15 | 1 | -0/+1 | |
| | | | | | | | for one of the values that it defines! llvm-svn: 22058 | |||||
| * | Changes for ffs lib call simplification: | Reid Spencer | 2005-05-14 | 1 | -3/+74 | |
| | | | | | | | | | * Check for availability of ffsll call in configure script * Support ffs, ffsl, and ffsll conversion to constant value if the argument is constant. llvm-svn: 22027 | |||||
| * | Preserve calling conv when hacking on calls | Chris Lattner | 2005-05-14 | 2 | -0/+6 | |
| | | | | | llvm-svn: 22025 | |||||
| * | preserve calling conventions when hacking on code | Chris Lattner | 2005-05-14 | 2 | -1/+4 | |
| | | | | | llvm-svn: 22024 | |||||
| * | Make sure to preserve the calling convention when changing an invoke into | Chris Lattner | 2005-05-14 | 1 | -0/+2 | |
| | | | | | | | | a call. This fixes Prolangs-C++/deriv2, kimwitu++, and Misc-C++/bigfib on X86 with -enable-x86-fastcc. llvm-svn: 22023 | |||||
| * | calling a function with the wrong CC is undefined, turn it into an unreachable | Chris Lattner | 2005-05-13 | 1 | -0/+14 | |
| | | | | | | | | instruction. This is useful for catching optimizers that don't preserve calling conventions llvm-svn: 21928 | |||||
| * | When lowering invokes to calls, amke sure to preserve the calling conv. This | Chris Lattner | 2005-05-13 | 1 | -7/+9 | |
| | | | | | | | fixes Ptrdist/anagram with x86 llcbeta llvm-svn: 21925 | |||||
| * | Prefer int 0 instead of long 0 for GEP arguments. | Chris Lattner | 2005-05-13 | 1 | -3/+3 | |
| | | | | | llvm-svn: 21924 | |||||
| * | Fix Reassociate/shifttest.ll | Chris Lattner | 2005-05-10 | 1 | -6/+7 | |
| | | | | | llvm-svn: 21839 | |||||
| * | If a function contains no allocas, all of the calls in it are trivially | Chris Lattner | 2005-05-09 | 1 | -3/+45 | |
| | | | | | | | suitable for tail calls. llvm-svn: 21836 | |||||
| * | implement and.ll:test33 | Chris Lattner | 2005-05-09 | 1 | -2/+18 | |
| | | | | | llvm-svn: 21809 | |||||
| * | Preserve calling conventions when doing IPO | Chris Lattner | 2005-05-09 | 3 | -5/+13 | |
| | | | | | llvm-svn: 21798 | |||||
| * | wrap long lines, preserve calling conventions when cloning functions and | Chris Lattner | 2005-05-09 | 2 | -6/+14 | |
| | | | | | | | turning calls into invokes llvm-svn: 21797 | |||||
| * | Convert non-address taken functions with C calling conventions to fastcc. | Chris Lattner | 2005-05-08 | 1 | -1/+41 | |
| | | | | | llvm-svn: 21791 | |||||
| * | Implement Reassociate/mul-neg-add.ll | Chris Lattner | 2005-05-08 | 1 | -0/+12 | |
| | | | | | llvm-svn: 21788 | |||||
| * | Bail out earlier | Chris Lattner | 2005-05-08 | 1 | -4/+4 | |
| | | | | | llvm-svn: 21786 | |||||
| * | Teach reassociate that 0-X === X*-1 | Chris Lattner | 2005-05-08 | 1 | -4/+46 | |
| | | | | | llvm-svn: 21785 | |||||
| * | Fix PR557 and basictest[34].ll. | Chris Lattner | 2005-05-08 | 1 | -12/+27 | |
| | | | | | | | | | This makes reassociate realize that loads should be treated as unmovable, and gives distinct ranks to distinct values defined in the same basic block, allowing reassociate to do its thing. llvm-svn: 21783 | |||||
| * | Add debugging information | Chris Lattner | 2005-05-08 | 1 | -0/+18 | |
| | | | | | llvm-svn: 21781 | |||||
| * | eliminate gotos | Chris Lattner | 2005-05-08 | 1 | -3/+4 | |
| | | | | | llvm-svn: 21780 | |||||
| * | Improve reassociation handling of inverses, implementing inverses.ll. | Chris Lattner | 2005-05-08 | 1 | -2/+104 | |
| | | | | | llvm-svn: 21778 | |||||
| * | clean up and modernize this pass. | Chris Lattner | 2005-05-08 | 1 | -24/+18 | |
| | | | | | llvm-svn: 21776 | |||||
| * | Strength reduce SAR into SHR if there is no way sign bits could be shifted | Chris Lattner | 2005-05-08 | 1 | -0/+10 | |
| | | | | | | | | | | | | in. This tends to get cases like this: X = cast ubyte to int Y = shr int X, ... Tested by: shift.ll:test24 llvm-svn: 21775 | |||||
| * | Refactor some code | Chris Lattner | 2005-05-08 | 1 | -45/+55 | |
| | | | | | llvm-svn: 21772 | |||||
| * | Handle some simple cases where we can see that values get annihilated. | Chris Lattner | 2005-05-08 | 1 | -7/+42 | |
| | | | | | llvm-svn: 21771 | |||||
| * | Fix a miscompilation of crafty by clobbering the "A" variable. | Chris Lattner | 2005-05-07 | 1 | -9/+10 | |
| | | | | | llvm-svn: 21770 | |||||
| * | Rewrite the guts of the reassociate pass to be more efficient and logical. ↵ | Chris Lattner | 2005-05-07 | 1 | -103/+185 | |
| | | | | | | | | | | Instead of trying to do local reassociation tweaks at each level, only process an expression tree once (at its root). This does not improve the reassociation pass in any real way. llvm-svn: 21768 | |||||
| * | * Add two strlen optimizations: | Reid Spencer | 2005-05-07 | 1 | -23/+56 | |
| | | | | | | | | | | | | | strlen(x) != 0 -> *x != 0 strlen(x) == 0 -> *x == 0 * Change nested statistics to use style of other LLVM statistics so that only the name of the optimization (simplify-libcalls) is used as the statistic name, and the description indicates which specific all is optimized. Cuts down on some redundancy and saves a few bytes of space. * Make note of stpcpy optimization that could be done. llvm-svn: 21766 | |||||
| * | Don't increment the counter unless the debug flag is set. | Reid Spencer | 2005-05-07 | 1 | -1/+1 | |
| | | | | | llvm-svn: 21762 | |||||
| * | Convert shifts to muls to assist reassociation. This implements | Chris Lattner | 2005-05-07 | 1 | -2/+27 | |
| | | | | | | | Reassociate/shifttest.ll llvm-svn: 21761 | |||||
| * | Simplify the code and rearrange it. No major functionality changes here. | Chris Lattner | 2005-05-07 | 1 | -62/+82 | |
| | | | | | llvm-svn: 21759 | |||||
| * | BAD typeo which caused many testsuite failures last night. Note to self, do | Chris Lattner | 2005-05-06 | 1 | -1/+1 | |
| | | | | | | | not change code after testing it without retesting! llvm-svn: 21741 | |||||
| * | Preserve tail marker | Chris Lattner | 2005-05-06 | 3 | -4/+7 | |
| | | | | | llvm-svn: 21737 | |||||
| * | Implement Transforms/Inline/inline-tail.ll | Chris Lattner | 2005-05-06 | 1 | -1/+16 | |
| | | | | | llvm-svn: 21736 | |||||
| * | preserve the tail marker | Chris Lattner | 2005-05-06 | 3 | -0/+6 | |
| | | | | | llvm-svn: 21734 | |||||
| * | Wrap long lines | Chris Lattner | 2005-05-06 | 1 | -6/+10 | |
| | | | | | llvm-svn: 21720 | |||||

