- Apr 15, 2021
-
-
Zakk Chen authored
Authored-by:
Roger Ferrer Ibanez <rofirrim@gmail.com> Co-Authored-by:
Zakk Chen <zakk.chen@sifive.com> Reviewed By: craig.topper, Jim Differential Revision: https://reviews.llvm.org/D100266
-
Vitaly Buka authored
Reviewed By: cryptoad Differential Revision: https://reviews.llvm.org/D100426
-
Mehdi Amini authored
This is more fallout from add_mlir_doc() API change
-
Max Kazantsev authored
-
Mehdi Amini authored
This is basically fixing the build of `mlir-doc`
-
hsmahesha authored
Now since LDS uses within non-kernel functions are being handled in the pass - LowerModuleLDS, we *NO* need to *forcefully* inline non-kernel functions just because they use LDS. Do forceful inlining only when the pass - LowerModuleLDS is not enabled. It is enabled by default. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D100481
-
Mehdi Amini authored
This is useful for expressing specific table-gen options, like selecting a particular dialect to print. Use it to fix the documentation for the `pdl_interp` dialect which is now generating the first dialect it finds in its input which is `pdl`. Differential Revision: https://reviews.llvm.org/D100517
-
Christopher Di Bella authored
This will reduce the amount of noisy feedback during reviews. Differential Revision: https://reviews.llvm.org/D99691
-
Nico Weber authored
-
LLVM GN Syncbot authored
-
Jonas Devlieghere authored
Print a single line listing all the categories that are being skipped, rather than relying on the check.*Support() functions specifying why a particular category will be skipped. If we know why a category got skipped, still print that in verbose mode. The motivation for this change is that sometimes engineers misidentify the output of these messages as the cause for a test failure (e.g. not being able to build libc++ or libstdc++). Differential revision: https://reviews.llvm.org/D100508
-
Alexander Yermolovich authored
When DIE is extracted manually, the DieArray is empty. When dump is invoked on aforementioned DIE it tries to extract child, even if Dump options say otherwise. Resulting in crash. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D99698
-
Sterling Augustine authored
This reverts commit 82f0e3d3. The change breaks the asan buildbots. https://lab.llvm.org/buildbot/#/builders/99/builds/2835
-
Nico Weber authored
-
Nico Weber authored
-
Nico Weber authored
-
Evgenii Stepanov authored
Do not hold the free/live thread list lock longer than necessary. This change speeds up the following benchmark 10x. constexpr int kTopThreads = 50; constexpr int kChildThreads = 20; constexpr int kChildIterations = 8; void Thread() { for (int i = 0; i < kChildIterations; ++i) { std::vector<std::thread> threads; for (int i = 0; i < kChildThreads; ++i) threads.emplace_back([](){}); for (auto& t : threads) t.join(); } } int main() { std::vector<std::thread> threads; for (int i = 0; i < kTopThreads; ++i) threads.emplace_back(Thread); for (auto& t : threads) t.join(); } Differential Revision: https://reviews.llvm.org/D100348 -
Nico Weber authored
This is similar to D83530, but for llvm-objdump. The motivation is the desire to add an `llvm-otool` symlink to llvm-objdump that behaves like macOS's `otool`, using the same technique the at llvm-objcopy uses to behave like `strip` (etc). This change for the most part preserves behavior. In some cases, it increases compatibility with GNU objdump a bit. For example, the long options now require two dashes, and the long options taking arguments for the most part now require a `=` in front of the value. Exceptions are flags where tests passed the value separately, for these the separate form is kept as an alias to the = form. The one-letter short form args are now joined or separate and long longer accept a =, which also matches GNU objdump. cl::opt<>s in libraries now have to be explicitly plumbed through. This patch does that for --x86-asm-syntax=, but there's hope that we can remove that again. Differential Revision: https://reviews.llvm.org/D100433
-
Eli Friedman authored
Similar to variables with an initializer, this is never valid in standard C, so we can safely constant-fold as an extension. I ran into this construct in a couple proprietary codebases. While I'm here, drive-by fix for 090dd647: we should only fold variables with VLA types, not arbitrary variably modified types. Differential Revision: https://reviews.llvm.org/D98363
-
Philip Reames authored
Reapply "[InferAttributes] Materialize all infered attributes for declaration"" and follow on patches. This reverts commit ab98f2c7 and 98eea392. It includes a fix for the clang test which triggered the revert. I failed to notice this one because there was another AMDGPU llvm test with a similiar name and the exact same text in the error message. Odd. Since only one build bot reported the clang test, I didn't notice that one.
-
Shafik Yaghmour authored
We have seen several crashes in LibCppStdFunctionCallableInfo(...) but we don't have a reproducer. The last crash pointed to last call to line_entry_helper(...) and symbol was a nullptr. So adding a check for this case.
-
Nathan James authored
This field isn't set in the constructor. Tweak its accessor to return an ArrayRef.
-
Nathan James authored
We can use the Preprocessor to remap this file, cleaning up the cmake code. Reviewed By: steveire Differential Revision: https://reviews.llvm.org/D100343
-
Nathan James authored
Reviewed By: steveire Differential Revision: https://reviews.llvm.org/D100378
-
zoecarver authored
-
Nico Weber authored
This reverts commit c609d533. 61a85da8 was reverted in ab98f2c7
-
Nico Weber authored
Breaks check-clang, see comments on D100400 Also revert follow-up "[NFC] Move a recently added utility into a location to enable reuse" This reverts commit 3ce61fb6. This reverts commit 61a85da8.
-
Stephen Kelly authored
The run method is only called if there is a match with a binding.
-
Philip Reames authored
-
peter klausler authored
An inadvertent ! operator was (fortunately) flagged as a warning by clang; remove it. Differential Review: https://reviews.llvm.org/D100513
-
Philip Reames authored
About to refresh a patch that uses this in FunctionAtrrs, doing the move seperately to control build times.
-
Philip Reames authored
We have some cases today where attributes can be inferred from another on access, but the result is not explicitly materialized in IR. This change is a step towards changing that. Why? Two main reasons: * Human clarity. It's really confusing trying to figure out why a transform is triggering when the IR doesn't appear to have the required attributes. * This avoids the need to special case declarations in e.g. functionattrs. Since we can assume the attribute is present, we can work directly from attributes (and only attributes) without also needing to query accessors on Function to avoid missing cases due to unannotated (but infered on use) declarations. (This piece will appear must easier to follow once D100226 also lands.) Differential Revision: https://reviews.llvm.org/D100400
-
Chia-hung Duan authored
Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D100156
-
Chia-hung Duan authored
We are able to config the reducer pass pipeline through command-line. Reviewed By: jpienaar, rriddle Differential Revision: https://reviews.llvm.org/D100155
-
Jonas Devlieghere authored
This fixes TestGdbRemoteHostInfo on Apple Silicon.
-
Thomas Lively authored
Removes the builtins and intrinsics used to opt in to using these instructions and replaces them with normal ISel patterns now that they are no longer prototypes. Differential Revision: https://reviews.llvm.org/D100402
-
Chia-hung Duan authored
Add iterator for ReductionNode traversal and use range to indicate the region we would like to keep. Refactor the interaction between Pass/Tester/ReductionNode. Now it'll be easier to add new traversal type and OpReducer Reviewed By: jpienaar, rriddle Differential Revision: https://reviews.llvm.org/D99713
-
Stephen Kelly authored
Fix the logic of detecting pseudo-virtual getBeginLoc etc on Stmt and Decl subclasses. Adjust the test infrastructure to filter out invalid source locations. This makes the tests more clear about which nodes have which locations. Differential Revision: https://reviews.llvm.org/D99231
-
Sterling Augustine authored
-
Stephen Kelly authored
As was done for other locations in commit 54272e5b (NFC: Replace asserts with if() in SourceLocation accessors, 2019-01-07). Extracted from https://reviews.llvm.org/D99231
-