summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Use LLVM_ENABLE_DUMP for the variables used in printing as well as theChandler Carruth2012-11-201-2/+2
| | | | | | | | | printing functions themselves. Part of PR14324 (which should have just been a patch to the list, but hey...) llvm-svn: 168362
* Fix PR14132 and handle OOB loads speculated throuh PHI nodes.Chandler Carruth2012-11-202-0/+56
| | | | | | | | | | | | The issue is that we may end up with newly OOB loads when speculating a load into the predecessors of a PHI node, and this confuses the new integer splitting logic in some cases, triggering an assertion failure. In fact, the branch in question must be dead code as it loads from a too-narrow alloca. Add code to handle this gracefully and leave the requisite FIXMEs for both optimizing more aggressively and doing more to aid sanitizing invalid code which triggers these patterns. llvm-svn: 168361
* Fix physical register liveness calculations:Tim Northover2012-11-204-12/+34
| | | | | | | + Take account of clobbers + Give outputs priority over inputs since they happen later. llvm-svn: 168360
* Intel OCL built-ins calling conventions now support MacOS 32-bit.Elena Demikhovsky2012-11-202-59/+82
| | | | llvm-svn: 168359
* Marking remote mcjit tests as XFAIL for MIPS.Simon Atanasyan2012-11-207-7/+7
| | | | llvm-svn: 168357
* Make the AttrListPtr object a part of the LLVMContext.Bill Wendling2012-11-2012-124/+102
| | | | | | | | | When code deletes the context, the AttributeImpls that the AttrListPtr points to are now invalid. Therefore, instead of keeping a separate managed static for the AttrListPtrs that's reference counted, move it into the LLVMContext and delete it when deleting the AttributeImpls. llvm-svn: 168354
* Note Freescale's contributions in the PPC release notes.Hal Finkel2012-11-201-1/+4
| | | | | | This mainly reflects the work of Tobias von Koch. llvm-svn: 168352
* docs: Sphinxify LLVMBuild documentation.Sean Silva2012-11-203-369/+327
| | | | llvm-svn: 168348
* Add a comment to associate a FIXME with a PR where it is matters.Chandler Carruth2012-11-201-1/+2
| | | | llvm-svn: 168347
* Rework the rewriting of loads and stores for vector and integer allocasChandler Carruth2012-11-204-194/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | to properly handle the combinations of these with split integer loads and stores. This essentially replaces Evan's r168227 by refactoring the code in a different way, and trynig to mirror that refactoring in both the load and store sides of the rewriting. Generally speaking there was some really problematic duplicated code here that led to poorly founded assumptions and then subtle bugs. Now much of the code actually flows through and follows a more consistent style and logical path. There is still a tiny bit of duplication on the store side of things, but it is much less bad. This also changes the logic to never re-use a load or store instruction as that was simply too error prone in practice. I've added a few tests (one a reduction of the one in Evan's original patch, which happened to be the same as the report in PR14349). I'm going to look at adding a few more tests for things I found and fixed in passing (such as the volatile tests in the vectorizable predicate). This patch has survived bootstrap, and modulo one bugfix survived Duncan's test suite, but let me know if anything else explodes. llvm-svn: 168346
* ReST-ify some markup in the LIT documentEli Bendersky2012-11-201-10/+10
| | | | llvm-svn: 168345
* 80-column and whitespace fixups.Eric Christopher2012-11-202-52/+54
| | | | llvm-svn: 168344
* Allow using MemoryBuffers with yaml::Stream directly.Sean Silva2012-11-193-0/+58
| | | | | | | | | | The rationale is to get YAML filenames in diagnostics from yaml::Stream::printError -- currently the filename is hard-coded as "YAML" because there's no buffer information available. Patch by Kim Gräsman! llvm-svn: 168341
* Remove a function argument and propagate const around accordingly.Eric Christopher2012-11-194-15/+19
| | | | llvm-svn: 168338
* Whitespace and 80-col.Eric Christopher2012-11-191-49/+49
| | | | llvm-svn: 168337
* docs: Fix reference to "bold" part of code example.Sean Silva2012-11-191-5/+6
| | | | | | | | | | | | | | | Fixes PR14380. The prose was referring to a "bold" part of the code example, where the boldness was lost in the transition from HTML. Unlike HTML, where one can easily have a <b> inside a <pre>, reStructuredText is generally unable to represent such nested markup. Hack around it with the :emphasise-lines: option to the code-block directive to single out the regions instead. Thankfully the regions are close-enough to being full lines for this to work. llvm-svn: 168329
* Make AsmPrinter::EmitTTypeReference() more robust - putAnton Korobeynikov2012-11-193-19/+11
| | | | | | the zero GV check inside, so we won't forget it at the caller side. llvm-svn: 168328
* Factor out type info emission into separate routine.Anton Korobeynikov2012-11-194-2/+141
| | | | | | | It turned out that ARM wants different layout of type infos. This is yet another patch in attempt to fix PR7187 llvm-svn: 168325
* Move section label emission to module end. Nothing should beEric Christopher2012-11-191-3/+3
| | | | | | | depending on them being emitted before the text and/or data sections and testing didn't uncover any. llvm-svn: 168321
* Handle mixed normal and early-clobber defs on inline asm.Jakob Stoklund Olesen2012-11-192-2/+17
| | | | | | PR14376. llvm-svn: 168320
* Fix a pasto.Eric Christopher2012-11-192-8/+10
| | | | | | Noticed by Dimitri Andric! llvm-svn: 168319
* 80 colsJoe Abbey2012-11-191-6/+9
| | | | llvm-svn: 168318
* Enable MCJIT tests on PowerPC.Ulrich Weigand2012-11-192-2/+14
| | | | | | Disable old JIT tests on PowerPC. llvm-svn: 168316
* Add myself as owner of the Hexagon backend.Anshuman Dasgupta2012-11-191-0/+4
| | | | llvm-svn: 168312
* Promote the constant 1 to long long, 1LL or 1ULL in int64_t-sensitive context.NAKAMURA Takumi2012-11-192-6/+6
| | | | llvm-svn: 168304
* First version of Polly release notes for 3.2Tobias Grosser2012-11-191-5/+14
| | | | llvm-svn: 168302
* Clean up handling of always-inline functions in the inliner.Bob Wilson2012-11-193-115/+118
| | | | | | | | | This patch moves the isInlineViable function from the InlineAlways pass into the InlineCostAnalyzer and then changes the InlineCost computation to use that simple check for always-inline functions. All the special-case checks for AlwaysInline in the CallAnalyzer can then go away. llvm-svn: 168300
* Some comment fixes.Bob Wilson2012-11-192-6/+6
| | | | llvm-svn: 168299
* Move else onto line with preceding closing brace.Craig Topper2012-11-191-2/+1
| | | | llvm-svn: 168294
* Remove the last bit of constant folding from LinearizeExprTree (most of it wasDuncan Sands2012-11-181-11/+0
| | | | | | removed in commit 168035, but I missed this bit). llvm-svn: 168292
* Fix PR14060, an infinite loop in reassociate. The problem was that one of theDuncan Sands2012-11-182-6/+43
| | | | | | | | | | operands of the expression being written was wrongly thought to be reusable as an inner node of the expression resulting in it turning up as both an inner node *and* a leaf, creating a cycle in the def-use graph. This would have caused the verifier to blow up if things had gotten that far, however it managed to provoke an infinite loop first. llvm-svn: 168291
* SystemLibrary.rst: remove reference to a bug that was closed long time agoDmitri Gribenko2012-11-181-5/+0
| | | | llvm-svn: 168290
* Documentation: convert SystemLibrary documentation to reSTDmitri Gribenko2012-11-183-318/+258
| | | | llvm-svn: 168289
* Documentation: remove a copy of the FileCheck man page from TestingGuideDmitri Gribenko2012-11-181-194/+4
| | | | llvm-svn: 168288
* Documentation: use a :doc: link instead of an absolute http:// link.Dmitri Gribenko2012-11-181-2/+2
| | | | llvm-svn: 168286
* Documentation: fix broken link.Dmitri Gribenko2012-11-181-2/+2
| | | | llvm-svn: 168285
* Use a full triple for a PPC test case for asm syntax.Andrew Trick2012-11-181-3/+3
| | | | llvm-svn: 168283
* MCJIT: [cygming] Give noop to __main also in RecordingMemoryManger. It is ↵NAKAMURA Takumi2012-11-188-7/+20
| | | | | | | | emitted in @main(). XFAIL(s) can be removed. llvm-svn: 168282
* test/ExecutionEngine/MCJIT/stubs-remote.ll: Prune DOSish CRLF.NAKAMURA Takumi2012-11-181-36/+36
| | | | llvm-svn: 168281
* Don't try to calculate the alignment of an unsigned type. Fixes PR14371!Nick Lewycky2012-11-182-1/+18
| | | | llvm-svn: 168280
* docs: CodingStandards should follow the coding standards.Sean Silva2012-11-171-20/+20
| | | | | | Some variables in code examples were not LikeThis. llvm-svn: 168275
* Bump sphinx config to 3.3.Benjamin Kramer2012-11-171-2/+2
| | | | llvm-svn: 168273
* Kick off 3.3 cycle for LLVM trunk.Benjamin Kramer2012-11-173-13/+13
| | | | llvm-svn: 168272
* docs: Add link to HowToSetUpLLVMStyleRTTISean Silva2012-11-171-1/+2
| | | | llvm-svn: 168271
* TypoJames Molloy2012-11-171-1/+1
| | | | llvm-svn: 168263
* Add a new function to ConstantExpr - getAsInstruction. This returns its ↵James Molloy2012-11-173-0/+179
| | | | | | | | Instruction* corollary, which may be useful if a user wishes to transform a ConstantExpr so that one of its operands is no longer constant. llvm-svn: 168262
* Plug a memory leak in the GCOV profiling emitter, which never released the ↵Benjamin Kramer2012-11-171-5/+5
| | | | | | edge table memory. llvm-svn: 168259
* really fix permissionsPawel Wodnicki2012-11-171-0/+0
| | | | llvm-svn: 168256
* fix permissionsPawel Wodnicki2012-11-171-1/+1
| | | | llvm-svn: 168255
* adding whose code is it anywa toolsPawel Wodnicki2012-11-171-0/+125
| | | | llvm-svn: 168254
OpenPOWER on IntegriCloud