summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update compile target dependency.Rui Ueyama2014-10-281-1/+1
| | | | | | | test/elf/Mips/hilo16-*.test depends on llvm-mc, so we need to make CMake to build that before running the tests. llvm-svn: 220768
* [OCaml] Enable -g for debug builds.Peter Zotov2014-10-281-4/+3
| | | | | | We don't care about pre-3.12.1 anymore. llvm-svn: 220767
* [OCaml] Fix whitespace.Peter Zotov2014-10-2813-65/+65
| | | | llvm-svn: 220766
* Fix warning text: lower -> higherRichard Trieu2014-10-282-3/+3
| | | | llvm-svn: 220763
* Add breakpoint instruction byte sequences for arm toJason Molenda2014-10-281-0/+28
| | | | | | | | | PlatformLinux::GetSoftwareBreakpointTrapOpcode. Patch by Stephane Sezer. http://reviews.llvm.org/D5923 llvm-svn: 220762
* Clarify the launch style for debugserver to use.Jason Molenda2014-10-283-7/+5
| | | | | | <rdar://problem/18786645> llvm-svn: 220761
* Driver: remove a stray s that propagated in cross-windowsSaleem Abdulrasool2014-10-282-8/+8
| | | | | | The option is '--allow-multiple-definition' not '--allow-multiple-definitions'. llvm-svn: 220760
* Minimize the scope of some variables, NFC.David Blaikie2014-10-281-2/+2
| | | | llvm-svn: 220759
* X86: Implement the vectorcall calling conventionReid Kleckner2014-10-289-36/+227
| | | | | | | | | | | | | | | | | | | | This is a Microsoft calling convention that supports both x86 and x86_64 subtargets. It passes vector and floating point arguments in XMM0-XMM5, and passes them indirectly once they are consumed. Homogenous vector aggregates of up to four elements can be passed in sequential vector registers, but this part is not implemented in LLVM and will be handled in Clang. On 32-bit x86, it is similar to fastcall in that it uses ecx:edx as integer register parameters and is callee cleanup. On x86_64, it delegates to the normal win64 calling convention. Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D5943 llvm-svn: 220745
* AArch64: enable Cortex-A57 FP balancing on Cortex-A53.Tim Northover2014-10-282-5/+12
| | | | | | | | | | Benchmarks have shown that it's harmless to the performance there, and having a unified set of passes between the two cores where possible helps big.LITTLE deployment. Patch by Z. Zheng. llvm-svn: 220744
* Add a test for setting and hitting the C++ Exception throw breakpoint.Jim Ingham2014-10-283-0/+76
| | | | llvm-svn: 220743
* Update for LLVM API change.Rafael Espindola2014-10-281-1/+1
| | | | llvm-svn: 220742
* Remove the PreserveSource linker mode.Rafael Espindola2014-10-285-66/+45
| | | | | | | | | | | | | | | | | | | | I noticed that it was untested, and forcing it on caused some tests to fail: LLVM :: Linker/metadata-a.ll LLVM :: Linker/prefixdata.ll LLVM :: Linker/type-unique-odr-a.ll LLVM :: Linker/type-unique-simple-a.ll LLVM :: Linker/type-unique-simple2-a.ll LLVM :: Linker/type-unique-simple2.ll LLVM :: Linker/type-unique-type-array-a.ll LLVM :: Linker/unnamed-addr1-a.ll LLVM :: Linker/visibility1.ll If it is to be resurrected, it has to be fixed and we should probably have a -preserve-source command line option in llvm-mc and run tests with and without it. llvm-svn: 220741
* Improve on the diagnostic in my last patch and change warningFariborz Jahanian2014-10-272-3/+3
| | | | | | to error. rdar://18768214. llvm-svn: 220740
* AArch64InstrInfo.h: Fix a warning introduced in clang r220703. ↵NAKAMURA Takumi2014-10-271-1/+1
| | | | | | [-Winconsistent-missing-override] llvm-svn: 220739
* Remove unused variable.Richard Smith2014-10-271-2/+1
| | | | llvm-svn: 220738
* [AVX512] Add vpermil variable versionAdam Nemet2014-10-272-2/+41
| | | | | | | | | This is implemented via a multiclass that derives from the vperm imm multiclass. Fixes <rdar://problem/18426089> llvm-svn: 220737
* [AVX512] Clean up avx512_perm_imm to use X86VectorVTInfoAdam Nemet2014-10-271-25/+22
| | | | | | | | No functionality change. No change in X86.td.expanded except that we only set the CD8 attributes for the memory variants. (This shouldn't be used unless we have a memory operand.) llvm-svn: 220736
* [AVX512] Derive vpermil* from avx512_perm_immAdam Nemet2014-10-271-14/+14
| | | | | | | | This used to derive from avx512_pshuf_imm which is confusing. NFC. Compared X86.td.expanded. llvm-svn: 220735
* [AVX512] Fix copy-and-paste bugs in vpermilAdam Nemet2014-10-271-3/+3
| | | | | | | | | 1) i512mem -> f512mem (this is the packed FP input being permuted) 2) element size is 64 bits in EVEX_CD8 for PD. (A good illustration why X86VectorVTInfo is useful) llvm-svn: 220734
* Use the newer/simple API for passing a diagnostic handler to the IR linker.Rafael Espindola2014-10-271-16/+5
| | | | llvm-svn: 220733
* Make it easier to pass a custom diagnostic handler to the IR linker.Rafael Espindola2014-10-273-32/+46
| | | | llvm-svn: 220732
* [modules] Load .pcm files specified by -fmodule-file lazily.Richard Smith2014-10-277-116/+168
| | | | llvm-svn: 220731
* TMP: fix readN & writeN to not encourage UBTim Northover2014-10-2710-345/+375
| | | | llvm-svn: 220730
* Test that the single-threaded lit feature is available iff the corresponding ↵Jonathan Roelofs2014-10-271-0/+18
| | | | | | | | guard is #defined http://reviews.llvm.org/D6006 llvm-svn: 220729
* Fix a stackmap bug introduced in r220710.Pete Cooper2014-10-272-6/+21
| | | | | | | | For a call to not return in to the stackmap shadow, the shadow must end with the call. To do this, we must insert any required nops *before* the call, and not after it. llvm-svn: 220728
* Objective-C ARC [qoi]. Issue diagnostic if __bridge castingFariborz Jahanian2014-10-274-5/+63
| | | | | | to C type a collection literal. rdar://18768214 llvm-svn: 220727
* Frontend: Don't include stdin in the dependency list for an object fileDavid Majnemer2014-10-271-2/+11
| | | | | | | | | GCC doesn't do this and it semes weird to include a file that we can't open. This fixes PR21362. llvm-svn: 220726
* Try to appease the C++ godsHans Wennborg2014-10-272-4/+4
| | | | | | | | Looks like some builds were not happy with the potentially-throwing move constructor that was added in r220723, and reached for the implicitly deleted copy constructor instead. llvm-svn: 220725
* Add special case handling of linux target triples that do not contain `-gnu`.Eric Fiselier2014-10-271-7/+16
| | | | | | | | | | | For targets that end it `redhat-linux` and `suse-linux` manually add the `-gnu` section of the target since `linux-gnu` is needed in the testsuite. This patch also moves the removal of minor and patchlevel numbers from OSX triples to be handled when deducing the triple instead of when adding available features. llvm-svn: 220724
* Give TypoExprState a move constructor and assignment operator to appease ↵Hans Wennborg2014-10-272-0/+17
| | | | | | MSVC build llvm-svn: 220723
* Add test to ensure including <atomic> fails when _LIBCPP_HAS_NO_THREADS is ↵Eric Fiselier2014-10-271-0/+23
| | | | | | defined. llvm-svn: 220722
* [ScalarEvolution] Guard dump() with #ifJingyue Wu2014-10-271-0/+2
| | | | | | to be consistent with its definition in ScalarEvolution.cpp llvm-svn: 220721
* Make sure OTHER_CFLAGS and OTHER_LDFLAGS are inherited from the Xcode ↵Greg Clayton2014-10-271-0/+29
| | | | | | project so you can easily add to the flags of all targets. llvm-svn: 220720
* Fix segfault in hasDeclContext for nodes that have no decl context.Samuel Benzaquen2014-10-272-2/+5
| | | | | | | | | | | | | | Summary: Some declarations do not have a declaration context, like TranslationUnitDecl. Fix hasDeclContext() to not segfault on these nodes. Reviewers: klimek Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D6003 llvm-svn: 220719
* This looks like the actual path under which the builder looks for LLDB ↵Enrico Granata2014-10-271-1/+1
| | | | | | headers, so use this path instead llvm-svn: 220718
* Fix bug where sys::Wait could wait on wrong pid.Rafael Espindola2014-10-271-1/+0
| | | | | | | | Setting ChildPid to -1 would cause waitpid to wait for any child process. Patch by Daniel Reynaud! llvm-svn: 220717
* [libcxx] use clang's __char16_t and __char32_t definitions on Linux in C++03 ↵Eric Fiselier2014-10-271-4/+0
| | | | | | | | | | | | | | | | mode. Summary: This fixes ODR violations in C++03 mode in test/localization/locale.stdcvt. The special case for linux was introduced in 2010 before clang always defined __char16_t and __char32_t. Reviewers: mclow.lists, danalbert, jroelofs, EricWF Reviewed By: EricWF Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D5930 llvm-svn: 220716
* Fix use of operator comma in is_permutation and delete comma operator for ↵Eric Fiselier2014-10-272-6/+14
| | | | | | | | | test iterators. The comma operators in the test iterators give better error messages when they are deleted as opposed to not defined. Delete these functions when possible. llvm-svn: 220715
* Frontend: Define __EXCEPTIONS if -fexceptions is passedDavid Majnemer2014-10-273-4/+7
| | | | | | | | | GCC defines __EXCEPTIONS, regardless of language mode, if -fexceptions is passed. We should do the same. This fixes PR21358. llvm-svn: 220714
* [FastISel][AArch64] Emit immediate version of icmp (subs) for null pointer ↵Juergen Ributzka2014-10-272-2/+26
| | | | | | | | | | | | check. This is a minor change to use the immediate version when the operand is a null value. This should get rid of an unnecessary 'mov' instruction in debug builds and align the code more with the one generated by SelectionDAG. This fixes rdar://problem/18785125. llvm-svn: 220713
* [FastISel][AArch64] Optimize compare-and-branch for i1 to use 'tbz'.Juergen Ributzka2014-10-272-2/+5
| | | | | | | | | Minor enhancement to use 'tbz' for i1 compare-and-branch to get rid of an 'and' instruction. This fixes rdar://problem/18784953. llvm-svn: 220712
* Fix polly formatting after recent clang-format behavior change.Daniel Jasper2014-10-271-3/+2
| | | | llvm-svn: 220711
* Stackmap shadows should consider call returns a branch target.Pete Cooper2014-10-272-4/+12
| | | | | | | | To avoid emitting too many nops, a stackmap shadow can include emitted instructions in the shadow, but these must not include branch targets. A return from a call should count as a branch target as patching over the instructions after the call would lead to incorrect behaviour for threads currently making that call, when they return. llvm-svn: 220710
* [FastISel][AArch64] Use 'cbz' also for null values (pointers).Juergen Ributzka2014-10-272-15/+23
| | | | | | | | | The pattern matching for a 'ConstantInt' value was too restrictive. Checking for a 'Constant' with a bull value is sufficient for using an 'cbz/cbnz' instruction. This fixes rdar://problem/18784732. llvm-svn: 220709
* Do not insert asan paddings after fields that have flexible arrays.Kostya Serebryany2014-10-272-3/+38
| | | | | | | | | | | | | | | | | | | Summary: We should avoid a tail padding not only if the last field has zero size but also if the last field is a struct with a flexible array. If/when http://reviews.llvm.org/D5478 is committed, this will also handle the case of structs with zero-sized arrays. Reviewers: majnemer, rsmith Reviewed By: rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D5924 llvm-svn: 220708
* [libcxx] Remove use of uniform initialization from regex tests so that they ↵Eric Fiselier2014-10-275-38/+38
| | | | | | | | | | | | | | compile in C++03. Reviewers: danalbert, jroelofs, mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D5957 llvm-svn: 220707
* [libcxx] Fix use of operator comma where the types can be user definedEric Fiselier2014-10-279-36/+51
| | | | | | | | | | | | | | | | Summary: An evil user might overload operator comma. Use a void cast to make sure any user overload is not selected. Modify all the test iterators to define operator comma. Reviewers: danalbert, mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D5929 llvm-svn: 220706
* Stub out 'close' call on m_master_fd for Windows.Hafiz Abid Qadeer2014-10-271-0/+4
| | | | | | | | | | | | | PseudoTerminal.cpp uses a dummy implementation of posix_openpt for Windows. This implementation just returns 0. So m_master_fd is 0. But destructor calls 'close' on m_master_fd. This 'close' calls seems un-necessary as m_master_fd was never opened in first place and calling 'close' on 0 can have other un-intended consequences. I am committing it as obvious as it is only a one-liner. Long term, we may want to refactor this class. llvm-svn: 220705
* [FastISel][AArch64] Don't fold the 'and' instruction into the 'tbz/tbnz' ↵Juergen Ributzka2014-10-272-2/+18
| | | | | | | | | | | | instruction if it is in a different basic block. This fixes a bug where the input register was not defined for the 'tbz/tbnz' instruction. This happened, because we folded the 'and' instruction from a different basic block. This fixes rdar://problem/18784013. llvm-svn: 220704
OpenPOWER on IntegriCloud