| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Conditionalize the format of the GCOV files by target type. Darwin uses the 4.2 | Bill Wendling | 2011-05-17 | 1 | -10/+19 |
| | | | | | | | format. llvm-svn: 131503 | ||||
| * | X86 pmovsx/pmovzx ignore the upper half of their inputs. | Stuart Hastings | 2011-05-17 | 2 | -1/+23 |
| | | | | | | | rdar://problem/6945110 llvm-svn: 131493 | ||||
| * | Preserve line number information. | Devang Patel | 2011-05-17 | 1 | -0/+1 |
| | | | | | llvm-svn: 131482 | ||||
| * | Set debug loc for new load instruction. | Devang Patel | 2011-05-17 | 1 | -0/+3 |
| | | | | | llvm-svn: 131481 | ||||
| * | Preserve line number information. | Devang Patel | 2011-05-17 | 1 | -1/+2 |
| | | | | | llvm-svn: 131480 | ||||
| * | There is no need to force DebugLoc on a PHI at this point. | Devang Patel | 2011-05-16 | 1 | -2/+0 |
| | | | | | llvm-svn: 131427 | ||||
| * | Preserve debug info for unused zero extended boolean argument. | Devang Patel | 2011-05-16 | 1 | -4/+13 |
| | | | | | | | Radar 9422775. llvm-svn: 131422 | ||||
| * | Don't do tail calls in a function that call setjmp. The stack might be | Rafael Espindola | 2011-05-16 | 1 | -4/+5 |
| | | | | | | | corrupted when setjmp returns again. llvm-svn: 131399 | ||||
| * | SimplifyCFG: Use ComputeMaskedBits to prune dead cases from switch instructions. | Benjamin Kramer | 2011-05-14 | 1 | -1/+36 |
| | | | | | llvm-svn: 131345 | ||||
| * | Avoid combining GEPs that might overflow at runtime. | Stuart Hastings | 2011-05-14 | 1 | -1/+3 |
| | | | | | | | | | rdar://problem/9267970 Patch by Julien Lerouge! llvm-svn: 131339 | ||||
| * | Fix a source of non determinism in FindUsedTypes, use a SetVector instead of a | Julien Lerouge | 2011-05-13 | 1 | -1/+2 |
| | | | | | | | | | set. rdar://9423996 llvm-svn: 131283 | ||||
| * | Convert SimplifyIVUsers into a worklist instead of a single pass over | Andrew Trick | 2011-05-13 | 1 | -1/+1 |
| | | | | | | | the users. llvm-svn: 131277 | ||||
| * | indvars: Added SimplifyIVUsers. | Andrew Trick | 2011-05-12 | 1 | -85/+99 |
| | | | | | | | | Interleave IV simplifications. Currently involves EliminateComparison and EliminateRemainder. Next I'll add EliminateExtend. llvm-svn: 131210 | ||||
| * | Preserve line number information. | Devang Patel | 2011-05-10 | 1 | -0/+1 |
| | | | | | llvm-svn: 131112 | ||||
| * | Fix PR9820: a read-only call differs from a load in that a load doesn't | Duncan Sands | 2011-05-06 | 1 | -6/+9 |
| | | | | | | | | return the pointer being dereferenced, it returns the pointee, but a call might return the pointer itself. llvm-svn: 130979 | ||||
| * | The computation of string length is not that complicated. Fix it, again. :) | Nick Lewycky | 2011-05-05 | 1 | -1/+1 |
| | | | | | llvm-svn: 130967 | ||||
| * | PR9838: Fix transform introduced in r127064 to not trigger when only one ↵ | Eli Friedman | 2011-05-05 | 1 | -1/+1 |
| | | | | | | | side of the icmp is an exact shift. llvm-svn: 130954 | ||||
| * | Update the gcov version used slightly, to make it stop causing modern gcov's to | Nick Lewycky | 2011-05-05 | 1 | -13/+20 |
| | | | | | | | crash. llvm-svn: 130911 | ||||
| * | Remove dead function. | Nick Lewycky | 2011-05-05 | 1 | -5/+0 |
| | | | | | llvm-svn: 130903 | ||||
| * | When the path wasn't emitted by the frontend, discard any path on the source | Nick Lewycky | 2011-05-05 | 1 | -6/+11 |
| | | | | | | | filename. llvm-svn: 130897 | ||||
| * | Set debug loc for new instructions. | Devang Patel | 2011-05-04 | 1 | -3/+3 |
| | | | | | llvm-svn: 130895 | ||||
| * | Set debug location for new PHI nodes created in exit block. | Devang Patel | 2011-05-04 | 1 | -0/+2 |
| | | | | | llvm-svn: 130894 | ||||
| * | Preserve line number information while threading jumps. | Devang Patel | 2011-05-04 | 1 | -2/+5 |
| | | | | | llvm-svn: 130880 | ||||
| * | Preserve line number info. | Devang Patel | 2011-05-04 | 1 | -1/+4 |
| | | | | | llvm-svn: 130876 | ||||
| * | preserve line number info. | Devang Patel | 2011-05-04 | 1 | -2/+3 |
| | | | | | llvm-svn: 130869 | ||||
| * | Emit gcov data files to the directory specified in the metadata produced by the | Nick Lewycky | 2011-05-04 | 1 | -4/+23 |
| | | | | | | | frontend, if applicable. llvm-svn: 130835 | ||||
| * | indvars: Added DisableIVRewrite and WidenIVs. | Andrew Trick | 2011-05-04 | 1 | -9/+115 |
| | | | | | | | | | This adds functionality to remove size/zero extension during indvars without generating a canonical IV and rewriting all IV users. It's disabled by default so should have no effect on codegen. Work in progress. llvm-svn: 130829 | ||||
| * | indvars: Added canExpandBackEdgeTakenCount. | Andrew Trick | 2011-05-03 | 1 | -32/+55 |
| | | | | | | | | | | Only create a canonical IV for backedge taken count if it will actually be used by LinearFunctionTestReplace. And some related cleanup, preparing to reduce dependence on canonical IVs. No significant effect on x86 or arm in the test-suite. llvm-svn: 130799 | ||||
| * | Remove unused variables caught by GCC's -Wunused-but-set-variable. | Benjamin Kramer | 2011-05-03 | 1 | -2/+0 |
| | | | | | llvm-svn: 130755 | ||||
| * | Add an unfolded offset field to LSR's Formula record. This is used to | Dan Gohman | 2011-05-03 | 1 | -9/+62 |
| | | | | | | | | | model constants which can be added to base registers via add-immediate instructions which don't require an additional register to materialize the immediate. llvm-svn: 130743 | ||||
| * | Scanning entire basic block may be too expensive in terms of compile time. ↵ | Devang Patel | 2011-05-02 | 1 | -6/+4 |
| | | | | | | | Instead, just use whatever location info first non-phi instruction has. llvm-svn: 130729 | ||||
| * | Remove unused variable. | Duncan Sands | 2011-05-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 130705 | ||||
| * | Move some rem transforms out of instcombine and into instsimplify. | Duncan Sands | 2011-05-02 | 1 | -42/+19 |
| | | | | | | | | This automagically provides a transform noticed by my super-optimizer as occurring quite often: "rem x, (select cond, x, 1)" -> 0. llvm-svn: 130694 | ||||
| * | enhance memcpyopt to obey -fno-builtin and friends. This addresses a | Chris Lattner | 2011-05-01 | 1 | -0/+17 |
| | | | | | | | problem reported on cfe-dev. llvm-svn: 130661 | ||||
| * | InstCombine: Turn (zext A) udiv (zext B) into (zext (A udiv B)). Same for ↵ | Benjamin Kramer | 2011-04-30 | 1 | -1/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | urem or constant B. This obviously helps a lot if the division would be turned into a libcall (think i64 udiv on i386), but div is also one of the few remaining instructions on modern CPUs that become more expensive when the bitwidth gets bigger. This also helps register pressure on i386 when dividing chars, divb needs two 8-bit parts of a 16 bit register as input where divl uses two registers. int foo(unsigned char a) { return a/10; } int bar(unsigned char a, unsigned char b) { return a/b; } compiles into (x86_64) _foo: imull $205, %edi, %eax shrl $11, %eax ret _bar: movzbl %dil, %eax divb %sil, %al movzbl %al, %eax ret llvm-svn: 130615 | ||||
| * | Use SimplifyDemandedBits on div instructions. | Benjamin Kramer | 2011-04-30 | 1 | -0/+4 |
| | | | | | | | This folds away silly stuff like (a&255)/1000 -> 0. llvm-svn: 130614 | ||||
| * | Assing line number info to new PHIs created by SSA updater. | Devang Patel | 2011-04-29 | 2 | -0/+17 |
| | | | | | llvm-svn: 130551 | ||||
| * | Preserve line number information. | Devang Patel | 2011-04-29 | 1 | -1/+2 |
| | | | | | llvm-svn: 130536 | ||||
| * | SimplifyCFG: Expose phi node folding cost threshold as command line parameter | Peter Collingbourne | 2011-04-29 | 1 | -1/+6 |
| | | | | | llvm-svn: 130528 | ||||
| * | SimplifyCFG: Add CostRemaining parameter to DominatesMergePoint | Peter Collingbourne | 2011-04-29 | 1 | -9/+38 |
| | | | | | llvm-svn: 130527 | ||||
| * | SimplifyCFG: Add Trunc, ZExt and SExt to the list of cheap instructions for ↵ | Peter Collingbourne | 2011-04-29 | 1 | -0/+3 |
| | | | | | | | phi node folding llvm-svn: 130526 | ||||
| * | Balance parentheses. | Benjamin Kramer | 2011-04-29 | 1 | -1/+1 |
| | | | | | llvm-svn: 130489 | ||||
| * | InstCombine: turn (C1 << A) << C2) into (C1 << C2) << A) | Benjamin Kramer | 2011-04-29 | 1 | -1/+8 |
| | | | | | | | Fixes PR9809. llvm-svn: 130485 | ||||
| * | Preserve line number information. | Devang Patel | 2011-04-28 | 1 | -0/+7 |
| | | | | | llvm-svn: 130450 | ||||
| * | We require threse bits to be zero, too. | Benjamin Kramer | 2011-04-28 | 1 | -2/+2 |
| | | | | | | | | This shouldn't happen in practice because the icmp would be a constant. Add a check so we don't miscompile code if something goes wrong. llvm-svn: 130446 | ||||
| * | Only read *predecessor once so as to fix a theoretical issue where it changes | Nick Lewycky | 2011-04-28 | 1 | -7/+10 |
| | | | | | | | | | | | | | | | | | | | | between two reads (threading). Fix an off-by-one in the indirect counter table that I meant to revert after an earlier experiment. Whoops! Implement GCOV_PREFIX. Doesn't handle GCOV_PREFIX_STRIP yet. Fix an off-by-one in string emission. Extra whoops! Tolerate DISubprograms that have null Function*'s attached to them. I don't yet understand what this means, but it happens when you have a global static with a non-trivial constructor/destructor. Fix a crash on switch statements with a single successor (default-only). llvm-svn: 130443 | ||||
| * | Remove DbgDeclare only if all uses are converted. | Devang Patel | 2011-04-28 | 1 | -1/+5 |
| | | | | | llvm-svn: 130431 | ||||
| * | Fix a comment. | Benjamin Kramer | 2011-04-28 | 1 | -1/+1 |
| | | | | | llvm-svn: 130428 | ||||
| * | improve comment. | Chris Lattner | 2011-04-28 | 1 | -1/+6 |
| | | | | | llvm-svn: 130426 | ||||
| * | Do not lose line number info while eliminating tail call. | Devang Patel | 2011-04-28 | 1 | -1/+3 |
| | | | | | llvm-svn: 130419 | ||||

