summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove dead function.Rui Ueyama2017-02-271-1/+0
| | | | llvm-svn: 296316
* Remove unnecessary "this->".Rui Ueyama2017-02-271-2/+2
| | | | llvm-svn: 296315
* Rename SyntheticSection::finalize -> finalizeContents.Rui Ueyama2017-02-273-33/+33
| | | | | | | In LLD source code, too many functions are called "finalize", although what they do are different. This patch gives it a better name. llvm-svn: 296314
* De-template SyntheticSection.Rui Ueyama2017-02-276-105/+86
| | | | | | This class didn't use ELFT. llvm-svn: 296313
* [analyzer] NFC: Update test infrastructure to support multiple constraint ↵Dominic Chen2017-02-27408-555/+626
| | | | | | | | | | | | | | managers Summary: Replace calls to %clang/%clang_cc1 with %clang_analyze_cc1 when invoking static analyzer, and perform runtime substitution to select the appropriate constraint manager, per D28952. Reviewers: xazax.hun, NoQ, zaks.anna, dcoughlin Subscribers: mgorny, rgov, mikhail.ramalho, a.sidorin, cfe-commits Differential Revision: https://reviews.llvm.org/D30373 llvm-svn: 296312
* De-template InterpSection because it doesn't use ELFT.Rui Ueyama2017-02-273-8/+3
| | | | llvm-svn: 296311
* Update comments. Now thunks are synthetic sections.Rui Ueyama2017-02-271-5/+1
| | | | llvm-svn: 296310
* Move SymbolTable<ELFT>::Sections out of the class.Rui Ueyama2017-02-2710-33/+33
| | | | | | | | | | The list of all input sections was defined in SymbolTable class for a historical reason. The list itself is not a template. However, because SymbolTable class is a template, we needed to pass around ELFT to access the list. This patch moves the list out of the class so that it doesn't need ELFT. llvm-svn: 296309
* De-template OutputSectionFactory.Rui Ueyama2017-02-275-24/+25
| | | | | | | Since OutputSection is no longer a template, it doesn't make much sense to tempalte its factory class. llvm-svn: 296308
* Remove useless template so that Out<ELFT> becomes just Out.Rui Ueyama2017-02-278-79/+75
| | | | llvm-svn: 296307
* Add a cc1 flag for setting the existing Preprocessor option ↵Argyrios Kyrtzidis2017-02-273-3/+8
| | | | | | 'AllowPCHWithCompilerErrors'. llvm-svn: 296306
* Do full codegen for various tests. NFCAmaury Sechet2017-02-273-57/+147
| | | | llvm-svn: 296305
* Remove an obsolete/duplicate part of a document.Rui Ueyama2017-02-271-36/+0
| | | | llvm-svn: 296304
* De-template SharedSymbol.Rui Ueyama2017-02-268-69/+91
| | | | | | Differential Revision: https://reviews.llvm.org/D30351 llvm-svn: 296303
* Fix rst markup.Rui Ueyama2017-02-261-3/+3
| | | | llvm-svn: 296302
* [APInt] Use UINT64_MAX instead of ~uint64_t(0ULL). NFCCraig Topper2017-02-261-1/+1
| | | | llvm-svn: 296301
* [APInt] Use UINT64_MAX instead of ~0ULL. NFCCraig Topper2017-02-262-2/+12
| | | | llvm-svn: 296300
* [APInt] Remove unnecessary early out from getLowBitsSet. The same case is ↵Craig Topper2017-02-262-2/+10
| | | | | | handled equally well by the next check. llvm-svn: 296299
* Update comments. NFCIXin Tong2017-02-261-2/+2
| | | | llvm-svn: 296298
* Fix typo.Rui Ueyama2017-02-261-1/+1
| | | | | | Pointed out by Piotr Padlewski. llvm-svn: 296297
* [X86] DAZ Macros RelocationOren Ben Simhon2017-02-262-8/+8
| | | | | | | | | The DAZ feature introduces the denormal zero support for x86. Currently the definitions are located under SSE3 header, however there are some SSE2 targets that support the feature as well. Differential Revision: https://reviews.llvm.org/D30194 llvm-svn: 296296
* Revert "[CGP] Split some critical edges coming out of indirect branches"Daniel Jasper2017-02-265-435/+13
| | | | | | | This reverts commit r296149 as it leads to crashes when compiling for PPC. llvm-svn: 296295
* [LoopDeletion] Modernize and simplify a bit. NFCI.Davide Italiano2017-02-261-8/+3
| | | | llvm-svn: 296294
* [X86] Fix execution domain for cmpss/sd instructions.Craig Topper2017-02-265-160/+168
| | | | llvm-svn: 296293
* [AVX-512] Fix execution domain for scalar commutable min/max instructions.Craig Topper2017-02-261-1/+1
| | | | llvm-svn: 296292
* [AVX-512] Fix execution domain for vmovhpd/lpd/hps/lps.Craig Topper2017-02-262-1/+2
| | | | llvm-svn: 296291
* [AVX-512] Fix the execution domain for AVX-512 integer broadcasts.Craig Topper2017-02-263-5/+6
| | | | llvm-svn: 296290
* [AVX-512] Disable the redundant patterns in the VPBROADCASTBr_Alt and ↵Craig Topper2017-02-261-14/+16
| | | | | | VPBROADCASTWr_Alt instructions. NFC llvm-svn: 296289
* [AVX-512] Fix execution domain for VPMADD52 instructions.Craig Topper2017-02-263-24/+26
| | | | llvm-svn: 296288
* [AVX-512] Use update_llc_test_checks.py to regenerate a test.Craig Topper2017-02-261-44/+53
| | | | llvm-svn: 296287
* [AVX-512] Fix the execution domain for VSCALEF instructions.Craig Topper2017-02-261-0/+4
| | | | llvm-svn: 296286
* [AVX-512] Fix execution domain of scalar VRANGE/REDUCE/GETMANT with sae.Craig Topper2017-02-261-0/+1
| | | | llvm-svn: 296285
* [X86] Fix the execution domain for scalar SQRT intrinsic instruction.Craig Topper2017-02-263-7/+7
| | | | llvm-svn: 296284
* [X86] Add an additional CHECK prefix to a test. Some of the cases used it, ↵Craig Topper2017-02-261-12/+7
| | | | | | but it wasn't on the FileCheck command lines. llvm-svn: 296283
* [index] Add 'Parameter' symbol kind and 'Local' symbol property to ↵Argyrios Kyrtzidis2017-02-269-44/+98
| | | | | | | | | | | | distinguish function-local symbols Parameters have a 'child' relation to their function/method. Also add an option '-include-locals' to 'c-index-test core' to enable indexing of function-local symbols. Original patch from Nathan Hawes with some changes by me. https://reviews.llvm.org/D30304 llvm-svn: 296282
* [SCCP] Remove manual folding of terminator instructions.Xin Tong2017-02-261-26/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Summary: BranchInst, SwitchInst (with non-default case) with Undef as input is not possible at this point. As we always default-fold terminator to one target in ResolvedUndefsIn and set the input accordingly. So we should only have constantint/blockaddress here. If ConstantFoldTerminator fails, that could mean 2 things. 1. ConstantFoldTerminator is doing something unexpected, i.e. not folding on constantint or blockaddress and not making blocks that should be dead dead. 2. This is not a terminator on constantint or blockaddress. Its on a constant or overdefined, then this block should not be dead. In both cases, we should assert. Reviewers: davide, efriedma, sanjoy Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D30381 llvm-svn: 296281
* [X86] Clean up test/CodeGen/X86/2006-03-02-InstrSchedBug.llDavid L. Jones2017-02-261-8/+9
| | | | | | | | | | | | | | | Summary: Migrated from grep to FileCheck. Re-indented code, removed boilerplate comments. Added 'entry' label at beginning of basic block. Patch by Jorge Gorbe! Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D30320 llvm-svn: 296280
* Revert "In visitSTORE, always use FindBetterChain, rather than only when ↵Nirav Dave2017-02-2674-2499/+2546
| | | | | | | | UseAA is enabled." This reverts commit r296252 until 256-bit operations are more efficiently generated in X86. llvm-svn: 296279
* Add a section about how to use ld.lld.Rui Ueyama2017-02-261-0/+23
| | | | llvm-svn: 296278
* vec perm can go down either pipeline on P8.Eric Christopher2017-02-261-1/+1
| | | | | | No observable changes, spotted while looking at the scheduling description. llvm-svn: 296277
* Update cxx_dr_status page.Richard Smith2017-02-251-3/+3
| | | | llvm-svn: 296276
* C++ DR1611, 1658, 2180: implement "potentially constructed subobject" rules ↵Richard Smith2017-02-2512-36/+354
| | | | | | | | | | | | | | | | | | | | | | for special member functions. Essentially, as a base class constructor does not construct virtual bases, such a constructor for an abstract class does not need the corresponding base class construction to be valid, and likewise for destructors. This creates an awkward situation: clang will sometimes generate references to the complete object and deleting destructors for an abstract class (it puts them in the construction vtable for a derived class). But we can't generate a "correct" version of these because we can't generate references to base class constructors any more (if they're template specializations, say, we might not have instantiated them and can't assume any other TU will emit a copy). Fortunately, we don't need to, since no correct program can ever invoke them, so instead emit symbols that just trap. We should stop emitting references to these symbols, but still need to emit definitions for compatibility. llvm-svn: 296275
* Fix signed-unsigned comparison warningSanjoy Das2017-02-251-1/+1
| | | | llvm-svn: 296274
* [ValueTracking] Don't do an unchecked shift in ComputeNumSignBitsSanjoy Das2017-02-253-2/+79
| | | | | | | | | | | | | | | | | | | | | | Summary: Previously we used to return a bogus result, 0, for IR like `ashr %val, -1`. I've also added an assert checking that `ComputeNumSignBits` at least returns 1. That assert found an already checked in test case where we were returning a bad result for `ashr %val, -1`. Fixes PR32045. Reviewers: spatel, majnemer Reviewed By: spatel, majnemer Subscribers: efriedma, mcrosier, llvm-commits Differential Revision: https://reviews.llvm.org/D30311 llvm-svn: 296273
* [APInt] Add APInt::extractBits() method to extract APInt subrange (reapplied)Simon Pilgrim2017-02-255-8/+62
| | | | | | | | | | | | | | | | The current pattern for extract bits in range is typically: Mask.lshr(BitOffset).trunc(SubSizeInBits); Which can be particularly slow for large APInts (MaskSizeInBits > 64) as they require the allocation of memory for the temporary variable. This is another of the compile time issues identified in PR32037 (see also D30265). This patch adds the APInt::extractBits() helper method which avoids the temporary memory allocation. Differential Revision: https://reviews.llvm.org/D30336 llvm-svn: 296272
* [AVX-512] Fix the execution domain for scalar FMA instructions.Craig Topper2017-02-254-19/+20
| | | | llvm-svn: 296271
* [AVX-512] Fix the execution domain on some instructions.Craig Topper2017-02-254-11/+20
| | | | llvm-svn: 296270
* [AVX-512] Add an additional test case to show the execution domain for ↵Craig Topper2017-02-251-0/+12
| | | | | | vrqsrtsd is wrong. llvm-svn: 296269
* [AVX-512] Use update_llc_test_checks.py to regenerate the avx512er intrinsic ↵Craig Topper2017-02-251-23/+90
| | | | | | test. llvm-svn: 296268
* [test] Disable test/Index/pch-from-libclang.c for non-darwin systems.Argyrios Kyrtzidis2017-02-251-0/+4
| | | | llvm-svn: 296267
OpenPOWER on IntegriCloud