summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* back out r109504, breaks the botsGabor Greif2010-07-271-2/+3
| | | | llvm-svn: 109508
* simplify: CallSite::get --> CallSite constructorGabor Greif2010-07-271-4/+4
| | | | llvm-svn: 109506
* simplifyGabor Greif2010-07-271-3/+2
| | | | llvm-svn: 109504
* use ImmutableCallSite for const-corrgoodnessGabor Greif2010-07-271-4/+4
| | | | llvm-svn: 109503
* simplifyGabor Greif2010-07-271-1/+1
| | | | llvm-svn: 109502
* Fix silent failure with no input files.Mikhail Glushenkov2010-07-271-0/+7
| | | | llvm-svn: 109500
* Return -1 only on failure to execute a program.Mikhail Glushenkov2010-07-276-48/+59
| | | | | | Also fix some comments. llvm-svn: 109499
* In commit 91421, isPod was changed from false to true for these value handles.Duncan Sands2010-07-271-6/+0
| | | | | | Change it back again: destructors and constructors need to be run. llvm-svn: 109498
* Make coff-dump.py executable and add python as executable for this script.Tobias Grosser2010-07-271-0/+1
| | | | | | This fixes the MC/COFF/basic-coff.ll test case. llvm-svn: 109497
* RegionInfo: Add getMaxRegionExit()Tobias Grosser2010-07-272-0/+45
| | | | | | | getMaxRegionExit returns the exit of the maximal refined region starting at a specific basic block. llvm-svn: 109496
* After updating value handles for RAUW, check that no weak or tracking handlesDuncan Sands2010-07-271-1/+19
| | | | | | | | are still on the list. This might happen if a CallbackVH created some new value handles for the old value when doing RAUW. Barf if it occurs, since it is almost certainly a mistake. llvm-svn: 109495
* Make MC use Windows COFF on Windows and add tests.Michael J. Spencer2010-07-276-0/+711
| | | | llvm-svn: 109494
* Add function to query RegionInfo about loops.Tobias Grosser2010-07-272-10/+98
| | | | | | | * contains(Loop), * getOutermostLoop() * Improve getNameStr() to return a sensible name, if basic blocks are not named. llvm-svn: 109490
* The isLoadFromStackSlot and isStoreToStackSlot have no way of reportingJakob Stoklund Olesen2010-07-271-2/+3
| | | | | | | | | | | | | subregister operands like this: %reg1040:sub_32bit<def> = MOV32rm <fi#-2>, 1, %reg0, 0, %reg0, %reg1040<imp-def>; mem:LD4[FixedStack-2](align=8) Make them return false when subreg operands are present. VirtRegRewriter is making bad assumptions otherwise. This fixes PR7713. llvm-svn: 109489
* Add assertions that expose the PR7713 miscompilation: Accessing a stack slotJakob Stoklund Olesen2010-07-271-0/+4
| | | | | | with a too-big register class. llvm-svn: 109488
* It's better to have the arrays, which would trigger the creation of stackBill Wendling2010-07-274-17/+62
| | | | | | | | | protectors, to be near the stack protectors on the stack. Accomplish this by tagging the stack object with a predicate that indicates that it would trigger this. In the prolog-epilog inserter, assign these objects to the stack after the stack protector but before the other objects. llvm-svn: 109481
* Use AssertingVH for InsertedValues and InsertedPostIncValues, to verifyDan Gohman2010-07-271-3/+8
| | | | | | | | | that the values they refer to aren't being deleted underneath them. Make sure these containters get cleared by clear(), which IndVarSimplify and LSR both use before deleting instructions. llvm-svn: 109478
* (Hopefully) One last test.Owen Anderson2010-07-271-0/+1
| | | | llvm-svn: 109473
* Another test.Owen Anderson2010-07-271-1/+0
| | | | llvm-svn: 109472
* Another test.Owen Anderson2010-07-261-0/+1
| | | | llvm-svn: 109471
* Add SplitEditor to SplitKit. This class will be used to edit live intervals andJakob Stoklund Olesen2010-07-264-10/+305
| | | | | | | | rewrite instructions for live range splitting. Still work in progress. llvm-svn: 109469
* Fix a use-after-free.Dan Gohman2010-07-261-2/+0
| | | | llvm-svn: 109468
* Using llvm.eh.catch.all.value instead of .llvm.eh.catch.all.value.Bill Wendling2010-07-262-5/+5
| | | | llvm-svn: 109462
* And a bit more non-ASCII stuff.Eli Friedman2010-07-261-1/+1
| | | | llvm-svn: 109458
* Drop some non-ascii stuffAnton Korobeynikov2010-07-261-7/+7
| | | | llvm-svn: 109456
* Don't call __register_frame from the JIT on systems that use setjmp/longjmpBob Wilson2010-07-261-2/+2
| | | | | | | exception handling. Also fix an extra underscore typo in one instance of "__ARM_EABI__". Radar 8236264. llvm-svn: 109451
* On x86, f32 / f64 nodes share the same registers as 128-bit vector values.Evan Cheng2010-07-262-0/+30
| | | | llvm-svn: 109450
* The "excess register pressure" returned by HighRegPressure() is not accurate ↵Evan Cheng2010-07-261-41/+20
| | | | | | enough to factor into scheduling priority. Eliminate it and add early exits to speed up scheduling. llvm-svn: 109449
* Add a noteAnton Korobeynikov2010-07-261-0/+21
| | | | llvm-svn: 109448
* Add a comment.Dan Gohman2010-07-261-0/+2
| | | | llvm-svn: 109435
* Temporary hack to let codegen assert or generate poor code in caseBruno Cardoso Lopes2010-07-261-8/+13
| | | | | | | | | we are using AVX and no AVX version of the desired intruction is present, this is better for incremental dev (without fallbacks it's easier to spot what's missing). Not sure this is the best hack thought (we can also disable all HasSSE* predicates by dinamically marking them 'false' if AVX is present) llvm-svn: 109434
* Testing some more.Owen Anderson2010-07-261-1/+0
| | | | llvm-svn: 109433
* Test some more.Owen Anderson2010-07-261-0/+1
| | | | llvm-svn: 109431
* Fix library build messages.Dan Gohman2010-07-261-2/+2
| | | | llvm-svn: 109430
* re-commit r109220, the compile error has already been fixedGabor Greif2010-07-262-24/+5
| | | | | | | | | | | | | | | Simplifying use_iterators by dereferencing is not a good idea. The codebase does not depend in this any more, and it may introduce hidden runtime cost. If you get compile errors, please dereference your iterator before passing to cast<> (and friends). Also: please consider caching the result of operator* and reusing that instead of dereferencing many times. llvm-svn: 109425
* Add an initial implementation of LazyValueInfo updating for JumpThreading. ↵Owen Anderson2010-07-263-4/+96
| | | | | | Disabled for now. llvm-svn: 109424
* Currently EH lowering code expects typeinfo to be global only.Anton Korobeynikov2010-07-262-2/+106
| | | | | | | | This assumption is not satisfied due to global mergeing. Workaround the issue by temporary disablinge mergeing of const globals. Also, ignore LLVM "special" globals. This fixes PR7716 llvm-svn: 109423
* Fix a test with malformed IR. Not sure why this didn't fail before.Owen Anderson2010-07-261-0/+3
| | | | llvm-svn: 109422
* ARM fastisel isn't ready.Evan Cheng2010-07-261-1/+2
| | | | llvm-svn: 109421
* One more test commit... Owen Anderson2010-07-261-2/+1
| | | | llvm-svn: 109420
* Fix SCEVExpander::visitAddRecExpr so that it remembers the induction variableDan Gohman2010-07-262-24/+57
| | | | | | | | it inserted rather than using LoopInfo::getCanonicalInductionVariable to rediscover it, since that doesn't work on non-canonical loops. This fixes infinite recurrsion on such loops; PR7562. llvm-svn: 109419
* Handle Values with no value in getCopyFromRegs.Dan Gohman2010-07-261-0/+4
| | | | llvm-svn: 109415
* Hopefully the last test commit.Owen Anderson2010-07-261-0/+1
| | | | llvm-svn: 109414
* Remove LCSSA's bogus dependence on LoopSimplify and LoopSimplify's bogusDan Gohman2010-07-265-19/+15
| | | | | | | | | | | | | | dependence on DominanceFrontier. Instead, add an explicit DominanceFrontier pass in StandardPasses.h to ensure that it gets scheduled at the right time. Declare that loop unrolling preserves ScalarEvolution, and shuffle some getAnalysisUsages. This eliminates one LoopSimplify and one LCCSA run in the standard compile opts sequence. llvm-svn: 109413
* Preserve ScalarEvolution in the loop unroller.Dan Gohman2010-07-261-0/+6
| | | | llvm-svn: 109412
* Another test commit.Owen Anderson2010-07-261-1/+0
| | | | llvm-svn: 109411
* Avoid depending on LCSSA implicitly pulling in LoopSimplify.Dan Gohman2010-07-261-2/+2
| | | | llvm-svn: 109410
* Test commit for new post-commit hooks.Owen Anderson2010-07-261-0/+1
| | | | llvm-svn: 109409
* Fix (at least) quadratic worst-case complexity in DominanceFrontier::splitBlock:Dan Gohman2010-07-261-52/+64
| | | | | | | | | | | | | | don't visit all blocks in the function, and don't iterate over the split blocks' predecessor lists for each block visited. Also, remove the special-case test for the entry block. Splitting the entry block isn't common enough to make this worthwhile. This fixes a major compile-time bottleneck which is exposed now that LoopSimplify isn't being redundantly run both before and after DominanceFrontier. llvm-svn: 109408
* 80-col.Eric Christopher2010-07-261-2/+4
| | | | llvm-svn: 109407
OpenPOWER on IntegriCloud