summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [Sanitizers] Add total primary allocator RSS to allocator report.Alex Shlyapnikov2017-10-231-8/+14
| | | | | | | | | | | | Summary: . Reviewers: cryptoad Subscribers: llvm-commits, kubamracek Differential Revision: https://reviews.llvm.org/D39131 llvm-svn: 316356
* [lldbtest] Simplify removing an unneeded else. NFCI.Davide Italiano2017-10-231-2/+1
| | | | llvm-svn: 316355
* [X86][SSE] Regenerate PACKSS tests on 32 + 64-bit targetsSimon Pilgrim2017-10-231-74/+67
| | | | llvm-svn: 316354
* CodeGen: Fix invalid bitcast in partial initialization of automatic arrary ↵Yaxun Liu2017-10-232-1/+9
| | | | | | | | variable Differential Revision: https://reviews.llvm.org/D39184 llvm-svn: 316353
* Updated 'Getting Started' to use valid git links (added trailing slashes)Mitch Phillips2017-10-231-33/+33
| | | | | | | | | | | | Reviewers: pcc, asl, tonic Reviewed By: pcc Subscribers: llvm-commits, kcc Differential Revision: https://reviews.llvm.org/D38516 llvm-svn: 316352
* [PassManager] add test to show the new PM uses -latesimplifycfg early; NFCSanjay Patel2017-10-231-0/+95
| | | | llvm-svn: 316351
* [globalisel] Add very brief docs summarizing the ISel part of the LLVMDev ↵Daniel Sanders2017-10-231-5/+69
| | | | | | | | tutorial. Also added links to the talks available. llvm-svn: 316350
* AMDGPU: Cleanup local atomic node namesMatt Arsenault2017-10-234-62/+51
| | | | llvm-svn: 316349
* Revert "[Compiler-rt][MIPS] Fix cross build for XRAY."Evgeniy Stepanov2017-10-231-8/+2
| | | | | | | | | | | | | Breaks build: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/4677/steps/build%20with%20ninja/logs/stdio In file included from compiler-rt/lib/xray/xray_fdr_logging.cc:34: In file included from compiler-rt/lib/xray/xray_fdr_logging_impl.h:36: In file included from compiler-rt/lib/xray/xray_flags.h:18: compiler-rt/lib/xray/../sanitizer_common/sanitizer_flag_parser.h:23:7: error: '__sanitizer::FlagHandlerBase' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor] class FlagHandlerBase { llvm-svn: 316348
* [Sanitizers] New sanitizer API to purge allocator quarantine.Alex Shlyapnikov2017-10-239-26/+89
| | | | | | | | | | | | | | | | Summary: Purging allocator quarantine and returning memory to OS might be desired between fuzzer iterations since, most likely, the quarantine is not going to catch bugs in the code under fuzz, but reducing RSS might significantly prolong the fuzzing session. Reviewers: cryptoad Subscribers: kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D39153 llvm-svn: 316347
* AMDGPU: Fix default range in non-kernel functionsMatt Arsenault2017-10-233-4/+46
| | | | | | | | | The range should be assumed to be the hardware maximum if a workitem intrinsic is used in a callable function which does not know the restricted limit of the calling kernel. llvm-svn: 316346
* [X86] Fix disassembler table generation to prevent instructions tagged with ↵Craig Topper2017-10-233-16/+20
| | | | | | 'PS' being inherited into PD/XS/XD attribute entries. llvm-svn: 316345
* [ASTMatchers] Expose forEachOverriden in dynamic AST matchers.Benjamin Kramer2017-10-231-0/+1
| | | | llvm-svn: 316344
* Fix misguided error message in debug mode. No functional change. Fixes PR#34966Marshall Clow2017-10-231-1/+1
| | | | llvm-svn: 316343
* [scudo] Add a shared runtimeKostya Kortchinsky2017-10-233-9/+47
| | | | | | | | | | | | | | | | | Summary: Up to now, the Scudo cmake target only provided a static library that had to be linked to an executable to benefit from the hardened allocator. This introduces a shared library as well, that can be LD_PRELOAD'ed. Reviewers: alekseyshl Reviewed By: alekseyshl Subscribers: srhines, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D38980 llvm-svn: 316342
* [MachineOutliner] NFC: Rename getters/setters to fit coding styleJessica Paquette2017-10-231-13/+13
| | | | | | | Rename endIdx, startIdx, and length to getEndIdx, getStartIdx, and getLength in Candidate. llvm-svn: 316341
* [X86] Change VMPTRST to use PS instead of TB to match VMPTRLD.Craig Topper2017-10-231-1/+1
| | | | llvm-svn: 316340
* [X86] Change RDRAND to use PS instead of TB.Craig Topper2017-10-231-3/+3
| | | | | | Should be no functional change for now. A future disassembler change will prevent disassembling with 0xf2/0xf3. llvm-svn: 316339
* Pull X86 "CPUKind" checking into .cpp file. [NFC]Erich Keane2017-10-232-71/+73
| | | | | | | | Preparing to do a refactor of CPU/feature checking, this patch pulls the one CPU implementation from the .h file to the .cpp file. llvm-svn: 316338
* [X86] Change XRSTOR to use PS instead of TB to match XSAVE.Craig Topper2017-10-231-2/+2
| | | | | | I don't think this changes anything functionally yet, but I plan to fix the disassembler to use this to disable matching certain instructions with 0xf3/0xf2/0x66 prefixes. llvm-svn: 316337
* [X86][SSE] Remove AssertZext stage from PEXTRW/PEXTRB lowering. NFCI.Simon Pilgrim2017-10-233-33/+30
| | | | | | | | Remove AssertZext and instead add PEXTRW/PEXTRB support to computeKnownBitsForTargetNode to simplify instruction selection. Differential Revision: https://reviews.llvm.org/D39169 llvm-svn: 316336
* clang-cl: Expose --version.Nico Weber2017-10-232-1/+3
| | | | | | | | This is for consistency with lld-link, see https://reviews.llvm.org/D38972 Also give --version a help text so it shows up in --help / /? output (for both clang-cl and regular clang). llvm-svn: 316335
* Update DPPD/DPPS instruction scheduling on btver2.Andrew V. Tischenko2017-10-233-6/+52
| | | | | | Differential Revision: https://reviews.llvm.org/D39046 llvm-svn: 316334
* [X86] Add PTWRITE instruction for assembler and disassembler.Craig Topper2017-10-235-2/+55
| | | | llvm-svn: 316333
* [X86] Add RDPID instruction for assembler and disassembler.Craig Topper2017-10-236-3/+26
| | | | llvm-svn: 316332
* [DAGCombine] Permit combining of shuffles of equivalent splat BUILD_VECTORsSimon Pilgrim2017-10-232-9/+17
| | | | | | | | | | combineShuffleOfScalars is very conservative about shuffled BUILD_VECTORs that can be combined together. This patch adds one additional case - if both BUILD_VECTORs represent splats of the same scalar value but with different UNDEF elements, then we should create a single splat BUILD_VECTOR, sharing only the UNDEF elements defined by the shuffle mask. Differential Revision: https://reviews.llvm.org/D38696 llvm-svn: 316331
* Support formatting formatv_objects.Sam McCall2017-10-233-4/+39
| | | | | | | | | | | | | | | | Summary: Support formatting formatv_objects. While here, fix documentation about member-formatters, and attempted perfect-forwarding (I think). Reviewers: zturner Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38997 llvm-svn: 316330
* Add the --version option.Rui Ueyama2017-10-233-0/+14
| | | | | | Differential Revision: https://reviews.llvm.org/D38972 llvm-svn: 316329
* [X86][SSE] Regenerate bitcast-and-setcc testsSimon Pilgrim2017-10-233-93/+93
| | | | | | Avoid the retl/retq changes in an upcoming patch llvm-svn: 316328
* [clangd] Allow to pass code completion opts to ClangdServer.Ilya Biryukov2017-10-236-42/+306
| | | | | | | | | | | | Reviewers: bkramer, krasimir, sammccall Reviewed By: krasimir Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D38731 llvm-svn: 316327
* [X86][AVX2] Regenerate AVX2 intrinsics tests on 32 + 64-bit targetsSimon Pilgrim2017-10-233-2122/+1620
| | | | llvm-svn: 316326
* [X86][AVX] Regenerate AVX intrinsics tests on 32 + 64-bit targetsSimon Pilgrim2017-10-233-562/+460
| | | | llvm-svn: 316325
* [X86][F16C] Regenerate F16C schedule testsSimon Pilgrim2017-10-231-28/+28
| | | | llvm-svn: 316324
* [clangd] Updated outdated test comment. NFC.Ilya Biryukov2017-10-231-1/+1
| | | | llvm-svn: 316323
* Test commit.Artur Gainullin2017-10-231-0/+2
| | | | llvm-svn: 316322
* [llvm-dwarfdump] - Teach tool about few GNU call_sites constants.George Rimar2017-10-233-1/+124
| | | | | | | | | | | | | | This teaches tool about following consants: DW_TAG_GNU_call_site, DW_TAG_GNU_call_site_parameter, DW_AT_GNU_call_site_value, DW_AT_GNU_all_call_sites. Constants documented here: https://sourceware.org/elfutils/DwarfExtensions Differential revision: https://reviews.llvm.org/D39119 llvm-svn: 316321
* [X86] Add test for opportunity to use bzhi X86 instruction instead of ↵Ayman Musa2017-10-231-0/+97
| | | | | | | | load+and instructions. Transformation uploaded for CR in https://reviews.llvm.org/D34141. llvm-svn: 316320
* Fix for Bug 30718 - Failure to disassemble certain MOV with rex.R. The issue ↵Andrew V. Tischenko2017-10-232-2/+5
| | | | | | | | was in illegal segment register index. Differential Revision: https://reviews.llvm.org/D38786 llvm-svn: 316319
* [MinGW] Omit libc++/libc++abi/libunwind from autoexportingMartin Storsjo2017-10-231-0/+3
| | | | | | Differential Revision: https://reviews.llvm.org/D39167 llvm-svn: 316318
* [COFF] Fix exporting of functions starting with underscores, etcMartin Storsjo2017-10-234-11/+95
| | | | | | | | | | | | | | | | | | | | This fixes exporting functions in the following cases: - functions starting with an underscore in def files - functions starting with an underscore, via dllexport attributes, for mingw - fastcall and vectorcall functions when declared undecorated in def files - vectorcall functions when declared decorated in def files - stdcall functions when declared decorated in def files for mingw This still exports the stdcall functions with the wrong name in the normal msvc/link.exe mode, if declared with decoration in the def file though (this is not a regression though). Exporting functions via def files including decoration is not something I believe is routinely done though, but is tested to try to match link.exe's behaviour as far as easily possible. Differential Revision: https://reviews.llvm.org/D39170 llvm-svn: 316317
* [COFF] Improve the check for functions that should get an extra underscoreMartin Storsjo2017-10-232-5/+24
| | | | | | | | | | | This fixes exporting functions starting with an underscore, and fully decorated fastcall/vectorcall functions. Tests will be added in the lld repo. Differential Revision: https://reviews.llvm.org/D39168 llvm-svn: 316316
* Fix a -Wpedantic warning.Haojian Wu2017-10-231-1/+1
| | | | llvm-svn: 316315
* [rename] Don't overwrite the template argument when renaming a template ↵Haojian Wu2017-10-232-1/+25
| | | | | | | | | | | | | | function. Reviewers: ioeric Reviewed By: ioeric Subscribers: cierpuchaw, cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D39120 llvm-svn: 316314
* [ARM] Allow unrolling of multi-block loops.Sam Parker2017-10-232-16/+351
| | | | | | | | | | | Before, loop unrolling was only enabled for loops with a single block. This restriction has been removed and replaced by: - allow a maximum of two exiting blocks, - a four basic block limit for cores with a branch predictor. Differential Revision: https://reviews.llvm.org/D38952 llvm-svn: 316313
* [clangd] Report proper kinds for 'Keyword' and 'Snippet' completion items.Ilya Biryukov2017-10-232-3/+56
| | | | | | | | | | | | Reviewers: rwols, malaperle, krasimir, bkramer, sammccall Reviewed By: rwols, sammccall Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D38720 llvm-svn: 316311
* For better compatibility with C++11 and C++14, emit a nondiscardable definitionRichard Smith2017-10-232-7/+17
| | | | | | | of a static constexpr data member if it's defined 'constexpr' out of line, not only if it's defined 'constexpr' in the class. llvm-svn: 316310
* [X86] Update a doxygen comment in the disassembler tablegen code. NFCCraig Topper2017-10-231-0/+1
| | | | llvm-svn: 316309
* [X86] Fix disassembly of EVEX rounding control and SAE instructions.Craig Topper2017-10-238-57/+252
| | | | | | Fixes PR31955. llvm-svn: 316308
* [ELF] When placing orphans, handle case when last section is deadPetr Hosek2017-10-232-6/+33
| | | | | | | | | | | | | | | r315292 introduced a change that's supposed to consistently ignore "dead" output sections when placing orphans. Unfortunately, that change doesn't handle the special case when the orphan section is second to last section and the last section is dead (e.g. because it's being discarded) introducing a regression in some cases. This change handles this case by using the same predicate when checking the last section. Differential Revision: https://reviews.llvm.org/D39172 llvm-svn: 316307
* Add R_PPC_ADDR16_HI relocation supportRui Ueyama2017-10-222-5/+22
| | | | | | | | | | The support of R_PPC_ADDR16_HI improves ld compatibility and makes things on par with RuntimeDyldELF that already implements this relocation. Patch by vit9696. llvm-svn: 316306
OpenPOWER on IntegriCloud