- Oct 06, 2021
-
-
Louis Dionne authored
This was most likely an oversight, since we're running all other jobs on the new configs. Differential Revision: https://reviews.llvm.org/D111168
-
Aaron Ballman authored
A heading wasn't underlined properly, and two links share the same text and so they should use an anonymous hyperlink instead of a named one.
-
Aaron Ballman authored
This support was landed in 424733c1.
-
Sanjay Patel authored
This removes repeated calls to m_Not, so hopefully a little more efficient. Also, we may need to enhance some of these blocks to allow logical and/or (select of bools).
-
Sam Clegg authored
This is important for the cases where new symbols can be introduced during LTO. Specifically this happens for during TLS-lowering where references to `__tls_base` can be introduced. Fixes: https://github.com/emscripten-core/emscripten/issues/12489 Differential Revision: https://reviews.llvm.org/D111171
-
Nikita Popov authored
If there are no nowrap flags, then we don't need to determine whether propagating flags is safe -- it will make no difference.
-
Philip Reames authored
-
Vitaly Buka authored
We don't need to check for equality, we need to check that storage is large enough.
-
Vitaly Buka authored
Reviewed By: morehouse Differential Revision: https://reviews.llvm.org/D111118
-
Jonas Devlieghere authored
JSON crashlogs normally start with a single line of meta data that we strip unconditionally. Some producers started omitting the meta data which tripped up crashlog. Be more resilient by only removing the first line when we know it really is meta data. rdar://82641662
-
Roman Lebedev authored
-
Valentin Clement authored
Add the external name conversion pass needed for compiler interoperability. This pass convert the Flang internal symbol name to the common gfortran convention. Clean up old passes without implementation in the Passes.ts file so the project and fir-opt can build correctly. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: schweitz Differential Revision: https://reviews.llvm.org/D111057
-
Louis Dionne authored
For consistency with the other handlers, and because requiring constant initialization whenever we can is a good thing. Differential Revision: https://reviews.llvm.org/D110866
-
Lei Zhang authored
Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D111143
-
peter klausler authored
Generalize the code that folds FINDLOC to also handle folding for MAXLOC and MINLOC. Differential Revision: https://reviews.llvm.org/D110951
-
Philip Reames authored
Behavior wise, this patch should be mostly NFC. The only behavior difference known is that on the isSCEVExprNeverPoison path we'll consider a bound imposed by the SCEVable operands (if any). Algorithmically, it's an invert of the existing code. Previously, we checked for each operand if we could find a bound, then checked for must-execute given that bound. With the patch, we use dominance to refine the innermost bound, then check must execute once. The interesting case is when we have multiple unknowns within a single basic block. While both dominance and must-execute are worst-case linear walks within the block, only dominance is cached. As such, refining based on dominance should be more efficient.
-
River Riddle authored
This avoids keeping references to passes that may be freed by the time that the pass manager has finished executing (in the non-crash case). Fixes PR#52069 Differential Revision: https://reviews.llvm.org/D111106
-
Joe Loser authored
Some tests repeat the definition of `DELETE_FUNCTION` macro locally. However, it's not even requred to guard against in the C++03 case since Clang supports `= delete;` in C++03 mode. A warning is issued but `libc++` tests run with `-Wno-c++11-extensions`, so this isn't an issue. Since we don't support other compilers in C++03 mode, `= delete;` is always available for use. As such, inline all calls of `DELETE_FUNCTION` to use `= delete;`. Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D111148
-
Rob Suderman authored
Unsigned integers need to be handled for cast to floating point. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D111102
-
Amy Huang authored
We're currently using address spaces to implement __ptr32/__ptr64 attributes; this patch fixes a bug where clang doesn't allow types with different pointer size attributes to be compared. Fixes https://bugs.llvm.org/show_bug.cgi?id=51889 Differential Revision: https://reviews.llvm.org/D110670
-
Simon Pilgrim authored
As described on D111049, we're trying to remove the <string> dependency from error handling and replace uses of report_fatal_error(const std::string&) with the Twine() variant which can be forward declared. We can use the raw_string_ostream::str() method to perform the implicit flush() and return a reference to the std::string container that we can then wrap inside Twine().
-
David Zarzycki authored
-
Keith Smiley authored
Previously it was not clear what arguments this required, or what it would do if you didn't pass the destination argument. Differential Revision: https://reviews.llvm.org/D110981
-
Petr Hosek authored
This is to account for the change that made CountersPtr in __profd_ relative which landed in a1532ed2. That change hasn't updated the raw profile version, and while the profile layout stayed the same, profiles generated by tip-of-tree LLVM are incompatible with 13.x tooling. Differential Revision: https://reviews.llvm.org/D111123
-
Kirill Bobyrev authored
-
Geoffrey Martin-Noble authored
This otherwise loses a lot of debugging info and results in a painful debugging experience. Reviewed By: mravishankar, stellaraccident Differential Revision: https://reviews.llvm.org/D111107
-
Alexey Bataev authored
Some initially gathered nodes missed the check for the reused scalars, which leads to high gather cost. Such nodes still can be represented as m gathers + shuffle instead of n gathers, where m < n. Differential Revision: https://reviews.llvm.org/D111153
-
Roman Lebedev authored
The coverage could have cumulative explosion here, so i'm adding only the most basic cases, and hoping it's enough, though more can be added if needed.
-
Aart Bik authored
We have several ways to materialize sparse tensors (new and convert) but no explicit operation to release the underlying sparse storage scheme at runtime (other than making an explicit delSparseTensor() library call). To simplify memory management, a sparse_tensor.release operation has been introduced that lowers to the runtime library call while keeping tensors, opague pointers, and memrefs transparent in the initial IR. *Note* There is obviously some tension between the concept of immutable tensors and memory management methods. This tension is addressed by simply stating that after the "release" call, no further memref related operations are allowed on the tensor value. We expect the design to evolve over time, however, and arrive at a more satisfactory view of tensors and buffers eventually. Bug: http://llvm.org/pr52046 Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D111099
-
Jonas Paulsson authored
Following the same pattern of memset/memcpy, this patch implements a variable length memcmp with a CLC loop followed by an EXRL instruction. Review: Ulrich Weigand Differential Revision: https://reviews.llvm.org/D107380
-
Nikita Popov authored
Unsigned number is always >= 0.
-
Matt Beardsley authored
Previously, the code in add_new_check.py that looks for fixit keywords in check source files when generating list.rst assumed that the script would only be called from its own path. That means it doesn't find any source files for the checks it's attempting to scan for, and it defaults to writing out nothing in the "Offers fixes" column for all checks. Other parts of add_new_check.py work from other paths, just not this part. After this fix, add_new_check.py's "offers fixes" column generation for list.rst will be consistent regardless of what path it's called from by using the caller path that's deduced elsewhere already from sys.argv[0]. Reviewed By: kbobyrev Differential Revision: https://reviews.llvm.org/D110600
-
- Oct 05, 2021
-
-
Joe Nash authored
hasLessThanNumFused and fuseInstructionPair are useful for DAG mutations similar to MacroFusion, but which cannot use MacroFusion as a whole (such as fusing non-dependent instruction). Reviewed By: MatzeB Differential Revision: https://reviews.llvm.org/D111070 Change-Id: I3a5d56aba0471d45ef64cebb9b724030e2eae2f3
-
- Oct 06, 2021
-
-
Kirill Bobyrev authored
Follow-up on D105426. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D108194
-
Nikita Popov authored
This refactors load folding to happen in two cleanly separated steps: ConstantFoldLoadFromConstPtr() takes a pointer to load from and decomposes it into a constant initializer base and an offset. Then ConstantFoldLoadFromConst() loads from that initializer at the given offset. This makes the core logic independent of having actual GEP expressions (and those GEP expressions having certain structure) and will allow exposing ConstantFoldLoadFromConst() as an independent API in the future. This is mostly only a refactoring, but it does make the folding logic slightly more powerful. Differential Revision: https://reviews.llvm.org/D111023
-
Simon Pilgrim authored
[Support] Update SmallVector report_fatal_error calls to use Twine and add missing implicit header dependency.
-
Simon Pilgrim authored
[TableGen] CodeEmitterGen - emit report_fatal_error(const char*) instead of report_fatal_error(std::string&) As described on D111049, we're trying to remove the <string> dependency from error handling. In most cases the plan is to use the Twine() variant directly but to reduce introducing additional headers for the generated files, I'm using the const char* variant here instead.
-
Simon Pilgrim authored
Required for fprintf/stderr usage in the error handler, noticed while trying to remove the <string> dependency described in D111049
-
- Oct 05, 2021
-
-
Chris Lattner authored
These should both clearly work with our current model for zero width integers, but don't until now! Differential Revision: https://reviews.llvm.org/D111113
-
Utkarsh Saxena authored
Addresses https://github.com/clangd/clangd/issues/881 Includes refs of base class method in refs of derived class method. Previously we reported base class method's refs only for decl of derived class method. Ideally this should work for all usages of derived class method. Related patch: https://github.com/llvm/llvm-project/commit/fbeff2ec2bc6e44b92931207b0063f83ff7a3b3a. Differential Revision: https://reviews.llvm.org/D111039
-