summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [WebAssembly] Fix indentation. NFC.Dan Gohman2016-10-031-1/+4
| | | | llvm-svn: 283147
* [WebAssembly] Rename OPERAND_FP32IMM to OPERAND_F32IMM.Dan Gohman2016-10-034-8/+8
| | | | | | | WebAssembly documentation consistently says "f32" rather than "fp32" to describe 32-bit floating-point. llvm-svn: 283146
* ObjectiveC: fix a seg fault when deserialing redeclaration of ObjCMethodDecl.Manman Ren2016-10-033-3/+19
| | | | | | | | | | | | | | | The deserialization of redeclartion can cause seg fault since getCanonicalDecl of the redeclaration returns the lookup result on the ObjCContainerDecl, which can be null if FindExternalVisibleDeclsByName is not done updating the lookup results. The fix is to return the redeclaration itself as the canonical decl. Note that the handling for redeclaration of ObjCMethodDecl is not in line with other redeclarables. rdar://28488466 llvm-svn: 283145
* [AArch64][RegisterBankInfo] Add getSameKindofOperandsMapping.Quentin Colombet2016-10-032-26/+54
| | | | | | | | | | Refactor the code so that the same function can be used for all instructions with all the same operands for up to 3 operands. This is going to be useful for cast instructions. NFC. llvm-svn: 283144
* [RDF] Fix liveness propagation through shadowsKrzysztof Parzyszek2016-10-032-29/+80
| | | | | | | | Each shadow only represents data flow that is restricted to its reaching def. Propagating more than that could lead to spurious register liveness, resulting in extra (incorrectly) block live-ins. llvm-svn: 283143
* AArch64Subtarget: Remove unused CPUString fieldMatthias Braun2016-10-032-7/+6
| | | | llvm-svn: 283142
* [analyzer] A blind attempt to fix a buildbot after r283092.Artem Dergachev2016-10-031-1/+1
| | | | | | The msvc compiler seems to crash compiling the BugReport class. llvm-svn: 283141
* X86: Do not produce GOT relocations on windowsMatthias Braun2016-10-032-2/+32
| | | | | | | | | | Windows has no GOT relocations the way elf/darwin has. Some people use x86_64-pc-win32-macho to build EFI firmware; Do not produce GOT relocations for this target. Differential Revision: https://reviews.llvm.org/D24627 llvm-svn: 283140
* [esan] Fix ESan test failure on Debian Sid botQin Zhao2016-10-031-14/+28
| | | | | | | | | | | | | | Summary: Handles early allocation from dlsym by allocating memory from a local static buffer. Reviewers: bruening Subscribers: kubabrecka Differential Revision: https://reviews.llvm.org/D25193 llvm-svn: 283139
* Add unit tests for StringSwitch.Zachary Turner2016-10-032-0/+108
| | | | | | Differential revision: https://reviews.llvm.org/D25205 llvm-svn: 283138
* [PruneEH] Be correct in the face IPOSanjoy Das2016-10-032-4/+44
| | | | | | | This fixes one spot I had missed in r265762. Credit goes to Philip Reames for spotting this one! llvm-svn: 283137
* [sancov] using env for better portabilityMike Aizatsky2016-10-031-1/+1
| | | | llvm-svn: 283136
* Added more comments to tooling::Replacements.Eric Liu2016-10-031-0/+4
| | | | | | | | | | Summary: Also test phabricator commit processing. Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D25207 llvm-svn: 283135
* Refactor LICM pass in preparation for LoopSink pass.Dehao Chen2016-10-031-8/+17
| | | | | | | | | | | | Summary: LoopSink pass uses some common function in LICM. This patch refactor the LICM code to make it usable by LoopSink pass (https://reviews.llvm.org/D22778). Reviewers: davidxl, danielcdh, hfinkel, chandlerc Subscribers: hfinkel, llvm-commits Differential Revision: https://reviews.llvm.org/D24168 llvm-svn: 283134
* [AMDGPU] Pass optimization level to SelectionDAGISelKonstantin Zhuravlyov2016-10-033-8/+11
| | | | llvm-svn: 283133
* Factor out a diagnostic kind enum for use in two %select expressionsReid Kleckner2016-10-034-25/+40
| | | | | | NFC llvm-svn: 283131
* [AMDGPU] Sign extend AShr when promoting (instead of zero extending)Konstantin Zhuravlyov2016-10-032-10/+10
| | | | llvm-svn: 283130
* Jump threading: avoid trying to split edge into landingpad block (PR27840)Hans Wennborg2016-10-032-0/+37
| | | | | | | | | Splitting the edge is nontrivial because of the landing pad, and we would currently assert trying to do it. Differential Revision: https://reviews.llvm.org/D24680 llvm-svn: 283129
* Rename Error -> ReportError.Zachary Turner2016-10-031-15/+15
| | | | | | | Error conflicts with the llvm::Error datatype, creating ambiguities. llvm-svn: 283128
* Revert "Use getSize instead of data().size(). NFC."Rafael Espindola2016-10-034-8/+3
| | | | | | | | This reverts commit r283125. lld needs to be updated. llvm-svn: 283127
* [RDF] Further improve readability of the graphKrzysztof Parzyszek2016-10-031-11/+14
| | | | | | Print target basic block for a branch. llvm-svn: 283126
* Use getSize instead of data().size(). NFC.Rafael Espindola2016-10-034-3/+8
| | | | | | | Also assert isFinalized in getSize(). This just reduces the noise from another patch. llvm-svn: 283125
* Mark a couple issues as done (2742 and 2760)Marshall Clow2016-10-031-4/+4
| | | | llvm-svn: 283124
* [RTDyld] Fix a bug in RTDyldMemoryManager::deregisterEHFrames.Lang Hames2016-10-031-1/+1
| | | | | | | | | | It should forward to deregisterEHFramesInProcess by default, not registerEHFramesInProcess. No test case: I haven't come up with a good way to unit test EH frame registration yet. llvm-svn: 283123
* [RDF] Replace RegisterAliasInfo with target-independent code using lane masksKrzysztof Parzyszek2016-10-0310-430/+369
| | | | llvm-svn: 283122
* [CUDA] Clean up some comments in Sema::IsOverload. NFCJustin Lebar2016-10-031-7/+7
| | | | llvm-svn: 283121
* [CUDA] Disallow overloading destructors.Justin Lebar2016-10-035-58/+38
| | | | | | | | | | | | | | | | | | | | | | Summary: We'd attempted to allow this, but turns out we were doing a very bad job. :) Making this work properly would be a giant change in clang. For example, we'd need to make CXXRecordDecl::getDestructor() context-sensitive, because the destructor you end up with depends on where you're calling it from. For now (and hopefully for ever), just disallow overloading of destructors in CUDA. Reviewers: rsmith Subscribers: cfe-commits, tra Differential Revision: https://reviews.llvm.org/D24571 llvm-svn: 283120
* [x86, SSE/AVX] allow 128/256-bit lowering for copysign vector intrinsics ↵Sanjay Patel2016-10-034-451/+260
| | | | | | | | | | | | | | | | (PR30433) This should fix: https://llvm.org/bugs/show_bug.cgi?id=30433 There are a couple of open questions about the codegen: 1. Should we let scalar ops be scalars and avoid vector constant loads/splats? 2. Should we have a pass to combine constants such as the inverted pair that we have here? Differential Revision: https://reviews.llvm.org/D25165 llvm-svn: 283119
* [lit] Allow more file extensions for test cases.Logan Chien2016-10-031-1/+3
| | | | | | | This commit splits the file extensions before determining the test format. This allows libc++abi to add assembly-based test cases. llvm-svn: 283118
* Don't drop the llvm. prefix when renaming.Rafael Espindola2016-10-033-14/+28
| | | | | | | | | | If the llvm. prefix is dropped other parts of llvm don't see this as an intrinsic. This means that the number of regular symbols depends on the context the module is loaded into, which causes LTO to abort. Fixes PR30509. llvm-svn: 283117
* [ARC] Ignore qualifiers in copy-restore expressionsVedant Kumar2016-10-032-1/+15
| | | | | | | | | | | | | | | | When ARC is enabled, an ObjCIndirectCopyRestoreExpr models the passing of a function argument s.t: * The argument is copied into a temporary, * The temporary is passed into the function, and * After the function call completes, the temporary is move-assigned back to the original location of the argument. The argument type and the parameter type must agree "except possibly in qualification". This commit weakens an assertion in EmitCallArg() to actually reflect that. llvm-svn: 283116
* fix formatting; NFCSanjay Patel2016-10-031-8/+5
| | | | llvm-svn: 283115
* [OpenCL] Fix bug in __builtin_astype causing invalid LLVM cast instructionsYaxun Liu2016-10-032-3/+91
| | | | | | | | | | | | __builtin_astype is used to cast OpenCL opaque types to other types, as such, it needs to be able to handle casting from and to pointer types correctly. Current it cannot handle 1) casting between pointers of different addr spaces 2) casting between pointer type and non-pointer types. This patch fixes that. Differential Revision: https://reviews.llvm.org/D25123 llvm-svn: 283114
* Change titie of page from Oulu to IssaquahMarshall Clow2016-10-031-2/+2
| | | | llvm-svn: 283113
* List tentatively ready issues for IssaquahMarshall Clow2016-10-031-67/+141
| | | | llvm-svn: 283112
* Prevent out of order HashDirective lexing in AsmLexer.Nirav Dave2016-10-033-27/+26
| | | | | | | | | | | | | | | | | | | Retrying after buildbot reset. To lex hash directives we peek ahead to find component tokens, create a unified token, and unlex the peeked tokens so the parser does not need to parse the tokens then. Make sure we do not to lex another hash directive during peek operation. This fixes PR28921. Reviewers: rnk, loladiro Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D24839 llvm-svn: 283111
* This adds a separate file for the fp denormal regression tests. NFC.Sjoerd Meijer2016-10-031-0/+9
| | | | | | I forgot to svn add the new file in my previous commit. llvm-svn: 283110
* This adds a separate file for the fp denormal regression tests. NFC.Sjoerd Meijer2016-10-031-9/+0
| | | | | | Differential Revision: https://reviews.llvm.org/D24907 llvm-svn: 283109
* AMDGPU: Fix typoMatt Arsenault2016-10-031-1/+1
| | | | llvm-svn: 283108
* AMDGPU: Fix missing -verify-machineinstrs in testMatt Arsenault2016-10-031-1/+1
| | | | llvm-svn: 283107
* Wdocumentation fixSimon Pilgrim2016-10-031-1/+1
| | | | llvm-svn: 283106
* Fix PR 28885: Fix AST Printer output for the inherited constructor usingAlex Lorenz2016-10-032-0/+19
| | | | | | | | | | | | | declarations. This commit ensures that the correct record type is printed out for the using declarations that represent C++ inherited constructors. It fixes a regression introduced in r274049 which changed the name that's stored in the using declarations that correspond to inherited constructors. Differential Revision: https://reviews.llvm.org/D25131 llvm-svn: 283105
* Revert r283102 (Typo in the phabricator link)Alex Lorenz2016-10-032-19/+0
| | | | llvm-svn: 283104
* [X86][SSE] Add PR30371 (shuffle constant folding) test caseSimon Pilgrim2016-10-031-0/+40
| | | | llvm-svn: 283103
* Fix PR 28885: Fix AST Printer output for the inherited constructor usingAlex Lorenz2016-10-032-0/+19
| | | | | | | | | | | | | declarations. This commit ensures that the correct record type is printed out for the using declarations that represent C++ inherited constructors. It fixes a regression introduced in r274049 which changed the name that's stored in the using declarations that correspond to inherited constructors. Differential Revision: https://reviews.llvm.org/D25131 llvm-svn: 283102
* [ELF] - Apply clang-format. NFC.George Rimar2016-10-031-13/+12
| | | | llvm-svn: 283101
* [CMake] Fix libc++abi standalone cmake build.Logan Chien2016-10-031-1/+1
| | | | | | | | | | | The cmake files install directory has been changed to ${prefix}/lib/cmake/llvm since r259821. Searching cmake modules in ${prefix}/share/llvm/cmake will result in fatal errors. This commit fixes the out-of-tree build by changing the CMake module search path to: "$(llvm-config --obj-root)/lib/cmake/llvm" llvm-svn: 283100
* Add new target hooks for LoadStoreVectorizerVolkan Keles2016-10-036-59/+187
| | | | | | | | | | | | Summary: Added 6 new target hooks for the vectorizer in order to filter types, handle size constraints and decide how to split chains. Reviewers: tstellarAMD, arsenm Subscribers: arsenm, mzolotukhin, wdng, llvm-commits, nhaehnle Differential Revision: https://reviews.llvm.org/D24727 llvm-svn: 283099
* [ARM] Code size optimisation to lower udiv+urem to udiv+mls instead of aSjoerd Meijer2016-10-032-1/+91
| | | | | | | | | | | | | | | library call to __aeabi_uidivmod. This is an improved implementation of r280808, see also D24133, that got reverted because isel was stuck in a loop. That was caused by the optimisation incorrectly triggering on i64 ints, which shouldn't happen because there is no 64bit hwdiv support; that put isel's type legalization and this optimisation in a loop. A native ARM compiler and testing now shows that this is fixed. Patch mostly by Pablo Barrio. Differential Revision: https://reviews.llvm.org/D25077 llvm-svn: 283098
* [ELF] - Do not crash on invalid section alignment.George Rimar2016-10-032-0/+21
| | | | | | | | | | | | | | Case was revealed by id_000010,sig_08,src_000000,op_havoc,rep_4 from PR30540. Out implementation uses uint32 for storing section alignment value, what seems reasonable, though if value exceeds 32 bits bounds we have truncation and final value of 0. Patch fixes the issue. Differential revision: https://reviews.llvm.org/D25082 llvm-svn: 283097
OpenPOWER on IntegriCloud