Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Give llvm-link a -S option. | Dan Gohman | 2009-09-15 | 2 | -3/+13 |
| | | | | llvm-svn: 81859 | ||||
* | Don't bother using a PassManager just to print a Module. | Dan Gohman | 2009-09-15 | 1 | -7/+2 |
| | | | | llvm-svn: 81858 | ||||
* | Restore a comment that was lost in the merge. | Dan Gohman | 2009-09-15 | 1 | -0/+4 |
| | | | | llvm-svn: 81857 | ||||
* | Fix apostrophos. | Dan Gohman | 2009-09-15 | 7 | -8/+8 |
| | | | | llvm-svn: 81856 | ||||
* | Add more newlines to make up for the ones removed from the end of instructions. | Nick Lewycky | 2009-09-15 | 1 | -9/+12 |
| | | | | llvm-svn: 81851 | ||||
* | Forgot this. | Evan Cheng | 2009-09-15 | 1 | -2/+1 |
| | | | | llvm-svn: 81850 | ||||
* | Another try at early partial coalescing. Identity phi source copies (their ↵ | Evan Cheng | 2009-09-15 | 1 | -58/+56 |
| | | | | | | | | sources are defined by phi join def) are coalesced. And the phi join copy is backward copy propagated into the other copies. Still miscompiling some tests. :-( llvm-svn: 81849 | ||||
* | convert to filecheck | Chris Lattner | 2009-09-15 | 1 | -9/+10 |
| | | | | llvm-svn: 81848 | ||||
* | Forbid arrays of function-type and structures with function-typed fields. | Nick Lewycky | 2009-09-15 | 2 | -17/+19 |
| | | | | | | | | | | While I'm there, change code that does: SomeTy == Type::getFooType(Context) into: SomeTy->getTypeID() == FooTyID to decrease the amount of useless type creation which may involve locking, etc. llvm-svn: 81846 | ||||
* | fix PR4963: folding insertvalue would sometimes turn a packed struct into | Chris Lattner | 2009-09-15 | 2 | -20/+30 |
| | | | | | | an unpacked one. llvm-svn: 81845 | ||||
* | add a new CallGraphNode::replaceCallEdge method and use it from | Chris Lattner | 2009-09-15 | 3 | -4/+27 |
| | | | | | | | | argpromote to avoid invalidating an iterator. This fixes PR4977. All clang tests now pass with expensive checking (on my system at least). llvm-svn: 81843 | ||||
* | add newline to debug dump | Chris Lattner | 2009-09-15 | 1 | -1/+1 |
| | | | | llvm-svn: 81840 | ||||
* | make -debug-pass=Executions show information about what call graph nodes | Chris Lattner | 2009-09-15 | 3 | -5/+32 |
| | | | | | | are in the SCC for each execution of a CGSCC pass. llvm-svn: 81838 | ||||
* | add some missing quotes in debug output | Chris Lattner | 2009-09-15 | 1 | -2/+2 |
| | | | | llvm-svn: 81836 | ||||
* | switch scciterator to use DenseMap instead of std::map | Chris Lattner | 2009-09-15 | 1 | -2/+2 |
| | | | | llvm-svn: 81834 | ||||
* | this is failing on linux hosts, force a triple. | Chris Lattner | 2009-09-15 | 1 | -1/+1 |
| | | | | llvm-svn: 81833 | ||||
* | Remove invalid add_dependencies line to unbreak the CMake build. | Ted Kremenek | 2009-09-15 | 1 | -1/+1 |
| | | | | llvm-svn: 81827 | ||||
* | Get rid of GetProcessId in Win32/Program.inc. | Mikhail Glushenkov | 2009-09-15 | 3 | -51/+26 |
| | | | | | | | GetProcessId was introduced only in XP. As a bonus, this change makes Program objects copyable, since Program is now basically a PID. llvm-svn: 81826 | ||||
* | merge one more in. | Chris Lattner | 2009-09-15 | 2 | -12/+10 |
| | | | | llvm-svn: 81824 | ||||
* | merge some more cmov tests into cmov.ll | Chris Lattner | 2009-09-15 | 3 | -87/+95 |
| | | | | llvm-svn: 81823 | ||||
* | merge two cmov tests into one. | Chris Lattner | 2009-09-15 | 3 | -49/+48 |
| | | | | llvm-svn: 81822 | ||||
* | Don't pull a load through a callseq_start if the load's chain | Dan Gohman | 2009-09-15 | 2 | -1/+25 |
| | | | | | | | | | has multiple uses, as one of the other uses may be on a path to a different node above the callseq_start, because that leads to a cyclic graph. This problem is exposed when -combiner-global-alias-analysis is used. This fixes PR4880. llvm-svn: 81821 | ||||
* | Remove incorrect CSE code from r81813. | Nate Begeman | 2009-09-15 | 1 | -2/+0 |
| | | | | llvm-svn: 81819 | ||||
* | Modified the Intel instruction tables to include | Sean Callanan | 2009-09-15 | 2 | -4/+37 |
| | | | | | | | versions of CALL and JMP with segmented addresses provided in-line, as pairs of immediates. llvm-svn: 81818 | ||||
* | Added the first bits of the ARM target assembler to llvm-mc. For now it only | Kevin Enderby | 2009-09-15 | 7 | -6/+127 |
| | | | | | | | | parses the .word directive as 4 bytes and ARMAsmParser::ParseInstruction will give an error is called. Broke out the test of the .word directive into two different test cases, one for x86 and one for arm. llvm-svn: 81817 | ||||
* | Substantially speed up combiner-aa in the following ways: | Nate Begeman | 2009-09-15 | 1 | -33/+69 |
| | | | | | | | | | | | | | | 1. Switch from an std::set to a SmallPtrSet for visited chain nodes. 2. Do not force the recursive flattening of token factor nodes, regardless of use count. 3. Immediately process newly created TokenFactor nodes. Also, improve combiner-aa by teaching it that loads to non-overlapping offsets of relatively aligned objects cannot alias. These changes result in a >5x speedup for combiner-aa on most testcases. llvm-svn: 81816 | ||||
* | Teach the legalizer to propagate the original alignment of loads and store when | Nate Begeman | 2009-09-15 | 1 | -6/+11 |
| | | | | | | it splits them. llvm-svn: 81815 | ||||
* | On x86-64, the 32-bit cmov doesn't actually clear the high 32-bit of | Dan Gohman | 2009-09-15 | 2 | -3/+24 |
| | | | | | | its result if the condition is false. llvm-svn: 81814 | ||||
* | Add an "original alignment" field to load and store nodes. This enables the | Nate Begeman | 2009-09-15 | 4 | -36/+54 |
| | | | | | | | DAG Combiner to disambiguate chains for loads and stores of types which are broken up by the Legalizer into smaller pieces. llvm-svn: 81813 | ||||
* | When extending a memset range past the front, set the alignment of the | Dan Gohman | 2009-09-14 | 2 | -0/+19 |
| | | | | | | memset region to the alignment of the new start address. llvm-svn: 81810 | ||||
* | Expose initializing the native target for the execution engine. | Erick Tryzelaar | 2009-09-14 | 7 | -2/+20 |
| | | | | llvm-svn: 81800 | ||||
* | Make sure to initialize the fpm in the ocaml tutorial. | Erick Tryzelaar | 2009-09-14 | 4 | -0/+10 |
| | | | | llvm-svn: 81799 | ||||
* | Add early coalescing to liveintervals. This is work in progress and is known ↵ | Evan Cheng | 2009-09-14 | 3 | -31/+180 |
| | | | | | | | | to miscompute some tests. Read it at your own rish, I have aged 10 year while writing this. The gist of this is if source of some of the copies that feed into a phi join is defined by the phi join, we'd like to eliminate them. However, if any of the non-identity source overlaps the live interval of the phi join then the coalescer won't be able to coalesce them. The early coalescer's job is to eliminate the identity copies by partially-coalescing the two live intervals. llvm-svn: 81796 | ||||
* | Pull the creation of the "RewindFunction" function out of the loop. It's only | Bill Wendling | 2009-09-14 | 1 | -14/+25 |
| | | | | | | | created once, so shouldn't be stuck in the middle of the loop. Also early exit if there are no uses of UnwindInst in the function. llvm-svn: 81785 | ||||
* | Update a comment to match the source. PseudoSourceValues are now | Dan Gohman | 2009-09-14 | 1 | -4/+7 |
| | | | | | | obtained via accessor functions. llvm-svn: 81782 | ||||
* | trivial whitespace cleanup | Jim Grosbach | 2009-09-14 | 1 | -2/+2 |
| | | | | llvm-svn: 81773 | ||||
* | add PR# | Chris Lattner | 2009-09-14 | 1 | -0/+1 |
| | | | | llvm-svn: 81770 | ||||
* | Enable the jit for llvm-config. | Eric Christopher | 2009-09-14 | 2 | -2/+2 |
| | | | | | | Patch by Xerxes Rånby! llvm-svn: 81768 | ||||
* | Add a valgrind suppressions file for x86_64/linux/4.3.3. | Daniel Dunbar | 2009-09-14 | 1 | -0/+23 |
| | | | | llvm-svn: 81766 | ||||
* | Add a VALGRIND_EXTRA_ARGS makefile variable, with the obvious semantics. | Daniel Dunbar | 2009-09-14 | 1 | -1/+1 |
| | | | | llvm-svn: 81764 | ||||
* | Update CMake dependencies. | Daniel Dunbar | 2009-09-14 | 1 | -11/+11 |
| | | | | llvm-svn: 81758 | ||||
* | Update CMake. | Daniel Dunbar | 2009-09-14 | 1 | -0/+1 |
| | | | | llvm-svn: 81757 | ||||
* | PIC16 does allow colon after MBB labels, simplify EmitBasicBlockStart. | Chris Lattner | 2009-09-14 | 3 | -8/+4 |
| | | | | llvm-svn: 81755 | ||||
* | Change MCAsmStreamer to take an MCInstPrinter instead of a | Chris Lattner | 2009-09-14 | 6 | -18/+66 |
| | | | | | | | | | | | full AsmPrinter, and change TargetRegistry to keep track of registered MCInstPrinters. llvm-mc is still linking in the entire target foo to get the code emitter stuff, but this is an important step in the right direction. llvm-svn: 81754 | ||||
* | Teach 'make check-lit' to run unittests. | Daniel Dunbar | 2009-09-14 | 2 | -1/+81 |
| | | | | llvm-svn: 81753 | ||||
* | Attempt to fix some 4.0.0 build warnings. | Daniel Dunbar | 2009-09-14 | 1 | -23/+23 |
| | | | | llvm-svn: 81752 | ||||
* | lit: Give test formats control over test discovery. | Daniel Dunbar | 2009-09-14 | 5 | -26/+100 |
| | | | | llvm-svn: 81751 | ||||
* | Fix a pair of comment typos. | Nick Lewycky | 2009-09-14 | 1 | -2/+3 |
| | | | | llvm-svn: 81750 | ||||
* | Fifth time's a charm! Remove ourselves as abstract type listeners once we've | Nick Lewycky | 2009-09-14 | 1 | -3/+16 |
| | | | | | | been told that the type is no longer abstract. llvm-svn: 81749 | ||||
* | Give MCInstPrinter a MCAsmInfo member, make X86ATTInstPrinter | Chris Lattner | 2009-09-14 | 4 | -12/+19 |
| | | | | | | be a MCInstPrinter. llvm-svn: 81746 |