- Feb 07, 2017
-
-
Chris Bieneman authored
Moving the Ninja job pool configuration settings into the HandleLLVMOptions module will allow standalone builds of LLVM sub-projects to use the LLVM options without needing to re-implement them. llvm-svn: 294334
-
Sanjay Patel authored
llvm-svn: 294333
-
Saleem Abdulrasool authored
This reverts commit SVN r294148. Seems that it was mistaken, and GCC does still define `__unix` and `unix` when in GNU mode. llvm-svn: 294332
-
David Blaikie authored
llvm-svn: 294331
-
Nemanja Ivanovic authored
Adds the vnot extended mnemonic for the vnor instruction. Committing on behalf of brunoalr (Bruno Rosa). Differential Revision: https://reviews.llvm.org/D29225 llvm-svn: 294330
-
Reid Kleckner authored
Hoist entry block code for arguments and swift error values out of the basic block instruction selection loop. Lowering arguments once up front seems much more readable than doing it conditionally inside the loop. It also makes it clear that argument lowering can update StaticAllocaMap because no instructions have been selected yet. Also use range-based for loops where possible. llvm-svn: 294329
-
Marshall Clow authored
Stop using random_shuffle in the libc++ test suite. It's going to be removed in c++17. Use shuffle() instead. No change to libc++, just the tests. llvm-svn: 294328
-
Pavel Labath authored
MSVC does not think that `char []` can be constexpr. Switch to regular const. llvm-svn: 294327
-
Pavel Labath authored
Summary: The formatter has three knobs: - the user can choose which time unit to use for formatting (default: whatever is the unit of the input) - he can choose whether the unit gets displayed (default: yes) - he can affect the way the number itself is formatted via standard number formatting options (default:default) Reviewers: zturner, inglorion Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D29481 llvm-svn: 294326
-
Sanjay Patel authored
llvm-svn: 294325
-
Alexander Timofeev authored
lane masks. Differential revision: https://reviews.llvm.org/D29442 llvm-svn: 294324
-
Davide Italiano authored
Requested by Sanjoy/Hal a while ago, and forgotten by me (r283612). llvm-svn: 294323
-
George Rimar authored
DefinedSynthetic symbols are attached to sections, for the case when such symbol was attached to non-allocated section, we calculated its value incorrectly. We subtracted Body->Section->Addr, but non-allocatable sections should have zero VA in output and therefore result value was wrong. And at the same time we have Body->Section->Addr != 0 for them internally because use it for calculation of section size. Patch fixes calculation of such symbols values. Differential revision: https://reviews.llvm.org/D29653 llvm-svn: 294322
-
Krzysztof Parzyszek authored
Remove TypeXTYPE, TypeALU32, TypeSYSTEM, TypeJR, and instead use their architecture counterparts. Patch by Colin LeMahieu. llvm-svn: 294321
-
Krzysztof Parzyszek authored
- Map A2_zxtb to A2_andir. - Map PS_call_nr J2_call. - Map A2_tfr[t|f][new] to A2_padd[t|f][new]. Patch by Colin LeMahieu. llvm-svn: 294320
-
Reid Kleckner authored
llvm-svn: 294319
-
Adrian Prantl authored
The bitcode upgrade for DIGlobalVariable unconditionally wrapped DIGlobalVariables in a DIGlobalVariableExpression. When a DIGlobalVariable is referenced by a DIImportedEntity, however, this is wrong. This patch fixes the bitcode upgrade by deferring the creation of DIGlobalVariableExpressions until we know the context of the DIGlobalVariable. <rdar://problem/30134279> Differential Revision: https://reviews.llvm.org/D29349 llvm-svn: 294318
-
Reid Kleckner authored
This reverts commit r294250. It caused PR31891. Add a test case that shows that inlinable calls retain location information with an accurate scope. llvm-svn: 294317
-
Daniel Berlin authored
llvm-svn: 294316
-
Martin Probst authored
Summary: In JavaScript, object literals can contain methods: var x = { a() { return 1; }, }; Previously, clang-format always parsed nested {} inside a braced list as further braced lists. Special case this logic for JavaScript to try parsing as a braced list, but fall back to parsing as a child block. Reviewers: djasper Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D29656 llvm-svn: 294315
-
Benjamin Kramer authored
It confuses FileManager on windows. llvm-svn: 294314
-
Anastasia Stulova authored
Fix for bug 30217 - incorrect error given for logical NOT operation with a pointer type: corrected sema check and improved related tests. Review: D29038 llvm-svn: 294313
-
Benjamin Kramer authored
Another attempt on making this work on windows. llvm-svn: 294312
-
Marshall Clow authored
llvm-svn: 294311
-
George Rimar authored
For case when LLD should error out, llm-readobj was called, what worked because argument was an output from first test run. llvm-svn: 294310
-
Benjamin Kramer authored
I didn't find this because my main development machine still happens to use libstdc++ with the broken C++11 ABI, which has a global empty string. llvm-svn: 294309
-
Simon Pilgrim authored
vXi8/vXi64 vector shifts are often shifted as vYi16/vYi32 types but we weren't always remembering to bitcast the input. Tested with a new assert as we don't currently manipulate these shifts enough for test cases to catch them. llvm-svn: 294308
-
NAKAMURA Takumi authored
Or bogus filename like "b'foo'" would be generated. This is part of https://reviews.llvm.org/D27405 llvm-svn: 294307
-
NAKAMURA Takumi authored
Py3 emits float with '/'. This is part of https://reviews.llvm.org/D27405 llvm-svn: 294306
-
Artur Pilipenko authored
Currently we don't support these nodes, so the tests check the current codegen without load combine. This change makes the review of the change to support these nodes more clear. Separated from https://reviews.llvm.org/D29591 review. llvm-svn: 294305
-
Martin Probst authored
Summary: Regex detection would incorrectly classify a trailing `!` operator (nullability cast) followed by a `/` as the start of a regular expression literal. This fixes code such as: var foo = x()! / 10; Which would previously parse a regexp all the way to the end of the source file (or next `/`). Reviewers: djasper Subscribers: cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D29634 llvm-svn: 294304
-
NAKAMURA Takumi authored
With universal_newlines, readline() stalls to fill the buffer. Therefore, let the pipe unbuffered. This is part of https://reviews.llvm.org/D27404 FIXME: Use Popen.communicate() llvm-svn: 294303
-
Martin Probst authored
Summary: In JavaScript, classes are expressions, so they can appear e.g. in argument lists. var C = foo(class { bar() { return 1; } }; Reviewers: djasper Subscribers: cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D29635 llvm-svn: 294302
-
Igor Laevsky authored
Differential Revision: https://reviews.llvm.org/D29456 llvm-svn: 294301
-
Simon Pilgrim authored
llvm-svn: 294300
-
Simon Pilgrim authored
llvm-svn: 294299
-
Christof Douma authored
When constructing global address literals while targeting the RWPI relocation model. LLVM currently only uses literal pools. If MOVW/MOVT instructions are available we can use these instead. Beside being more efficient it allows -arm-execute-only to work with -relocation-model=RWPI as well. When we generate MOVW/MOVT for global addresses when targeting the RWPI relocation model, we need to use base relative relocations. This patch does the needed plumbing in MC to generate these for MOVW/MOVT. Differential Revision: https://reviews.llvm.org/D29487 Change-Id: I446786e43a6f5aa9b6a5bb2cd216d60d41c7755d llvm-svn: 294298
-
Benjamin Kramer authored
llvm-svn: 294297
-
Simon Pilgrim authored
Exposes some poor codegen with identity shuffle due to bad interaction with insert_subvector(extract_subvector) / concat_subvectors llvm-svn: 294296
-
Joey Gouly authored
Review: https://reviews.llvm.org/D27749 llvm-svn: 294295
-