summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Silence a -Wsign-compare warning; NFC.Aaron Ballman2015-09-021-1/+1
| | | | llvm-svn: 246646
* Fix test.html webpage alignmentPavel Labath2015-09-021-0/+2
| | | | llvm-svn: 246645
* XFAIL new tests in TestCompletion on windows due to missing pexpectPavel Labath2015-09-021-0/+2
| | | | llvm-svn: 246644
* [clang-tidy] Updated the check name in the doc.Alexander Kornienko2015-09-021-2/+2
| | | | llvm-svn: 246643
* AVX512: Implemented encoding and intrinsics for VGETMANTPD/S , VGETMANTSD/S ↵Igor Breger2015-09-0210-17/+739
| | | | | | | | | | instructions Added tests for intrinsics and encoding. Differential Revision: http://reviews.llvm.org/D11593 llvm-svn: 246642
* Suppress llvm/test/tools/gold/X86/parallel.ll while investigating.NAKAMURA Takumi2015-09-021-0/+3
| | | | | | | | | For me, Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7deb0dc in _dl_fixup () from /lib64/ld-linux-x86-64.so.2 llvm-svn: 246641
* AVX512: Implemented encoding and intrinsics for vshufps/d.Igor Breger2015-09-029-44/+555
| | | | | | | | Added tests for intrinsics and encoding. Differential Revision: http://reviews.llvm.org/D11709 llvm-svn: 246640
* Fix tab completion for command arguments containing spacesTamas Berghammer2015-09-026-3/+72
| | | | | | | | | | | If a command argument contains a space then it have to be escaped with backslash signs so the argument parsing logic can parse it properly. This CL fixes the tab completion code for the arguments to create complitions with correctly escaped strings. Differential revision: http://reviews.llvm.org/D12531 llvm-svn: 246639
* Fix use-auto-check.Angel Garcia Gomez2015-09-022-1/+3
| | | | | | | | | | | | Summary: Fix a bug where use-auto check would crash when the definition of a type is in the same statement than its instantiation with new. Reviewers: alexfh Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D12551 llvm-svn: 246638
* [LV] Don't bail to MiddleBlock if a runtime check fails, bail to ScalarPH ↵James Molloy2015-09-025-66/+33
| | | | | | | | | | instead We were bailing to two places if our runtime checks failed. If the initial overflow check failed, we'd go to ScalarPH. If any other check failed, we'd go to MiddleBlock. This caused us to have to have an extra PHI per induction and reduction as the vector loop's exit block was not dominated by its latch. There's no need to have this behavior - if we just always go to ScalarPH we can get rid of a bunch of complexity. llvm-svn: 246637
* [LV] Move some code around slightly to make the intent of the function more ↵James Molloy2015-09-021-3/+1
| | | | | | | | clear. NFC. llvm-svn: 246636
* [LV] Cleanup: Sink an IRBuilder closer to its uses.James Molloy2015-09-021-10/+5
| | | | | | NFC. llvm-svn: 246635
* [LV] Refactor all runtime check emissions into helper functions.James Molloy2015-09-022-102/+127
| | | | | | | | This reduces the complexity of createEmptyBlock() and will open the door to further refactoring. The test change is simply because we're now constant folding a trivial test. llvm-svn: 246634
* [LV] Pull creation of trip counts into a helper function.James Molloy2015-09-022-64/+102
| | | | | | ... and do a tad of tidyup while we're at it. Because StartIdx must now be zero, there's no difference between Count and EndIdx. llvm-svn: 246633
* [LV] Factor the creation of the loop induction variable out of createEmptyLoop()James Molloy2015-09-021-19/+43
| | | | | | It makes things easier to understand if this is in a helper method. This is part of my ongoing spaghetti-removal operation on createEmptyLoop. llvm-svn: 246632
* [LV] Never widen an induction variable.James Molloy2015-09-022-115/+83
| | | | | | | | | | There's no need to widen canonical induction variables. It's just as efficient to create a *new*, wide, induction variable. Consider, if we widen an indvar, then we'll have to truncate it before its uses anyway (1 trunc). If we create a new indvar instead, we'll have to truncate that instead (1 trunc) [besides which IndVars should go and clean up our mess after us anyway on principle]. This lets us remove a ton of special-casing code. llvm-svn: 246631
* [LV] Switch to using canonical induction variables.James Molloy2015-09-023-24/+13
| | | | | | | | | | Vectorized loops only ever have one induction variable. All induction PHIs from the scalar loop are rewritten to be in terms of this single indvar. We were trying very hard to pick an indvar that already existed, even if that indvar wasn't canonical (didn't start at zero). But trying so hard is really fruitless - creating a new, canonical, indvar only results in one extra add in the worst case and that add is trivially easy to push through the PHI out of the loop by instcombine. If we try and be less clever here and instead let instcombine clean up our mess (as we do in many other places in LV), we can remove unneeded complexity. llvm-svn: 246630
* [CMake] Don't use OBJLIB on Xcode.NAKAMURA Takumi2015-09-021-2/+4
| | | | | | I got a few reports it didn't work. llvm-svn: 246629
* Fix Clang-tidy misc-use-override warnings in source/Commands headers, unify ↵Pavel Labath2015-09-0228-194/+130
| | | | | | | | | | closing inclusion guards patch by Eugene Zelenko. Differential Revision: http://reviews.llvm.org/D12207 llvm-svn: 246628
* Fix Clang-tidy misc-use-override warnings in some files in ↵Pavel Labath2015-09-0219-310/+290
| | | | | | | | | | include/lldb/Interpreter, unify closing inclusion guards patch by Eugene Zelenko. Differential Revision: http://reviews.llvm.org/D12171 llvm-svn: 246627
* Fix Clang-tidy misc-use-override warnings in some files in ↵Pavel Labath2015-09-0216-259/+244
| | | | | | | | | | include/lldb/Target, unify closing inclusion guards patch by Eugene Zelenko. Differential Revision: http://reviews.llvm.org/D12167 llvm-svn: 246626
* AVX-512: store <4 x i1> and <2 x i1> values in memoryElena Demikhovsky2015-09-022-0/+19
| | | | | | | | Enabled DAG pattern lowering for SKX with DQI predicate. Differential Revision: http://reviews.llvm.org/D12550 llvm-svn: 246625
* Fix Clang-tidy misc-use-override warnings in include/lldb/API, Breakpoint ↵Pavel Labath2015-09-0224-197/+141
| | | | | | | | and Symbol, unify closing inclusion guards patch by Eugene Zelenko. llvm-svn: 246624
* Address flakyness in TestAttachResumePavel Labath2015-09-023-45/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: The test (among other things) attempts to verify that detaching works while the inferior is running. However, this was racy since the inferior could end up stopping again before we got a chance to detach from it (the test could be made to fail reliably by inserting a sleep just after the last "continue" command). The reason for the stop was that we had a breakpoint set in a place that can be hit by multiple threads, and we stop because another thread hit a breakpoint. I fix this by moving the breakpoint to a place that is reachable from only one thread. I also make sure that the same thread cannot hit the breakpoint if we are exceptionaly slow by flipping a flag which makes the breakpoint unreachable (I cannot just disable or delete the breakpoint as the test makes it a point to try detaching while breakpoints are still set). Another source or racyness was that the test verified that the process resumes and stops after a "continue". However, if these two events happened too fast, the initial start event would be lost, and the test would end up confused. I have implemented this in a safer manner and made a utility function out of it, as I know of a couple of other tests which need the same functionality. Reviewers: zturner, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12527 llvm-svn: 246623
* Optimization for Gather/Scatter with uniform baseElena Demikhovsky2015-09-022-31/+148
| | | | | | | | | Vector 'getelementptr' with scalar base is an opportunity for gather/scatter intrinsic to generate a better sequence. While looking for uniform base, we want to use the scalar base pointer of GEP, if exists. Differential Revision: http://reviews.llvm.org/D11121 llvm-svn: 246622
* COFF: Attempt to fix a flaky test.Rui Ueyama2015-09-021-3/+2
| | | | | | | | | | | | | | | | | I don't understand why the previous code is pretty flaky and the new code is at least less flaky, but the original test occasionally failed on the second run of lib.exe. My guess was that lib.exe was failing because the output of the echo command executed immediately before lib.exe was not flushed to a file, but as far as I can say, the file descriptor is properly closed in TestRunner.py, so this's probably not correct. Other theory is that, on Windows, file output is not guaranteed to be visible to other processes even if a process flushes file descriptors, but I'd think that's unlikely. So honestly I don't know the cause yet. llvm-svn: 246621
* COFF: Preserve original spelling of DLL file name.Rui Ueyama2015-09-025-16/+18
| | | | | | | | | | | This patch fixes a subtle incompatibility with MSVC linker. MSVC linker preserves the original spelling of a DLL in the import descriptor table. LLD previously converted all characters to lowercase. Usually this difference is benign, but if a program explicitly checks for DLL file names, the program could fail. llvm-svn: 246620
* Move createEliminateAvailableExternallyPass earlier in the pass pipelineYaron Keren2015-09-021-11/+13
| | | | | | | to save running many ModulePasses on available external functions that are thrown away anyhow. llvm-svn: 246619
* [Sema] Avoid crash on tag-type mismatch (Fixes PR24610)Vedant Kumar2015-09-022-0/+7
| | | | | | Differential Revision: http://reviews.llvm.org/D12444 llvm-svn: 246618
* CFI: Make the cfi target a dependency of compiler-rt.Peter Collingbourne2015-09-021-0/+1
| | | | | | This causes the blacklist to be copied into place as a default build step. llvm-svn: 246617
* Move more functionality from the LanguageRuntimes to the Languages.Jim Ingham2015-09-0215-977/+889
| | | | llvm-svn: 246616
* [CodeGen] Fix FREM on 32-bit MSVC on x86Vedant Kumar2015-09-022-1/+23
| | | | | | | | Patch by Dylan McKay! Differential Revision: http://reviews.llvm.org/D12099 llvm-svn: 246615
* Add a Language::ForAllLanguages helper functionEnrico Granata2015-09-022-14/+28
| | | | llvm-svn: 246614
* Use Language::LanguageIsCPlusPlus instead of doing the same switch over languageEnrico Granata2015-09-021-10/+3
| | | | llvm-svn: 246613
* Move the functions that FormatManager uses to actually load formatters into ↵Enrico Granata2015-09-025-99/+205
| | | | | | | | their own file These are useful helpers over the low-level API of the FormattersContainer, and since we're actually going to start moving formatters into plugins, it makes sense to simplify things llvm-svn: 246612
* Move things from the LanguageRuntime that obviously belong in the new ↵Jim Ingham2015-09-0218-189/+201
| | | | | | Language plugin instead. llvm-svn: 246611
* Migrate the target attribute parsing code into an extension off ofEric Christopher2015-09-022-30/+52
| | | | | | | | | | the main attribute and cache the results so we don't have to parse a single attribute more than once. This reapplies r246596 with a fix for an uninitialized class member, and a couple of cleanups and formatting changes. llvm-svn: 246610
* Simplify find_first_of & find_last_of on single char.Bruce Mitchener2015-09-0111-19/+19
| | | | | | | | | | | | | | | Summary: When calling find_first_of and find_last_of on a single character, we can instead just call find / rfind and make our intent more clear. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12518 llvm-svn: 246609
* Remove ABIMacOSX_i386::PrepareNormalCall().Bruce Mitchener2015-09-012-185/+0
| | | | | | | | | | | | | | | Summary: This was removed from the other ABI plugins long ago. This removes a warning that was happening in this unused code as a result of adding 2 new types to Scalar.h (e_uint128 and e_sint128). Reviewers: clayborg Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12514 llvm-svn: 246608
* [MC] Generate a timestamp for COFF object filesDavid Majnemer2015-09-012-3/+8
| | | | | | | | | | | The MS incremental linker seems to inspect the timestamp written into the object file to determine whether or not it's contents need to be considered. Failing to set the timestamp to a date newer than the executable will result in the object file not participating in subsequent links. To ameliorate this, write the current time into the object file's TimeDateStamp field. llvm-svn: 246607
* [debugserver] Fix sign comparison warning.Bruce Mitchener2015-09-012-1/+2
| | | | | | | | | | | | | | | | | Summary: Comparing m_page_size against kInvalidPageSize was resulting in a warning about comparing integers with different signs. Since kInvalidPageSize isn't used anywhere outside of MachVMMemory.cpp, we can readily transform it into a static const vm_size_t with the correct value to avoid the sign comparison warnings. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12519 llvm-svn: 246606
* Use -Wno-vla-extension globally.Bruce Mitchener2015-09-012-6/+6
| | | | | | | | | | | | | | | Summary: This was previously only established within debugserver, but there is a use of the VLA extension in source/Host/macosx/Symbols.cpp, so ignore this warning globally. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12515 llvm-svn: 246605
* [MC] Remove MCAssembler's copy of OSDavid Majnemer2015-09-013-9/+6
| | | | | | | We can just ask the ObjectWriter for it's stream instead of caching around our own reference to it. No functionality change is intended. llvm-svn: 246604
* Merge visibility from all symbols with the same name.Rafael Espindola2015-09-015-8/+105
| | | | | | | | | | | | | | | The ELF spec says: ... if any reference to or definition of a name is a symbol with a non-default visibility attribute, the visibility attribute must be propagated to the resolving symbol in the linked object. If different visibility attributes are specified for distinct references to or definitions of a symbol, the most constraining visibility attribute must be propagated to the resolving symbol in the linked object. The attributes, ordered from least to most constraining, are: STV_PROTECTED, STV_HIDDEN and STV_INTERNAL. llvm-svn: 246603
* CFI: Add blacklist entries for various standard library functions.Peter Collingbourne2015-09-011-0/+18
| | | | llvm-svn: 246602
* Fix ProcessKDP.cpp for the change in r246578.Jim Ingham2015-09-012-16/+18
| | | | llvm-svn: 246601
* Fix assertion failure in TransformOpaqueValueExprHubert Tong2015-09-012-1/+7
| | | | | | | | | | | | | | | | | | | | Summary: `OpaqueValueExpr`s may not have a source expression (as in the case when they are created due to a default argument error). This can cause an assertion failure in `TransformOpaqueValueExpr` during template instantiation. This patch fixes the assertion failure. Reviewers: hfinkel, rsmith Subscribers: fraggamuffin, cfe-commits Differential Revision: http://reviews.llvm.org/D11582 Patch by Rachel Craik! llvm-svn: 246600
* [autoconf] Add ___udivti3 to iOS builtinsChris Bieneman2015-09-011-2/+3
| | | | llvm-svn: 246599
* Revert "Migrate the target attribute parsing code into an extension off of"Eric Christopher2015-09-012-54/+30
| | | | | | | | This is failing in release mode. Revert while I figure out what's happening. This reverts commit r246596. llvm-svn: 246598
* std::initializer_list is not safe to return from a function, as copies are ↵Enrico Granata2015-09-011-1/+1
| | | | | | not guaranteed to extend the lifetime of the underlying storage llvm-svn: 246597
OpenPOWER on IntegriCloud