summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [Hexagon] Add NewValueJump support for C4_cmpneq, C4_cmplte, C4_cmplteuRon Lieberman2015-12-082-0/+107
| | | | llvm-svn: 255027
* flip on executable bit on test runner testsTodd Fiala2015-12-082-0/+0
| | | | llvm-svn: 255025
* Move all private members together. NFC.Rafael Espindola2015-12-081-23/+22
| | | | llvm-svn: 255021
* [tsan] Add dispatch_group API interceptors and synchronizationKuba Brecka2015-12-082-1/+117
| | | | | | | | This patch adds release and acquire semantics for dispatch groups, plus a test case. Differential Revision: http://reviews.llvm.org/D15048 llvm-svn: 255020
* [tsan] Fix memcmp interceptor to correctly use ↵Kuba Brecka2015-12-081-2/+2
| | | | | | | | | | COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED The memcmp interceptor checks COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED only after it calls COMMON_INTERCEPTOR_ENTER, which causes an early process launch crash when running TSan in iOS simulator. Let's fix this by checking COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED as the very first thing in the interceptor. Differential Revision: http://reviews.llvm.org/D15287 llvm-svn: 255019
* [mips][ias] Range check uimm8 operandsDaniel Sanders2015-12-085-6/+16
| | | | | | | | | | | | Summary: Reviewers: vkalintiris Subscribers: llvm-commits, dsanders Differential Revision: http://reviews.llvm.org/D15226 llvm-svn: 255018
* Fix MSVC build after rL255016Tamas Berghammer2015-12-081-2/+4
| | | | llvm-svn: 255017
* Modify "platform connect" to connect to processes as wellTamas Berghammer2015-12-0825-151/+576
| | | | | | | | | | | | | | | | | | | | | | | | The standard remote debugging workflow with gdb is to start the application on the remote host under gdbserver (e.g.: gdbserver :5039 a.out) and then connect to it with gdb. The same workflow is supported by debugserver/lldb-gdbserver with a very similar syntax but to access all features of lldb we need to be connected also to an lldb-platform instance running on the target. Before this change this had to be done manually with starting a separate lldb-platform on the target machine and then connecting to it with lldb before connecting to the process. This change modifies the behavior of "platform connect" with automatically connecting to the process instance if it was started by the remote platform. With this command replacing gdbserver in a gdb based worflow is usually as simple as replacing the command to execute gdbserver with executing lldb-platform. Differential revision: http://reviews.llvm.org/D14952 llvm-svn: 255016
* [mips][ias] Range check uimm6 operands and fix a bug this revealed.Daniel Sanders2015-12-0811-93/+193
| | | | | | | | | | | | | | | | | Summary: We don't check the size operand on ext/dext*/ins/dins* yet because the permitted range depends on the pos argument and we can't check that using this mechanism. The bug was that dextu/dinsu accepted 0..31 in the pos operand instead of 32..63. Reviewers: vkalintiris Subscribers: llvm-commits, dsanders Differential Revision: http://reviews.llvm.org/D15190 llvm-svn: 255015
* Add a new option to Platform::LoadImage to install the imageTamas Berghammer2015-12-088-31/+225
| | | | | | | | | | | | | | | | | | | | | This change introduce 3 different working mode for Platform::LoadImage depending on the file specs specified. * If only a remote file is specified then the remote file is loaded on the target (same behavior as before) * If only a local file is specified then the local file is installed to the current working directory and then loaded from there. * If both local and remote file is specified then the local file is installed to the specified location and then loaded from there. The same options are exposed on the SB API with a new method LoadImage method while the old signature presers its meaning. On the command line the installation of the shared library can be specified with the "--install" option of "process load". Differential revision: http://reviews.llvm.org/D15152 llvm-svn: 255014
* Fixup dotest.py on mac for the configuration packagePavel Labath2015-12-082-3/+3
| | | | llvm-svn: 255013
* [x86][avx512] more changes in intrinsics to be align with gcc formatAsaf Badouh2015-12-083-24/+24
| | | | | | Differential Revision: http://reviews.llvm.org/D15328 llvm-svn: 255012
* [x86][avx512] more changes in intrinsics to be align with gcc formatAsaf Badouh2015-12-081-18/+18
| | | | | | Differential Revision: http://reviews.llvm.org/D15329 llvm-svn: 255011
* [AArch64] Add ARMv8.2-A FP16 vector instructionsOliver Stannard2015-12-0831-337/+1917
| | | | | | | | | | | | | | | | | ARMv8.2-A adds 16-bit floating point versions of all existing SIMD floating-point instructions. This is an optional extension, so all of these instructions require the FeatureFullFP16 subtarget feature. Note that VFP without SIMD is not a valid combination for any version of ARMv8-A, but I have ensured that these instructions all depend on both FeatureNEON and FeatureFullFP16 for consistency. The ".2h" vector type specifier is now legal (for the scalar pairwise reduction instructions), so some unrelated tests have been modified as different error messages are emitted. This is not a problem as the invalid operands are still caught. llvm-svn: 255010
* Fixup dotest.py after the configuration package introductionPavel Labath2015-12-081-1/+1
| | | | llvm-svn: 255009
* [OPENMP 4.5] Parsing/sema for 'num_tasks' clause.Alexey Bataev2015-12-0821-12/+406
| | | | | | OpenMP 4.5 adds directives 'taskloop' and 'taskloop simd'. These directives support clause 'num_tasks'. Patch adds parsing/semantic analysis for this clause. llvm-svn: 255008
* dding test for fnstswMichael Zuckerman2015-12-081-0/+2
| | | | | | | | | | continue of Wrong FNSTSW size operator url: http://reviews.llvm.org/D14953 Differential Revision: http://reviews.llvm.org/D15155 llvm-svn: 255007
* Replace bitwise AND with logical AND in an expression that already had ↵Craig Topper2015-12-081-1/+1
| | | | | | another logical AND. NFC llvm-svn: 255006
* [LLDB][MIPS] Handle PIC calling convention for MIPS32Bhushan D. Attarde2015-12-081-6/+37
| | | | | | | | | | | | SUMMARY: - PrepareTrivialCall() to setup register r25 with the address of function to be called. - RegisterIsCalleeSaved() to use name of a register instead of its byte_offset. Reviewers: clayborg Subscribers: mohit.bhakkad, sagar, jaydeep, lldb-commits Differential Revision: http://reviews.llvm.org/D15273 llvm-svn: 255005
* [Sema] Remove tab characters. NFCCraig Topper2015-12-081-2/+2
| | | | llvm-svn: 255004
* [SCEV] Move some struct declarations inside functions; NFCSanjoy Das2015-12-081-63/+54
| | | | | | | | | Reduces the scope over which the struct is visible, making its usages obvious. I did not move structs in cases where this wasn't a clear win (the struct is too large, or is grouped in some other interesting way). llvm-svn: 255003
* [SCEV] Fix indentation; NFCSanjoy Das2015-12-081-150/+150
| | | | llvm-svn: 255002
* Add parse and sema for OpenMP distribute directive and all its clauses ↵Carlo Bertolli2015-12-0829-23/+1455
| | | | | | excluding dist_schedule. llvm-svn: 255001
* [OperandBundles] Remove unncessary constructorSanjoy Das2015-12-082-4/+1
| | | | | | | | The StringRef constructor is unnecessary (since we're converting to std::string anyway), and having it requires an explicit call to StringRef's or std::string's constructor. llvm-svn: 255000
* [WebAssembly] Fix a typo in a comment.Dan Gohman2015-12-081-1/+1
| | | | llvm-svn: 254999
* [WebAssembly] Remove an unneeded static_cast.Dan Gohman2015-12-081-2/+1
| | | | llvm-svn: 254998
* [WebAssembly] Fix an emacs syntax highlighting comment.Dan Gohman2015-12-081-1/+1
| | | | llvm-svn: 254997
* [WebAssembly] Convert a file-level comment to doxygen style.Dan Gohman2015-12-081-4/+5
| | | | llvm-svn: 254996
* [WebAssembly] Assert MRI.isSSA() in passes that depend on SSA form.Dan Gohman2015-12-082-0/+4
| | | | llvm-svn: 254995
* [WebAssembly] Trim some unneeded #includes.Dan Gohman2015-12-083-4/+0
| | | | llvm-svn: 254994
* [WebAssembly] Remove the override of haveFastSqrt.Dan Gohman2015-12-082-6/+0
| | | | | | | The default implementation in BasicTTI already checks TLI and does the right thing. llvm-svn: 254993
* Explicitly permit undefined behavior in constant initializers for globalRichard Smith2015-12-089-21/+79
| | | | | | | | variables in C, in the cases where we can constant-fold it to a value regardless (such as floating-point division by zero and signed integer overflow). Strictly enforcing this rule breaks too much code. llvm-svn: 254992
* IR: Allow vectors of halfs to be ConstantDataVectorsJustin Bogner2015-12-083-3/+58
| | | | | | | | Currently, vectors of halfs end up as ConstantVectors, but there isn't a good reason they can't be ConstantDataVectors. This should save some memory. llvm-svn: 254991
* [llvm-objdump/MachO] Don't cut'n'paste the same code over and over.Davide Italiano2015-12-083-21/+10
| | | | | | Use the appropriate helper instead. llvm-svn: 254990
* Add a test showing that we internalize lazily linked GVs.Rafael Espindola2015-12-082-0/+12
| | | | llvm-svn: 254989
* AsmPrinter: Use emitGlobalConstantFP to emit elements of constant dataJustin Bogner2015-12-089-105/+92
| | | | | | | | | | It's strange to duplicate the logic for emitting FP values into emitGlobalConstantDataSequential, and it's even stranger that we end up printing the verbose assembly comments differently between the two paths. Just call into emitGlobalConstantFP rather than crudely duplicating its logic. llvm-svn: 254988
* Simplify test. NFC.Rafael Espindola2015-12-081-6/+4
| | | | llvm-svn: 254987
* Replace a bunch of duplicate conditions with the call from types::.Eric Christopher2015-12-081-10/+4
| | | | llvm-svn: 254986
* Remove name from FIXME.Eric Christopher2015-12-081-1/+1
| | | | llvm-svn: 254985
* Update comment to reflect that we use other tools via the toolchain toEric Christopher2015-12-081-1/+1
| | | | | | handle more than just C. llvm-svn: 254984
* Move LLDBTestResult class to its own module.Zachary Turner2015-12-083-231/+259
| | | | llvm-svn: 254983
* Get rid of global variables in dotest.pyZachary Turner2015-12-0821-721/+560
| | | | | | | | | | | | | | | | | | | | | | | | | | This moves all the global variables into a separate module called `configuration`. This has a number of advantages: 1. Configuration data is centrally maintained so it's easy to get a high level overview of what configuration data the test suite makes use of. 2. The method of sharing configuration data among different parts of the test suite becomes standardized. Previously we would put some things into the `lldb` module, some things into the `lldbtest_config` module, and some things would not get shared. Now everything is shared through one module and is available to the entire test suite. 3. It opens the door to moving some of the initialization code into the `configuration` module, simplifying the implementation of `dotest.py`. There are a few stragglers that didn't get converted over to using the `configuration` module in this patch, because it would have grown the size of the patch unnecessarily. This includes everything currently in the `lldbtest_config` module, as well as the `lldb.remote_platform` variable. We can address these in the future. llvm-svn: 254982
* [diagnostics] Avoid crashes while printing macro backtracesReid Kleckner2015-12-082-19/+90
| | | | | | | | | | | | | | | | | | | When attempting to map a source into a given level of macro expansion, this code was ignoring the possibility that the start and end of the range might take wildly different paths through the tree of macro expansions. It was assuming that the begin spelling location would always precede the end spelling location, which is false. A macro can easily transpose its arguments. This also fixes a related issue where there are extra macro arguments between the begin location and the end location. In this situation, we now highlight the entire macro invocation. Pair programmed with Richard Smith. Fixes PR12818. llvm-svn: 254981
* Trying to submit 254476 one more time. This implement -gmodule debugging ↵Greg Clayton2015-12-0823-184/+1319
| | | | | | | | | | | | | | support. It was previously reverted due to issues that showed up only on linux. I was able to reproduce these issues and fix the underlying cause. So this is the same patch as 254476 with the following two fixes: - Fix not trying to complete classes that don't have external sources - Fix ClangASTSource::CompleteType() to check the decl context of types that it finds by basename to ensure we don't complete a type "S" with a type like "std::S". Before this fix ClangASTSource::CompleteType() would accept _any_ type that had a matching basename and copy it into the other type. <rdar://problem/22992457> llvm-svn: 254980
* Refactor ResultsFormatter creation into result_formatter.Todd Fiala2015-12-082-73/+133
| | | | | | | | | This cleans up dotest.py and is a pre-step for getting the test inferior runner to send post-inferior run events to the events collector, as this code needs to be accessed from within dosep.py. llvm-svn: 254979
* [CXX TLS calling convention] Add support for AArch64.Manman Ren2015-12-083-0/+90
| | | | | | rdar://9001553 llvm-svn: 254978
* [IndVars] Have getInsertPointForUses preserve LCSSASanjoy Das2015-12-084-14/+85
| | | | | | | | | | | | | | | Summary: Also add a stricter post-condition for IndVarSimplify. Fixes PR25578. Test case by Michael Zolotukhin. Reviewers: hfinkel, atrick, mzolotukhin Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D15059 llvm-svn: 254977
* [SCEVExpander] Have hoistIVInc preserve LCSSASanjoy Das2015-12-083-0/+101
| | | | | | | | | | | | | | | | Summary: (Note: the problematic invocation of hoistIVInc that caused PR24804 came from IndVarSimplify, not from SCEVExpander itself) Fixes PR24804. Test case by David Majnemer. Reviewers: hfinkel, majnemer, atrick, mzolotukhin Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D15058 llvm-svn: 254976
* Add Instruction::getFunction; NFCSanjoy Das2015-12-082-0/+12
| | | | | | Will be used in a upcoming patch. llvm-svn: 254975
* [PassManager] Tuning Memory Usage of AnalysisUsagePhilip Reames2015-12-081-2/+8
| | | | | | | | | | We were using unneccessarily large initial sizes for these SmallVectors. This was wasting around 50kb of memory for the O3 pipeline, even after the uniquing changes. We're still using around 20kb which is a bit much, but it's definitely better. This is about a 6% improvement in total O3 memory usage. Note: The raw data on structure size which were used to pick these thresholds can be found in the review thread. Differential Revision: http://reviews.llvm.org/D15244 llvm-svn: 254974
OpenPOWER on IntegriCloud