summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Visualize fields of records as they were declared in Visual Studio debuggerMike Spertus2016-03-231-1/+1
| | | | llvm-svn: 264169
* Follow-up for r264162 to fix the CMake build (update LLDBDependencies.cmake).Kuba Brecka2016-03-231-0/+1
| | | | llvm-svn: 264168
* ObjC: Handle boolean fixed type for enum.Manman Ren2016-03-232-1/+9
| | | | | | | | | | | | | Before this commit, we assert failure in ImplicitCastExpr "unheralded conversion to bool". This commit fixes the assertion by using the correct cast type when the fixed type is boolean. This commit also fixes the behavior for Microsoft mode as well, since Obj-C and Microsoft mode share the same code path. rdar://24999533 llvm-svn: 264167
* Fix Visual Studio buildsJonathan Peyton2016-03-232-1/+10
| | | | | | | Have Visual Studio use MemoryBarrier() instead of _mm_mfence() and remove __declspec align attribute from function parameters in kmp_atomic.h llvm-svn: 264166
* Replace a string comparison in ARMSubtarget.h with a tablegen entry in ↵Artyom Skrobov2016-03-232-5/+8
| | | | | | | | | | | | ARM.td (NFC) Reviewers: rengolin, t.p.northover Subscribers: aemerson, llvm-commits, rengolin Differential Revision: http://reviews.llvm.org/D18393 llvm-svn: 264165
* [analyzer] Fix typo s/initalize/initialize/Chih-Hung Hsieh2016-03-231-1/+1
| | | | | | Differential Revision: http://reviews.llvm.org/D18363 llvm-svn: 264164
* clang-cl: Don't warn about /Oy- being unused in 64-bit builds.Nico Weber2016-03-232-3/+9
| | | | | | http://reviews.llvm.org/D18392 llvm-svn: 264163
* Add ThreadSanitizer debugging support.Kuba Brecka2016-03-2317-1/+954
| | | | | | | | | | | | This patch adds ThreadSanitizer support into LLDB: - Adding a new InstrumentationRuntime plugin, ThreadSanitizerRuntime, in the same way ASan is implemented. - A breakpoint stops in `__tsan_on_report`, then we extract all sorts of information by evaluating an expression. We then populate this into StopReasonExtendedInfo. - SBThread gets a new API, SBThread::GetStopReasonExtendedBacktraces(), which returns TSan’s backtraces in the form of regular SBThreads. Non-TSan stop reasons return an empty collection. - Added some test cases. Reviewed by Greg Clayton. llvm-svn: 264162
* [SCEV] Change the SCEV Predicates interfaces for conversion to AddRecExpr to ↵Silviu Baranga2016-03-233-9/+26
| | | | | | | | | | | | | | | | | | | | | | | | return SCEVAddRecExpr* instead of SCEV* Summary: This changes the conversion functions from SCEV * to SCEVAddRecExpr from ScalarEvolution and PredicatedScalarEvolution to return a SCEVAddRecExpr* instead of a SCEV* (which removes the need of most clients to do a dyn_cast right after calling these functions). We also don't add new predicates if the transformation was not successful. This is not entirely a NFC (as it can theoretically remove some predicates from LAA when we have an unknown dependece), but I couldn't find an obvious regression test for it. Reviewers: sanjoy Subscribers: sanjoy, mzolotukhin, llvm-commits Differential Revision: http://reviews.llvm.org/D18368 llvm-svn: 264161
* Not every x86 relocation is relative.Rafael Espindola2016-03-232-0/+25
| | | | | | Without this predicate we were not producing R_386_RELATIVE relocations. llvm-svn: 264160
* Use an enum instead of hardcoded indices. NFC.Alexander Kornienko2016-03-231-7/+11
| | | | llvm-svn: 264158
* [X86] Regenerated WidenArith testSimon Pilgrim2016-03-231-10/+12
| | | | llvm-svn: 264157
* [AArch64] Replace some uses of report_fatal_error with reportError in ↵Oliver Stannard2016-03-232-17/+53
| | | | | | | | | | | | AArch64 ELF object writer If we can't handle a relocation type, report it as an error in the source, rather than asserting. I've added a more descriptive message and a test for the only cases of this that I've been able to trigger. Differential Revision: http://reviews.llvm.org/D18388 llvm-svn: 264156
* Combine identical check-prefixes in Clang ↵Artyom Skrobov2016-03-231-149/+75
| | | | | | | | | | | | test/Preprocessor/arm-target-features.c Reviewers: rengolin, t.p.northover Subscribers: aemerson, cfe-commits, rengolin Differential Revision: http://reviews.llvm.org/D18391 llvm-svn: 264155
* Drop explicit -polly-delinearize parameterTobias Grosser2016-03-2329-33/+33
| | | | | | | Delinearization is now enabled by default and does not need to explicitly need to be enabled in our tests. llvm-svn: 264154
* [cmake] fix libgo-llgo paths in install targetAndrew Wilkins2016-03-231-2/+2
| | | | llvm-svn: 264153
* Revert "[tsan] Disable randomized address space on linux aarch64."Renato Golin2016-03-231-15/+0
| | | | | | | | This reverts commits r264068 and r264079, and they were breaking the build and weren't reverted in time, nor they exhibited expected behaviour from the reviewers. There is more to discuss than just a test fix. llvm-svn: 264150
* [X86] Add "x87" in x86 target feature map.Andrey Turetskiy2016-03-234-7/+26
| | | | | | Differential Revision: http://reviews.llvm.org/D13980 llvm-svn: 264149
* [X86] Introduction of FeatureX87.Andrey Turetskiy2016-03-235-69/+155
| | | | | | | | Add FeatureX87 in X86 backend to be able to define CPUs which doesn't have x87. Differential Revision: http://reviews.llvm.org/D13979 llvm-svn: 264148
* [mips][microMIPS] Delay slot filler modificationsHrvoje Varga2016-03-232-0/+10
| | | | | | Differential Revision: http://reviews.llvm.org/D18181 llvm-svn: 264147
* Add check for unneeded copies of localsHaojian Wu2016-03-234-55/+232
| | | | | | | | | | | | | | Summary: Extends the UnnecessaryCopyInitialization to detect copies of local variables and parameters that are unneeded. Patch by Matt Kulukundis! Reviewers: alexfh, hokein Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D18149 llvm-svn: 264146
* [ELF][MIPS] Add comment with MIPS GOT relocations handling description. NFC.Simon Atanasyan2016-03-231-4/+28
| | | | llvm-svn: 264145
* www: Drop one more </div>Tobias Grosser2016-03-231-2/+0
| | | | llvm-svn: 264144
* www: Drop polyhedral news reference.Tobias Grosser2016-03-231-20/+0
| | | | | | | The feed2html service used has been unavailable a couple of times and always causes the polly website to fail to load correctly. llvm-svn: 264143
* Codegen:Do not invalidate dominator tree when bailing out during code generationTobias Grosser2016-03-232-7/+29
| | | | | | | | | When codegenerating invariant loads in some rare cases we cannot generate code and bail out. This change ensures that we maintain a valid dominator tree in these situations. This fixes llvm.org/PR26736 Contributed-by: Matthias Reisinger <d412vv1n@gmail.com> llvm-svn: 264142
* FAQ: Remove the entire Build Problems sectionJustin Bogner2016-03-231-125/+0
| | | | | | | | This is all horribly outdated, and is mostly about the autoconf build system that doesn't even exist anymore. These questions aren't frequent, and these answers aren't useful. llvm-svn: 264141
* Add option to disallow modref function calls in scops.Tobias Grosser2016-03-239-45/+71
| | | | | | | | | | This might be useful to evaluate the benefit of us handling modref funciton calls. Also, a new bug that was triggered by modref function calls was recently reported http://llvm.org/PR27035. To ensure the same issue does not cause troubles for other people, we temporarily disable this until the bug is resolved. llvm-svn: 264140
* FAQ: We require GCC 4.7 - nobody's asking about build failures with 3.3.2Justin Bogner2016-03-231-6/+0
| | | | llvm-svn: 264139
* [docs] Fix typo in ProgrammersManual.rstVedant Kumar2016-03-231-1/+1
| | | | | | Patch by Miod Vallat! llvm-svn: 264138
* [AMDGPU] Fix missing assembler predicates.Valery Pykhtin2016-03-234-3/+334
| | | | | | Differential Revision: http://reviews.llvm.org/D18351 llvm-svn: 264137
* [Tests] Remove the correct files.Davide Italiano2016-03-231-1/+1
| | | | llvm-svn: 264136
* [Docs] Clarify boolean conversion for Error and Expected<T> in the Programmer'sLang Hames2016-03-231-4/+16
| | | | | | Manual. llvm-svn: 264135
* [LTO] Remove dead code.Davide Italiano2016-03-231-2/+0
| | | | llvm-svn: 264133
* [Sema] Allow implicit conversions of &overloaded_fn in C.George Burgess IV2016-03-235-14/+99
| | | | | | | | | | | | | | | | | | | | | | | Also includes a minor ``enable_if`` docs update. Currently, our address-of overload machinery will only allow implicit conversions of overloaded functions to void* in C. For example: ``` void f(int) __attribute__((overloadable)); void f(double) __attribute__((overloadable, enable_if(0, ""))); void *fp = f; // OK. This is C and the target is void*. void (*fp2)(void) = f; // Error. This is C, but the target isn't void*. ``` This patch makes the assignment of `fp2` select the `f(int)` overload, rather than emitting an error (N.B. you'll still get a warning about the `fp2` assignment if you use -Wincompatible-pointer-types). Differential Revision: http://reviews.llvm.org/D13704 llvm-svn: 264132
* Remove stale commentSanjoy Das2016-03-231-2/+1
| | | | llvm-svn: 264131
* [StatepointLowering] Don't do two DenseMap lookups; nfciSanjoy Das2016-03-231-2/+3
| | | | llvm-svn: 264130
* [StatepointLowering] Minor NFC cleanupsSanjoy Das2016-03-231-11/+12
| | | | | | | | | - Use auto - Name variables in LLVM style - Use llvm::find instead of std::find - Blank lines between declarations llvm-svn: 264129
* [StatepointLowering] Minor nfc refactoringSanjoy Das2016-03-231-29/+6
| | | | | | | | | | Now that StatepointLoweringInfo represents base pointers, derived pointers and gc relocates as SmallVectors and not ArrayRefs, we no longer need to allocate "backing storage" on stack in LowerStatepoint. So elide the backing storage, and inline the trivial body of getIncomingStatepointGCValues. llvm-svn: 264128
* [StatepointLowering] Schedule gc relocates before uniqueing themSanjoy Das2016-03-233-9/+33
| | | | | | Otherwise we can see an "unexpected" gc.relocate that we uniqued away. llvm-svn: 264127
* AMDGPU: Cache information about register pressure setsTom Stellard2016-03-232-24/+37
| | | | | | | | | | We can statically decide whether or not a register pressure set is for SGPRs or VGPRs, so we don't need to re-compute this information in SIRegisterInfo::getRegPressureSetLimit(). Differential Revision: http://reviews.llvm.org/D14805 llvm-svn: 264126
* [Apple Clang] Expose llvm-config from stage2 builds in stage1Chris Bieneman2016-03-231-0/+1
| | | | | | This exposes the stage2-llvm-config target though the stage1 build configuration. llvm-svn: 264125
* Minor code cleanup. NFC.Junmo Park2016-03-231-1/+1
| | | | llvm-svn: 264124
* Change 'apropos' such that it doesn't look into the "long help/syntax" ↵Enrico Granata2016-03-237-79/+82
| | | | | | | | | | strings for commands This solves issues such as 'apropos foo' returning valid matches just because syntax examples happen to use 'foo' as a placeholder token Fixes rdar://9043025 llvm-svn: 264123
* [ModuleUtils] Use range-based loop. NFC.Davide Italiano2016-03-231-2/+1
| | | | llvm-svn: 264122
* [docs] Use reST link.Sean Silva2016-03-231-1/+1
| | | | llvm-svn: 264121
* Bring back Makefile.sphinxSean Silva2016-03-231-0/+155
| | | | | | It is not part of autoconf and should not have been removed in r258861. llvm-svn: 264120
* [docs] Clarify the sense of --compile-commandSean Silva2016-03-231-1/+6
| | | | | | | | In retrospect, it seems "obvious" that the sense of the return code is the same as if it crashed on "interesting" inputs. But that didn't stop me from spending more time than I care to admit verifying this. llvm-svn: 264119
* [ScopInfo] Fix domains after loops.Michael Kruse2016-03-2211-66/+131
| | | | | | | | | | | | | | | | | ISL can conclude additional conditions on parameters from restrictions on loop variables. Such conditions persist when leaving the loop and the loop variable is projected out. This results in a narrower domain for exiting the loop than entering it and is logically impossible for non-infinite loops. We fix this by not adding a lower bound i>=0 when constructing BB domains, but defer it to when also the upper bound it computed, which was done redundantly even before this patch. This reduces the number of LNT fails with -polly-process-unprofitable -polly-position=before-vectorizer from 8 to 6. llvm-svn: 264118
* Tidy up this test a bit.Sean Silva2016-03-221-2/+3
| | | | llvm-svn: 264117
* Move empty atom check to target independent code. NFC.Pete Cooper2016-03-222-5/+5
| | | | | | | | | | Turns out that checking only x86 for empty atoms to fix UBSan then requires the same code in the other targets too. Better to just check this in the main run loop instead of in each target. Should be NFC, other than fixing UBSan failures. llvm-svn: 264116
OpenPOWER on IntegriCloud