summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [mips][mips64r6] Add experimental support for MIPS32r6 and MIPS64r6Daniel Sanders2014-05-098-2/+207
| | | | | | | | | | | | | | | | | | Summary: Adds MIPS32r6/MIPS64r6 and checks the compatibility requirements for these processors. I've also included comments to describe removed and re-encoded instructions, along with placeholder def's for the new instructions but there are no functional changes to codegen at this point. Reviewers: jkolek, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3622 llvm-svn: 208399
* [mips] Added missing daddu test to the valid instruction tests.Daniel Sanders2014-05-095-0/+5
| | | | | | | | | | | | Summary: Depends on D3673 Reviewers: vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3674 llvm-svn: 208398
* [mips] Added missing dsra -> dsrav and sra -> srav aliases.Daniel Sanders2014-05-0911-2/+20
| | | | | | | | | | | | Summary: dsll, dsrl, sll, and srl already exist. Reviewers: vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3673 llvm-svn: 208397
* MemoryBuffer: don't force mmap when stat failsAlp Toker2014-05-091-3/+2
| | | | | | | Fix error handling introduced in r127426 that could result in MemoryBuffers not having null termination. llvm-svn: 208396
* MemoryBuffer: remove unusued definitionsAlp Toker2014-05-091-8/+0
| | | | | | These were made redundant back in r186560. llvm-svn: 208395
* Add support for partial jump scope checkingAlp Toker2014-05-094-25/+53
| | | | | | | | | | This lets us diagnose and perform more complete semantic analysis when faced with errors in the function body or declaration. By recovering here we provide more consistent diagnostics, particularly during interactive editing. llvm-svn: 208394
* test/TableGen: Remove XFAIL:vg_leak out of 3 tests corresponding to r208293.NAKAMURA Takumi2014-05-093-3/+0
| | | | llvm-svn: 208393
* [C++11] Use 'nullptr'.Craig Topper2014-05-0910-92/+93
| | | | llvm-svn: 208392
* Args::StringToGenericRegister will now accept "lr" as Jason Molenda2014-05-092-1/+3
| | | | | | | | | | | | | another way to indicate that this register is a generic Return Address register (in addition to "ra") - this is used primarily by OperatingSystem plugins. Correctly annotate the UnwindPlan created by EmulateInstructionARM64 to indicate that it was not sourced from a compiler and it is valid at every instruction. <rdar://problem/16639754> llvm-svn: 208390
* Don't indent inside a namespace. Don't duplicate a function name in comment.Rafael Espindola2014-05-091-501/+473
| | | | llvm-svn: 208389
* Remove use of = default/= delete as they're unsupported on MSVC2012David Blaikie2014-05-091-4/+9
| | | | llvm-svn: 208388
* Don't repeat function name in comment.Rafael Espindola2014-05-091-192/+149
| | | | llvm-svn: 208387
* Wrap to 80 columns, no code change.Nico Weber2014-05-091-4/+3
| | | | llvm-svn: 208386
* ARM: support PIC on Windows on ARMSaleem Abdulrasool2014-05-093-2/+43
| | | | | | | | Handle lowering of global addresses for PIC mode compilation on Windows. Always use the movw/movt load to load the address as Windows on ARM requires ARMv7+ and is a pure Thumb environment. llvm-svn: 208385
* Don't indent in namespaces.Rafael Espindola2014-05-092-148/+145
| | | | llvm-svn: 208384
* printCustom is only used in PseudoSourceValue, remove it from Value.Nick Lewycky2014-05-092-12/+1
| | | | llvm-svn: 208383
* Simplify the code a bit by using linkage predicates.Rafael Espindola2014-05-091-4/+4
| | | | llvm-svn: 208382
* Fix filename in file header comment more.Nico Weber2014-05-091-1/+1
| | | | llvm-svn: 208381
* Fix filename in file header comment.Nico Weber2014-05-091-1/+1
| | | | llvm-svn: 208380
* Add missing linkage predicates.Rafael Espindola2014-05-091-1/+13
| | | | llvm-svn: 208379
* [Sanitizer] Add the machinery to run the same test under several sanitizersAlexey Samsonov2014-05-094-5/+71
| | | | llvm-svn: 208378
* Don't indent inside namespaces.Rafael Espindola2014-05-093-204/+205
| | | | llvm-svn: 208377
* Fix link target.Richard Smith2014-05-091-1/+1
| | | | llvm-svn: 208376
* [RuntimeDyld] Unify the RuntimeDyldMachO resolve.*Relocation method signaturesLang Hames2014-05-092-142/+121
| | | | | | | | | around RelocationEntries, rather than passing the same information via loose arguments. No functional change. llvm-svn: 208375
* Use auto to avoid duplicating the type.Rafael Espindola2014-05-094-160/+145
| | | | llvm-svn: 208374
* [Sanitizer] Move lit config for sanitizer_common unit tests under Unit/ dir ↵Alexey Samsonov2014-05-082-3/+3
| | | | | | for consistency. llvm-svn: 208373
* Optimize shufflevector that copies an i64/f64 and zeros the rest.Filipe Cabecinhas2014-05-083-12/+28
| | | | | | | | | | | | | | Summary: Also ran clang-format on the function. The code added is the last else if block. Reviewers: nadav, craig.topper, delena Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D3518 llvm-svn: 208372
* [TargetInstrInfo] Fix the implementation of commuteInstruction to match theQuentin Colombet2014-05-081-4/+2
| | | | | | | | | | | | | comment of the API. Relaxes the behavior of TargetInstrInfo::commuteInstruction when TargetInstrInfo::findCommutedOpIndices returns false. Previously TargetInstrInfo triggered a fatal error in such situation whereas based on the comment in the API it should just return nullptr. Indeed the only precondition that should be ensured is that the instruction must be commutable. llvm-svn: 208371
* Improve wording to make it sounds more like a change than an analysis.Nick Lewycky2014-05-081-2/+3
| | | | llvm-svn: 208370
* "process kill" and "process detach" were causing double prompts or prompts ↵Greg Clayton2014-05-083-64/+40
| | | | | | | | that would overwrite each other. Fixed now. <rdar://problem/16547729> llvm-svn: 208369
* test/CodeGen: Check that the correct register is used in a storeJustin Bogner2014-05-081-3/+3
| | | | | | | | | This tightens up r208351 to ensure that a store is fed with the correct value. Thanks to Quentin Colombet for spotting this! llvm-svn: 208368
* Switch Wmodule-build to a remarkBen Langmuir2014-05-083-4/+4
| | | | | | | | | On reflection, this is better despite the missing command-line handling bits for remarks. Making this a remark makes it much clearer that this is purely informational and avoids the negative connotations of a 'warning'. llvm-svn: 208367
* Fix an outdated comment.Richard Smith2014-05-081-4/+3
| | | | llvm-svn: 208366
* [PECOFF] Split LocallyImportedSymbolFile into two classes.Rui Ueyama2014-05-081-29/+36
| | | | | | | I have a plan to use VirtualArchiveFile in this file in the near future. This change should improve the readability by itself, too. llvm-svn: 208365
* Reapply r207876 (Try simplifying LexicalScopes ownership again) including a ↵David Blaikie2014-05-082-130/+138
| | | | | | | | | | | | | | | | | | | workaround for an MSVC2012 bug regarding forward_as_tuple (r207876 was reverted in r208131 after seeing some consistent buildbot failure for MSVC 2012. The original commits were in r207724-r207726) Takumi was nice enough to dig into this and locate this Microsoft Connect issue: http://connect.microsoft.com/VisualStudio/feedback/details/814899/forward-as-tuple-debug-implementation-error describing a bug in MSVC2012's forward_as_tuple implementation. Since the parameters in this instance are trivial/small, pass them by value (using make_tuple) instead of perfectly-forwarded tuple of rvalue references (involving the broken forward_as_tuple). Hopefully this will satisfy MSVC2012. llvm-svn: 208364
* Fixup for r208066. Properly get values of PTRACE_GETREGSET/PTRACE_SETREGSET.Alexey Samsonov2014-05-082-1/+9
| | | | llvm-svn: 208363
* Missed formattingDavid Blaikie2014-05-082-14/+17
| | | | llvm-svn: 208362
* StringMap: Move assignment and move construction.David Blaikie2014-05-082-8/+80
| | | | llvm-svn: 208361
* StringMap: Replace faux-copyability with faux-movability, which is sufficient.David Blaikie2014-05-081-16/+14
| | | | | | | | | | This behavior was added to support StringMaps of StringMaps, default + move construction are sufficient for this. Real move construction support coming soon (& probably copy construction too). llvm-svn: 208360
* StringMap support for move-only values.David Blaikie2014-05-082-5/+21
| | | | llvm-svn: 208359
* Correct formatting.Tobias Grosser2014-05-081-4/+4
| | | | | | | | Sorry for the commit spam. My clang-format crashed on me and the vim plugin did not print an error, but instead just left the formatting untouched. llvm-svn: 208358
* Use std::remove_if to remove elements from a vectorTobias Grosser2014-05-081-5/+4
| | | | | Suggested-by: Benjamin Kramer <benny.kra@gmail.com> llvm-svn: 208357
* Fixup test added in r208333Alexey Samsonov2014-05-081-4/+4
| | | | llvm-svn: 208356
* [InstCombine] Some cleanup in optimization of redundant insertvalue ↵Michael Zolotukhin2014-05-082-4/+14
| | | | | | | | instructions. And one more test added. llvm-svn: 208355
* [Driver] Range-based loop simplification.Simon Atanasyan2014-05-082-64/+34
| | | | llvm-svn: 208354
* Use range loops.Rafael Espindola2014-05-081-13/+9
| | | | llvm-svn: 208353
* Fixes more incorrect #ifs for SJ/LJ exceptionsJonathan Roelofs2014-05-082-19/+19
| | | | | | Replaces several `#if __arm__` with `#if __USING_SJLJ_EXCEPTIONS__`. llvm-svn: 208352
* Make a CodeGen test more robust against vector register selectionJustin Bogner2014-05-081-20/+19
| | | | llvm-svn: 208351
* Fix broken build from r208135Jonathan Roelofs2014-05-081-0/+1
| | | | llvm-svn: 208350
* [Hexagon] Add new InstrItinClass to support timing classes.Jyotsna Verma2014-05-085-138/+216
| | | | | | | This patch doesn't introduce any functionality change. Test cases will be added later when v5 support is added. llvm-svn: 208349
OpenPOWER on IntegriCloud