| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix PR5258, jump-threading creating invalid PHIs. | Torok Edwin | 2009-10-20 | 1 | -0/+348 | 
| | | | | | | | | When an incoming value for a PHI is updated, we must also updated all other incoming values for the same BB to match, otherwise we create invalid PHIs. llvm-svn: 84638 | ||||
| * | Fix PR4313: IPSCCP was not setting the lattice value for the invoke instruction | Torok Edwin | 2009-10-20 | 1 | -0/+716 | 
| | | | | | | | | | | | when the invoke had multiple return values: it set the lattice value only on the extractvalue. This caused the invoke's lattice value to remain the default (undefined), and later propagated to extractvalue's operand, which incorrectly introduces undefined behavior. llvm-svn: 84637 | ||||
| * | Re-apply r84295, with fixes to how the loop "top" and "bottom" blocks are | Dan Gohman | 2009-10-20 | 3 | -1/+280 | 
| | | | | | | | | | | tracked. Instead of trying to manually keep track of these locations while doing complex modifications, just recompute them when they're needed. This fixes a bug in which the TopMBB and BotMBB were not correctly updated, leading to invalid transformations. llvm-svn: 84598 | ||||
| * | If the physical register being spilled does not have an interval, spill its ↵ | Evan Cheng | 2009-10-20 | 1 | -0/+54 | 
| | | | | | | | sub-registers instead. llvm-svn: 84586 | ||||
| * | Enable allocation of R3 in Thumb1 | Jim Grosbach | 2009-10-19 | 1 | -1/+1 | 
| | | | | | llvm-svn: 84563 | ||||
| * | convert to filecheck syntax and make a lot more aggressive. | Chris Lattner | 2009-10-19 | 1 | -8/+68 | 
| | | | | | llvm-svn: 84517 | ||||
| * | Revert r84295, this unbreaks llvm-gcc bootstrap on x86-64/linux | Anton Korobeynikov | 2009-10-19 | 2 | -208/+1 | 
| | | | | | llvm-svn: 84516 | ||||
| * | rename test | Chris Lattner | 2009-10-19 | 1 | -0/+0 | 
| | | | | | llvm-svn: 84515 | ||||
| * | Fix SplitBlockPredecessors' LoopInfo updating code to handle the case | Dan Gohman | 2009-10-19 | 1 | -0/+20 | 
| | | | | | | | | | where a loop's header is being split and it has predecessors which are not contained by the most-nested loop which contains the loop. This fixes PR5235. llvm-svn: 84505 | ||||
| * | Fix PR5247, "lock addq" pattern (and other atomics), it DOES modify EFLAGS. | Torok Edwin | 2009-10-19 | 1 | -0/+69 | 
| | | | | | | | | LLC was scheduling compares before the adds causing wrong branches to be taken in programs, resulting in misoptimized code wherever atomic adds where used. llvm-svn: 84485 | ||||
| * | eliminate md_on_instruction.ll, md_on_instruction2.ll is a superset of it. | Chris Lattner | 2009-10-19 | 2 | -24/+1 | 
| | | | | | llvm-svn: 84464 | ||||
| * | Teach lit that the .c files in 'test/CodeGen/CellSPU/useful-harnesses' ↵ | Daniel Dunbar | 2009-10-19 | 1 | -0/+1 | 
| | | | | | | | aren't tests. llvm-svn: 84460 | ||||
| * | Add support for matching shuffle patterns with palignr. | Nate Begeman | 2009-10-19 | 3 | -15/+70 | 
| | | | | | llvm-svn: 84459 | ||||
| * | Turn on post-alloc scheduling for x86. | Evan Cheng | 2009-10-18 | 13 | -50/+38 | 
| | | | | | llvm-svn: 84431 | ||||
| * | remove a now-pointless regtest | Chris Lattner | 2009-10-18 | 1 | -15/+0 | 
| | | | | | llvm-svn: 84409 | ||||
| * | remove testcase for dead pass | Chris Lattner | 2009-10-18 | 2 | -16/+0 | 
| | | | | | llvm-svn: 84406 | ||||
| * | fix test | Chris Lattner | 2009-10-18 | 1 | -1/+1 | 
| | | | | | llvm-svn: 84405 | ||||
| * | tighten up test3, add test3a for the converse | Chris Lattner | 2009-10-18 | 1 | -3/+22 | 
| | | | | | | | transform, which isn't happening yet. llvm-svn: 84402 | ||||
| * | tighten test2, add a test that it doesn't get transformed in the invalid ↵ | Chris Lattner | 2009-10-18 | 1 | -1/+12 | 
| | | | | | | | edge case. llvm-svn: 84401 | ||||
| * | Merge tests into modref.ll. Also add a test for r84174 at Chris' behest! | Nick Lewycky | 2009-10-18 | 3 | -31/+41 | 
| | | | | | llvm-svn: 84400 | ||||
| * | Add a couple new testcases. | Nick Lewycky | 2009-10-18 | 2 | -0/+30 | 
| | | | | | llvm-svn: 84385 | ||||
| * | replace a useless test with a useful one | Chris Lattner | 2009-10-17 | 1 | -13/+19 | 
| | | | | | llvm-svn: 84383 | ||||
| * | Fix test/Bindings/Ocaml/vmcore.ml. When IRBuilder::CreateMalloc was removed, | Nick Lewycky | 2009-10-17 | 1 | -3/+3 | 
| | | | | | | | | LLVMBuildMalloc was reimplemented but with the bug that it didn't insert the resulting instruction. llvm-svn: 84374 | ||||
| * | Teach vm core to more aggressively fold 'trunc' constantexprs, | Chris Lattner | 2009-10-17 | 1 | -0/+18 | 
| | | | | | | | | | | allowing it to simplify the crazy constantexprs in the testcases down to something sensible. This allows -std-compile-opts to completely "devirtualize" the pointers to member functions in the testcase from PR5176. llvm-svn: 84368 | ||||
| * | remove # uses from FileCheck lines. | Chris Lattner | 2009-10-17 | 1 | -14/+15 | 
| | | | | | llvm-svn: 84367 | ||||
| * | rename test | Chris Lattner | 2009-10-17 | 1 | -0/+0 | 
| | | | | | llvm-svn: 84364 | ||||
| * | Disallow multiple instances of PluginPriority. | Mikhail Glushenkov | 2009-10-17 | 1 | -0/+10 | 
| | | | | | | | | Several instances of PluginPriority in a single file most probably signifies a programming error. llvm-svn: 84350 | ||||
| * | Simplify some code (first hunk) and fix PR5208 (second hunk) by | Chris Lattner | 2009-10-17 | 1 | -1/+32 | 
| | | | | | | | updating the callgraph when introducing a call. llvm-svn: 84310 | ||||
| * | Reclaim a lost month. | Daniel Dunbar | 2009-10-17 | 2 | -0/+0 | 
| | | | | | llvm-svn: 84303 | ||||
| * | Enhance CodePlacementOpt's unconditional intra-loop branch elimination logic | Dan Gohman | 2009-10-17 | 2 | -1/+208 | 
| | | | | | | | | | | | | | to be more general and understand more varieties of loops. Teach CodePlacementOpt to reorganize the basic blocks of a loop so that they are contiguous. This also includes a fair amount of logic for preserving fall-through edges while doing so. This fixes a BranchFolding-ism where blocks which can't be made to use a fall-through edge and don't conveniently fit anywhere nearby get tossed out to the end of the function. llvm-svn: 84295 | ||||
| * | Autoupgrade malloc insts to malloc calls. | Victor Hernandez | 2009-10-17 | 9 | -12/+17 | 
| | | | | | | | | | Update testcases that rely on malloc insts being present. Also prematurely remove MallocInst handling from IndMemRemoval and RaiseAllocations to help pass tests in this incremental step. llvm-svn: 84292 | ||||
| * | HeapAllocSRoA also needs to check if malloc array size can be computed. | Victor Hernandez | 2009-10-16 | 1 | -0/+26 | 
| | | | | | llvm-svn: 84288 | ||||
| * | Update tests to use FileCheck | Mon P Wang | 2009-10-16 | 19 | -55/+70 | 
| | | | | | llvm-svn: 84282 | ||||
| * | Add test case for r84279 | Mon P Wang | 2009-10-16 | 1 | -0/+12 | 
| | | | | | llvm-svn: 84280 | ||||
| * | Move zext and sext casts fed by loads into the same block as the | Dan Gohman | 2009-10-16 | 2 | -2/+22 | 
| | | | | | | | | load, to help SelectionDAG fold them into the loads, unless conditions are unfavorable. llvm-svn: 84271 | ||||
| * | Parse PHI instruction with attached metadata. | Devang Patel | 2009-10-16 | 1 | -0/+13 | 
| | | | | | llvm-svn: 84264 | ||||
| * | If there is not any llvm instruction associated with each lexical scope ↵ | Devang Patel | 2009-10-16 | 1 | -0/+33 | 
| | | | | | | | encoded in debug info then create such scope on demand for variable info. llvm-svn: 84262 | ||||
| * | Invert isSafeToGetMallocArraySize check because we return NULL when we don't ↵ | Victor Hernandez | 2009-10-16 | 1 | -0/+30 | 
| | | | | | | | | | know the size. Thanks to Duncan Sands for noticing this bug. llvm-svn: 84260 | ||||
| * | Force triple in tests. | Daniel Dunbar | 2009-10-16 | 2 | -2/+2 | 
| | | | | | llvm-svn: 84257 | ||||
| * | Check that GVN performs this transform even if the calls | Duncan Sands | 2009-10-16 | 1 | -14/+14 | 
| | | | | | | | | themselves are not marked readonly, but only the called functions. llvm-svn: 84253 | ||||
| * | Enable post-alloc scheduling for all ARM variants except for Thumb1. | Evan Cheng | 2009-10-16 | 1 | -5/+5 | 
| | | | | | llvm-svn: 84249 | ||||
| * | MC: Tweak variable assignment diagnostics, and make reassignment of non-absolute | Daniel Dunbar | 2009-10-16 | 1 | -0/+17 | 
| | | | | | | | variables and symbols invalid. llvm-svn: 84232 | ||||
| * | MC: When parsing a variable reference, substitute absolute variables immediately | Daniel Dunbar | 2009-10-16 | 2 | -9/+24 | 
| | | | | | | | since they are allowed to be redefined. llvm-svn: 84230 | ||||
| * | Branches must be the last instruction in a Thumb2 IT block. Approved by Evan ↵ | Sandeep Patel | 2009-10-15 | 1 | -0/+44 | 
| | | | | | | | Cheng. llvm-svn: 84212 | ||||
| * | Re-apply 84180 with the fixed test case. | Sanjiv Gupta | 2009-10-15 | 1 | -3/+3 | 
| | | | | | llvm-svn: 84195 | ||||
| * | Move Blackfin intrinsics into the Target/Blackfin directory. | Jakob Stoklund Olesen | 2009-10-15 | 1 | -0/+3 | 
| | | | | | llvm-svn: 84194 | ||||
| * | Make CodePlacementOpt align loops, rather than loop headers. The | Dan Gohman | 2009-10-15 | 2 | -2/+13 | 
| | | | | | | | | | | | header is just the entry block to the loop, and it needn't be at the top of the loop in the code layout. Remove the code that suppressed loop alignment for outer loops, so that outer loops are aligned. llvm-svn: 84158 | ||||
| * | When LiveVariables is adding implicit-def to model "partial dead", add the ↵ | Evan Cheng | 2009-10-14 | 1 | -0/+15 | 
| | | | | | | | earlyclobber marker if the superreg def has it. llvm-svn: 84153 | ||||
| * | Make use of the result of the loads even though that means adding -instcombine. | Nick Lewycky | 2009-10-14 | 1 | -5/+5 | 
| | | | | | llvm-svn: 84125 | ||||
| * | make instcombine's instruction sinking more aggressive in the | Chris Lattner | 2009-10-14 | 1 | -1/+37 | 
| | | | | | | | presence of PHI nodes. llvm-svn: 84103 | ||||

