summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix windows build bot failureXinliang David Li2016-05-281-1/+1
| | | | llvm-svn: 271075
* Add missing include to test_iterators.hEric Fiselier2016-05-271-0/+1
| | | | llvm-svn: 271074
* Fix PR27751. Add proper dependancies for install-libcxx-headers ruleEric Fiselier2016-05-271-1/+2
| | | | llvm-svn: 271073
* [PM] Port the Sample FDO to new PM (part-2)Xinliang David Li2016-05-2721-5/+73
| | | | llvm-svn: 271072
* The patch refactors unroll pass.Evgeny Stupachenko2016-05-275-209/+261
| | | | | | | | | | | | | | | | Summary: Unroll factor (Count) calculations moved to a new function. Early exits on pragma and "-unroll-count" defined factor added. New type of unrolling "Force" introduced (previously used implicitly). New unroll preference "AllowRemainder" introduced and set "true" by default. (should be set to false for architectures that suffers from it). Reviewers: hfinkel, mzolotukhin, zzheng Differential Revision: http://reviews.llvm.org/D19553 From: Evgeny Stupachenko <evstupac@gmail.com> llvm-svn: 271071
* Fix PR27875. Parse LIBCXX_CXX_ABI_LIBRARY_PATH as a path not a stringEric Fiselier2016-05-271-2/+4
| | | | llvm-svn: 271070
* Use C++ casts to avoid a warningSanjoy Das2016-05-271-1/+2
| | | | | | | | warning: cast from type ‘const void*’ to type ‘llvm::PrettyStackTraceEntry*’ casts away qualifiers [-Wcast-qual] PrettyStackTraceHead = (PrettyStackTraceEntry*)Top; llvm-svn: 271069
* Update the stack coloring pass to remove lifetime intrinsics in the ↵Andrew Kaylor2016-05-273-5/+24
| | | | | | | | optnone/opt-bisect skip case. Differential Revision: http://reviews.llvm.org/D20453 llvm-svn: 271068
* [asan] Add option to enable asan-use-after-scope from clang.Vitaly Buka2016-05-272-6/+12
| | | | | | | | | | | | | | Clang will have -fsanitize-address-use-after-scope flag. PR27453 Reviewers: kcc, eugenis, aizatsky Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D20750 llvm-svn: 271067
* Start using shouldAssumeDSOLocal on ARM.Rafael Espindola2016-05-271-29/+9
| | | | | | Given where this is used it should be a nop. llvm-svn: 271066
* Guard testing of tuple extensions to make tests portableEric Fiselier2016-05-275-2/+16
| | | | llvm-svn: 271065
* [Kaleidoscope][BuildingAJIT] Add stub chapter text for Building A JIT Chapter 4.Lang Hames2016-05-271-0/+48
| | | | llvm-svn: 271064
* docs: Clarify that LTO visibility is based on source-level symbol visibility.Peter Collingbourne2016-05-271-8/+10
| | | | llvm-svn: 271063
* [PM] Port the Sample FDO to new PM (part-1)Xinliang David Li2016-05-273-21/+39
| | | | llvm-svn: 271062
* [Kaleidoscope][Orc] Remove the reference to the Orc directory that was removedLang Hames2016-05-271-1/+0
| | | | | | in r271059. llvm-svn: 271061
* Tolerate incorrect return type for 'isinf' and 'isnan' in tests.Eric Fiselier2016-05-276-126/+96
| | | | | | | | | | | | | | | | | | Summary: GLIBC recently removed the incorrect `int isinf(double)` and `int isnan(double)` overloads in C++11 and greater. This causes previously `XFAIL: linux` tests to start passing. Since there is no longer a way to 'XFAIL' the tests I choose to simply tolerate this bug. See https://sourceware.org/bugzilla/show_bug.cgi?id=19439 Reviewers: rsmith, mclow.lists, EricWF Subscribers: jroelofs, cfe-commits Differential Revision: http://reviews.llvm.org/D19835 llvm-svn: 271060
* [Kaleidoscope] Remove the old Kaleidoscope/ORC tutorial series.Lang Hames2016-05-2713-5684/+0
| | | | | | This code has been superseded by the new Building A JIT series. llvm-svn: 271059
* MachineScheduler: Introduce ONLY1 reason to improve debug outputMatthias Braun2016-05-272-8/+15
| | | | llvm-svn: 271058
* AArch64Subtarget: Use default member initializersMatthias Braun2016-05-272-19/+15
| | | | llvm-svn: 271057
* Don't discard errorsDavid Majnemer2016-05-271-2/+4
| | | | llvm-svn: 271056
* [sanitizer] Move termination functions in their own fileKostya Serebryany2016-05-275-68/+98
| | | | | | | | | | | | | | | Summary: As suggested by kcc@ in http://reviews.llvm.org/D20084#441418, move the CheckFailed and Die functions, and their associated callback functionalities in their own separate file. I expended the build rules to include a new rule that would not include those termination functions, so that another project can define their own. The tests check-{a,t,m,ub,l,e,df}san are all passing. Reviewers: llvm-commits, kcc Subscribers: kubabrecka Differential Revision: http://reviews.llvm.org/D20742 llvm-svn: 271055
* [Kaleidoscope][BuildingAJIT] Add code for chapter 4.Lang Hames2016-05-274-0/+1479
| | | | | | | This chapter will cover lazy compilation directly from ASTs using the Compile Callbacks and Indirect Stubs APIs. llvm-svn: 271054
* [libFuzzer] use __sanitizer_set_report_fd with -close_fd_mask. This allows ↵Kostya Serebryany2016-05-273-4/+11
| | | | | | us to keep asan reports when closing target's stderr llvm-svn: 271053
* Map DynamicNoPIC to Static on non-darwin.Rafael Espindola2016-05-274-41/+101
| | | | | | | DynamicNoPIC was only every used on darwin. This maps it to static on ELF. It matches what is done on X86. llvm-svn: 271052
* [InstCombine] move and/sext fold to helper function; NFCISanjay Patel2016-05-271-27/+28
| | | | | | We need to enhance the pattern matching on these to look through bitcasts. llvm-svn: 271051
* [sanitizers] trying to fix Windows buildKostya Serebryany2016-05-271-1/+1
| | | | llvm-svn: 271050
* This patch is activating the build of Asan on Windows 64-bits.Etienne Bergeron2016-05-276-12/+57
| | | | | | | | | | | | | | | | | | It's fixing compilation errors. The runtime is not yet working. Missing features: OverrideFunction for x64 an equiv function for inline asm (atomic_compare_exchange_strong) shadow memory offset needs to be adjusted RoundUpToInstrBoundary for x64 They will be implemented by subsequent patches. Patch by Wei Wang. Differential revision: http://reviews.llvm.org/D20455 llvm-svn: 271049
* Don't iterate endlessly if an error occurs.David Majnemer2016-05-271-4/+5
| | | | llvm-svn: 271048
* FileCheck: dump command line context with empty inputXinliang David Li2016-05-272-0/+9
| | | | | | Differential Revision: http://reviews.llvm.org/D20716 llvm-svn: 271047
* [sanitizers] introduce __sanitizer_set_report_fd so that we can re-route the ↵Kostya Serebryany2016-05-274-2/+48
| | | | | | sanitizer logging to another fd from inside the process llvm-svn: 271046
* [Hexagon] Use standard macros to initialize HexagonExpandCondsets passKrzysztof Parzyszek2016-05-271-12/+7
| | | | llvm-svn: 271045
* Fix compilation with GCC, which treats this as a constructor name not a typeRichard Smith2016-05-271-1/+1
| | | | | | name. (GCC is correct here per the latest language DRs.) llvm-svn: 271044
* [Hexagon] Do not create passes in the constructor of HexagonPassConfigKrzysztof Parzyszek2016-05-271-9/+5
| | | | | | | When running mir tests, a pass created in that constructor would not be freed, leading to memory leaks. llvm-svn: 271043
* [Driver] Fix driver support for color diagnosticsBruno Cardoso Lopes2016-05-273-32/+61
| | | | | | | | | | | | | | | | Diagnostics that happen during driver time do not have color output support unless -fcolor-diagonostic is explicitly passed into the driver. This is not a problem for cc1 since dianostic arguments are properly handled and color is enabled by default if the terminal supports it. Make the driver behave like CC1. There are tests that already check for these flags, but for the color itself there's no sensible way to test it. Differential Revision: http://reviews.llvm.org/D20404 rdar://problem/26290980 llvm-svn: 271042
* [LCSSA] Simplify. Suggested by Sanjoy.Davide Italiano2016-05-271-1/+1
| | | | llvm-svn: 271041
* [pdb] Fix size check when reading stream bytes.Zachary Turner2016-05-271-2/+2
| | | | | | | We were accidentally bounds checking the read against the output ArrayRef instead of against the size of the read. llvm-svn: 271040
* [Timer] Add missing slash in doxygen commit.Davide Italiano2016-05-271-1/+1
| | | | | | Pointed out by: Sean Silva. llvm-svn: 271039
* Revert "[MC] Support symbolic expressions in assembly directives"Petr Hosek2016-05-279-176/+62
| | | | | | This reverts commit r271028, it causes the directive_fill.s to fail. llvm-svn: 271038
* [Timer] Expose an API to check if the timer is running.Davide Italiano2016-05-271-0/+3
| | | | llvm-svn: 271037
* SmallVector: Replace some pre-C++11 move helpers with standard algorithmsDavid Blaikie2016-05-271-45/+10
| | | | llvm-svn: 271036
* Fix storing the frame pointer for OMP-T during ppc64 microtask dispatchHal Finkel2016-05-271-0/+1
| | | | | | Thanks to John Mellor-Crummey for reporting the omission. llvm-svn: 271035
* [GVN] Preserve !range metadata when PRE'ing loadsSanjoy Das2016-05-272-0/+26
| | | | | | | | | | Reviewers: dberlin, reames, george.burgess.iv Subscribers: mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D20743 llvm-svn: 271034
* [X86] Detect SAD patterns and emit psadbw instructions.Michael Kuperstein2016-05-273-7/+1245
| | | | | | | | This recommits r267649 with a fix for PR27539. Differential Revision: http://reviews.llvm.org/D20598 llvm-svn: 271033
* Make sure data is available before dereferencing itDavid Majnemer2016-05-271-0/+14
| | | | llvm-svn: 271032
* Avoid overflow when computing the size of an arrayDavid Majnemer2016-05-271-0/+4
| | | | llvm-svn: 271031
* Don't assume that there will be enough padding bytesDavid Majnemer2016-05-271-2/+9
| | | | llvm-svn: 271030
* Don't assume that there will be another null byteDavid Majnemer2016-05-271-0/+2
| | | | llvm-svn: 271029
* [MC] Support symbolic expressions in assembly directivesPetr Hosek2016-05-279-62/+176
| | | | | | | | | This matches the behavior of GNU assembler which supports symbolic expressions in absolute expressions used in assembly directives. Differential Revision: http://reviews.llvm.org/D20656 llvm-svn: 271028
* Resubmit "[pdb] Allow zero-copy read support for symbol streams.""Zachary Turner2016-05-2716-61/+120
| | | | | | | | | Due to differences in template instantiation rules, it is not portable to static_assert(false) inside of an invalid specialization of a template. Instead I just =delete the method so that it can't be used, and leave a comment that it must be explicitly specialized. llvm-svn: 271027
* Revert "[pdb] Allow zero-copy read support for symbol streams."Chad Rosier2016-05-2716-122/+61
| | | | | | | | This reverts commit r271024 due to error: static_assert failed "You must either provide a specialization of VarStreamArrayExtractor or a custom extractor" llvm-svn: 271026
OpenPOWER on IntegriCloud