- Jun 21, 2017
-
-
Lang Hames authored
Summary: The ASTImporter should import CXX method overrides from the source context when it imports a method decl. Reviewers: spyffe, rsmith, doug.gregor Reviewed By: spyffe Differential Revision: https://reviews.llvm.org/D34371 llvm-svn: 305850
-
Kevin Enderby authored
-no-leading-headers option so that it does not print the leading header. rdar://27378808 llvm-svn: 305849
-
Stephan T. Lavavej authored
llvm-svn: 305848
-
Anna Thomas authored
These functions isGCRelocate and isGCResult are similar to isStatepoint(const Value*). llvm-svn: 305847
-
Saleem Abdulrasool authored
This is a workaround for large file writes. It has been witnessed that write(2) failing with EINVAL (22) due to a large value (>2G). Thanks to James Knight for the help with coming up with a sane test case. llvm-svn: 305846
-
Alexander Shaposhnikov authored
ExpansionLoc was previously calculated incorrectly in the case of nested macros expansions. In this diff we build the stack of expansions where the last one is the actual expansion which should be used for grouping together the edits. The definition of MacroArgUse is adjusted accordingly. Test plan: make check-all Differential revision: https://reviews.llvm.org/D34268 llvm-svn: 305845
-
Matt Arsenault authored
llvm-svn: 305844
-
Stephan T. Lavavej authored
[libcxx] [test] Add more tests to tuple_size_structured_bindings.pass.cpp and make it friendlier to C1XX. Style/paranoia: 42.1 doesn't have an exact binary representation. Although this doesn't cause failures, it makes me uncomfortable, so I'm changing it to 42.5. C1XX rightly warns about unreferenced variables. Adding tests for their values makes C1XX happy and improves test coverage. C1XX (somewhat obnoxiously) warns about seeing a struct specialized as a class. Although the Standard doesn't care, saying struct consistently is better. (The Standard itself is still inconsistent about whether to depict tuple_element and tuple_size as structs or classes.) Fixes D33953. llvm-svn: 305843
-
Reid Kleckner authored
In the object file, the section index and relative offset are typically zero, so make these YAML fields optional with a default. It looks like there may be more partially initialized symbol records, but this should fix the msan bot. llvm-svn: 305842
-
Reid Kleckner authored
llvm-svn: 305841
-
Stanislav Mekhanoshin authored
If there is an immediate operand we shall not shrink V_SUBB_U32 and V_ADDC_U32, it does not fit e32 encoding. Differential Revison: https://reviews.llvm.org/D34291 llvm-svn: 305840
-
Michael Gottesman authored
This commit causes LLVM_USE_SANITIZER to now accept the "Leaks" option. This will cause cmake to pass in -fsanitize=leak in all of the appropriate places. I am making this change so that I can setup a linux bot that only detects leaks. llvm-svn: 305839
-
Matt Arsenault authored
llvm-svn: 305838
-
Aditya Nandakumar authored
llvm-svn: 305837
-
Aditya Nandakumar authored
https://reviews.llvm.org/D34372 Reviewed by dsanders llvm-svn: 305824
-
Sam Clegg authored
The option numbers in the macro were off by one which leads to some confusion. There are actually 12 arguments to this macro. Differential Revision: https://reviews.llvm.org/D34413 llvm-svn: 305823
-
Alex Shlyapnikov authored
Summary: ASan shadow memory on s390 is larger than other configurations, let's disable this test for now (will revisit it later). Reviewers: eugenis Subscribers: kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D34414 llvm-svn: 305822
-
Matt Arsenault authored
Before it was possible to partially fold use instructions before the defs. After the xor is folded into a copy, the same mov can end up in the fold list twice, so on the second attempt it will fail expecting to see a register to fold. llvm-svn: 305821
-
Abderrazek Zaafrani authored
Differential Revision: https://reviews.llvm.org/D34161 llvm-svn: 305820
-
Zachary Turner authored
There were certain fields that we didn't know how to write, as well as various padding bytes that we would ignore. This leads to garbage data in the PDB. While not strictly necessary, we should initialize these bytes to something meaningful, as it makes for easier binary comparison between PDBs. llvm-svn: 305819
-
Zachary Turner authored
llvm-svn: 305818
-
Matthias Braun authored
This does some improvements/cleanup to the recently introduced scavengeRegisterBackwards() functionality: - Rewrite findSurvivorBackwards algorithm to use the existing LiveRegUnit::accumulateBackward() code. This also avoids the Available and Candidates bitset and just need 1 LiveRegUnit instance (= 1 bitset). - Pick registers in allocation order instead of register number order. llvm-svn: 305817
-
Matt Arsenault authored
If the source was a copy of an undef register, this would produce a read of an undefined register which is a verifier error. llvm-svn: 305816
-
Stanislav Mekhanoshin authored
SGPRs are generally cheaper, so try to use them over VGPRs. Differential Revision: https://reviews.llvm.org/D34130 llvm-svn: 305815
-
Matt Arsenault authored
llvm-svn: 305814
-
Hiroshi Inoue authored
llvm-svn: 305813
-
Erich Keane authored
As the bug report says, struct A { template<typename T> operator T(); }; void foo() { A().operator auto(); } causes: "undeduced type in IR-generation UNREACHABLE executed at llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:208!" The problem is that in this case, "T" is being deduced as "auto", which I believe is incorrect. The 'operator auto' implementation in Clang is standards compliant, however there is a defect report against core (1670). Differential Revision: https://reviews.llvm.org/D34370 llvm-svn: 305812 -
Reid Kleckner authored
Summary: Previously we didn't add debug info chunks to the SparseChunks array, so they didn't participate in section GC. Now we do. Reviewers: ruiu Subscribers: aprantl, llvm-commits Differential Revision: https://reviews.llvm.org/D34356 llvm-svn: 305811
-
Simon Pilgrim authored
llvm-svn: 305810
-
Simon Pilgrim authored
The alphabetical progression isn't that useful llvm-svn: 305808
-
Craig Topper authored
[TableGen] Take a parameter by reference instead of pointer so we don't have to add & on both callers. NFC llvm-svn: 305807
-
Craig Topper authored
llvm-svn: 305806
-
Yuka Takahashi authored
This is patch for GSoC project, bash-completion for clang. To use this on bash, please run `source clang/utils/bash-autocomplete.sh`. bash-autocomplete.sh is code for bash-completion. In this patch, Options.td was mainly changed in order to add value class in Options.inc. llvm-svn: 305805
-
Alex Lorenz authored
This clarifies the tests as the missing ']' is important, and not the '['. llvm-svn: 305804
-
Alex Lorenz authored
enhance readability As suggested by Duncan Exon Smith! llvm-svn: 305803
-
- Jun 20, 2017
-
-
Sanjay Patel authored
There are a couple of potential improvements as seen in the IR and asm: 1. We're unnecessarily extending to a larger type to compare values. 2. The codegen for (select cond, 1, -1) could avoid a cmov. (or we could change the order of the compares, so we have a select with 0 operand) llvm-svn: 305802
-
Simon Pilgrim authored
Shuffle lowering/combining now does a good job for 256/512-bit vectors - we don't need to prevent this llvm-svn: 305801
-
Tim Northover authored
We were incorrectly sign extending into the high word (as you would for SMULO) when legalizing UMULO in terms of a wider full multiplication. Patch by James Duley. llvm-svn: 305800
-
Vassil Vassilev authored
Consider: struct MyClass { void f() {} } MyClass::f(){} // expected error redefinition of f. #1 Some clients (eg. cling) need to call removeDecl for the redefined (#1) decl. This patch enables us to remove the lookup entry is registered in the semantic decl context and not in the primary decl context of the lexical decl context where we currently are trying to remove it from. It is not trivial to test this piece and writing a full-blown unit test seems too much. llvm-svn: 305799 -
Anastasia Stulova authored
Produce an error if variables qualified with a local or a constant address space are not declared in the outermost scope of a kernel. Patch by Simon Perretta. Differential Revision: https://reviews.llvm.org/D34024 llvm-svn: 305798
-