summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [YAMLTraits] Use StringRef::copy. No functionality change.Benjamin Kramer2015-08-051-12/+4
| | | | llvm-svn: 244044
* [IR] Simplify code with ArrayRef::copy. No functionality change.Benjamin Kramer2015-08-051-7/+3
| | | | llvm-svn: 244043
* For now we only have on Chunk type. Simplify.Rafael Espindola2015-08-055-29/+20
| | | | | | | | | | | | | | | | The others we have in sight are * common symbols. * entries in SHF_MERGE sections. They will have a substantially different treatment. It is not clear if it is worth it putting them all in a single list just to dispatch based on the kind on the other side. I hope to implement common symbols soon, and then we will be in a position to have a concrete discussion. For now this is simpler for the the implemented features. llvm-svn: 244042
* [AArch64] Register (existing) AArch64LoadStoreOpt pass with LLVM pass manager.Chad Rosier2015-08-051-2/+13
| | | | | | | | | Summary: Among other things, this allows -print-after-all/-print-before-all to dump IR around this pass. This is the AArch64 version of r243052. llvm-svn: 244041
* Delete dead code.Rafael Espindola2015-08-053-12/+4
| | | | llvm-svn: 244040
* Bug 24332 - Fix the build of lldb under GNU/Linux when using autotoolsSylvestre Ledru2015-08-054-2/+33
| | | | | | | | | | Reviewers: loladiro, jingham, emaste, zturner, brucem Subscribers: tberghammer, danalbert, srhines, zturner, lldb-commits Differential Revision: http://reviews.llvm.org/D11717 llvm-svn: 244039
* Update comment. NFC.Chad Rosier2015-08-051-2/+2
| | | | llvm-svn: 244038
* Rename asm tests to .s. NFC.Rafael Espindola2015-08-054-0/+2
| | | | llvm-svn: 244037
* Add AST matchers for narrowing constructors that are default, copy, or move ↵Aaron Ballman2015-08-054-0/+162
| | | | | | constructors, as well as functionality to determine whether a ctor initializer is a base initializer. llvm-svn: 244036
* lld elf2: Diagnose trying to mix incompatible files.Rafael Espindola2015-08-054-5/+54
| | | | | | | This is also a step in instantiating the writer with the correct template argument. llvm-svn: 244035
* D11156: Fix comments by eliminating possible trademark conflictsAndrey Churbanov2015-08-053-9/+8
| | | | llvm-svn: 244034
* Use ELFOSABI_NONE. This matches both bfd ld and gold.Rafael Espindola2015-08-052-2/+2
| | | | llvm-svn: 244033
* Drop unnecessary static_cast.Rafael Espindola2015-08-051-3/+1
| | | | | | ELFT::TargetEndianness already has the correct type. llvm-svn: 244032
* D11301: Remove the __kmp_invoke_microtask() that relies on libffiAndrey Churbanov2015-08-051-55/+1
| | | | llvm-svn: 244031
* D11159: Fixing the stack offset functionalityAndrey Churbanov2015-08-051-3/+8
| | | | llvm-svn: 244030
* ARMISelDAGToDAG.cpp had this self-contradictory code:Artyom Skrobov2015-08-052-6/+6
| | | | | | | | | | | | | | | | | | return StringSwitch<int>(Flags) .Case("g", 0x1) .Case("nzcvq", 0x2) .Case("nzcvqg", 0x3) .Default(-1); ... // The _g and _nzcvqg versions are only valid if the DSP extension is // available. if (!Subtarget->hasThumb2DSP() && (Mask & 0x2)) return -1; ARMARM confirms that the comment is right, and the code was wrong. llvm-svn: 244029
* [AST] ArrayRefize template param list info setters. No functionality change ↵Benjamin Kramer2015-08-055-52/+33
| | | | | | intended. llvm-svn: 244028
* [AST] ArrayRefize BlockDecl::setCaptures. No functionality change intended.Benjamin Kramer2015-08-055-28/+14
| | | | llvm-svn: 244027
* [AST] ArrayRefize template argument packs. No functionality change intended.Benjamin Kramer2015-08-0511-45/+34
| | | | llvm-svn: 244026
* [Comments] Replace custom ArrayRef copying with ArrayRef::copy. NFC.Benjamin Kramer2015-08-051-6/+2
| | | | llvm-svn: 244025
* [Parse] ArrayRefize PragmaLoopHintInfo. No functionality change.Benjamin Kramer2015-08-051-10/+4
| | | | llvm-svn: 244024
* [ArrayRefTest] Work around a GCC 4.8 internal compiler error.Benjamin Kramer2015-08-051-5/+2
| | | | llvm-svn: 244023
* [InstCombine] Added more specific SSE2/AVX2 vector shift tests.Simon Pilgrim2015-08-051-0/+464
| | | | llvm-svn: 244022
* Fixed line endings.Simon Pilgrim2015-08-051-72/+72
| | | | llvm-svn: 244021
* [MachineCombiner] Don't use the opcode-only form of computeInstrLatencyHal Finkel2015-08-052-1/+26
| | | | | | | | | In r242277, I updated the MachineCombiner to work with itineraries, but I missed a call that is scheduling-model-only (the opcode-only form of computeInstrLatency). Using the form that takes an MI* allows this to work with itineraries (and should be NFC for subtargets with scheduling models). llvm-svn: 244020
* [llvm-objdump] Call exit(1) on error, i.e. fail early.Davide Italiano2015-08-054-89/+42
| | | | | | | | | | | | | Previously we kept going on partly corrupted input, which might result in garbage being printed, or even worse, random crashes. Rafael mentioned that this is the GNU behavior as well, but after some discussion we both agreed it's probably better to emit a reasonable error message and exit. As a side-effect of this commit, now we don't rely on global state for error codes anymore. objdump was the last tool in the toolchain which needed to be converted. Hopefully the old behavior won't sneak into the tree again. llvm-svn: 244019
* Don't repeat function names in comments. NFC.Filipe Cabecinhas2015-08-053-27/+23
| | | | llvm-svn: 244018
* unittests/ADT/ArrayRefTest.cpp: Suppress r243995 on g++-4.8 for now to ↵NAKAMURA Takumi2015-08-051-0/+4
| | | | | | | | | | | | | | | unbreak bots. For example of mingw-w64-g++-4.8.1, llvm/unittests/ADT/ArrayRefTest.cpp: In member function 'virtual void {anonymous}::ArrayRefTest_AllocatorCopy_Test::TestBody()': llvm/unittests/ADT/ArrayRefTest.cpp:56:40: internal compiler error: in count_type_elements, at expr.c:5523 } Array3Src[] = {{"hello"}, {"world"}}; ^ Please submit a full bug report, with preprocessed source if appropriate. llvm-svn: 244017
* Windows/COM.inc: Fix emacs mode in the first line.NAKAMURA Takumi2015-08-051-1/+1
| | | | llvm-svn: 244016
* Temporarily revert r244012 while we see if it's really necessary.Eric Christopher2015-08-053-0/+87
| | | | | | | Add a comment explaining the current theory as to why we'd need the -lole32 on the link line. llvm-svn: 244015
* Remove autoconf checks for sigsetjmp and siglongjmp as they appear toEric Christopher2015-08-053-10/+2
| | | | | | be unused. llvm-svn: 244014
* Remove the apparently unused rand48 configure checks and associated m4.Eric Christopher2015-08-054-107/+0
| | | | llvm-svn: 244013
* Remove obsolete configure check for libole32 as we don't appear to useEric Christopher2015-08-053-85/+0
| | | | | | it anymore. llvm-svn: 244012
* Remove the unused header check for utime.h.Eric Christopher2015-08-053-254/+1
| | | | llvm-svn: 244011
* Update links to lists.llvm.org.Tanya Lattner2015-08-052-2/+2
| | | | llvm-svn: 244009
* Update to lists.llvm.orgTanya Lattner2015-08-051-3/+3
| | | | llvm-svn: 244008
* Update to new lists.llvm.orgTanya Lattner2015-08-052-3/+3
| | | | llvm-svn: 244007
* Update to new lists.llvm.orgTanya Lattner2015-08-052-4/+4
| | | | llvm-svn: 244006
* Update to new lists.llvm.orgTanya Lattner2015-08-051-1/+1
| | | | llvm-svn: 244005
* Update to new lists.llvm.orgTanya Lattner2015-08-052-4/+4
| | | | llvm-svn: 244004
* Update references to lists.llvm.orgTanya Lattner2015-08-0511-23/+23
| | | | llvm-svn: 244003
* Update references to new lists.llvm.org mailing lists.Tanya Lattner2015-08-052-4/+4
| | | | llvm-svn: 244002
* Update references to new lists.llvm.org mailing lists.Tanya Lattner2015-08-051-2/+2
| | | | llvm-svn: 244001
* Update mailing list references to lists.llvm.orgTanya Lattner2015-08-0513-23/+23
| | | | llvm-svn: 244000
* Rename all references to old mailing lists to new lists.llvm.org address.Tanya Lattner2015-08-0525-58/+58
| | | | llvm-svn: 243999
* Avoid passing nullptr to std::equal. Yaron Keren2015-08-041-1/+2
| | | | | | | | | | | As documented in the LLVM Coding Standards, indeed MSVC incorrectly asserts on this in Debug mode. This happens when building clang with Visual C++ and -triple i686-pc-windows-gnu on these clang regression tests: clang/test/CodeGen/2011-03-08-ZeroFieldUnionInitializer.c clang/test/CodeGen/empty-union-init.c llvm-svn: 243996
* [ArrayRef] Make copy use std::uninitialized_copy.Benjamin Kramer2015-08-042-2/+14
| | | | | | | std::copy does not work for non-trivially copyable classes when we're copying into uninitialized memory. llvm-svn: 243995
* wrap OptSize and MinSize attributes for easier and consistent access (NFCI)Sanjay Patel2015-08-0427-50/+53
| | | | | | | | | | | | | | | | | Create wrapper methods in the Function class for the OptimizeForSize and MinSize attributes. We want to hide the logic of "or'ing" them together when optimizing just for size (-Os). Currently, we are not consistent about this and rely on a front-end to always set OptimizeForSize (-Os) if MinSize (-Oz) is on. Thus, there are 18 FIXME changes here that should be added as follow-on patches with regression tests. This patch is NFC-intended: it just replaces existing direct accesses of the attributes by the equivalent wrapper call. Differential Revision: http://reviews.llvm.org/D11734 llvm-svn: 243994
* Create ObjectFile with the correct endian and word size.Rafael Espindola2015-08-045-2/+24
| | | | | | | The writer is still hard coded to 64 bits le, but with this we can test for invalid ELF files. llvm-svn: 243993
* [CodeGen] Fold memcpy into SmallVector initializer. No functionality change.Benjamin Kramer2015-08-041-3/+2
| | | | llvm-svn: 243992
OpenPOWER on IntegriCloud