- Oct 17, 2020
-
-
Richard Smith authored
-
Fangrui Song authored
-
Adrian Prantl authored
This patch also avoids hardcoding the clang options, which makes it less likely for them to become out-of-date. rdar://problem/63791367+66927829 Differential Revision: https://reviews.llvm.org/D89428
-
Fangrui Song authored
It needs more work: http://45.33.8.238/win/25999/step_11.txt
-
Amara Emerson authored
We'll need legalizer lower() support for the other types to work. Differential Revision: https://reviews.llvm.org/D89159
-
Arthur Eubanks authored
The NPM prints CGSCCs in a different way.
-
LLVM GN Syncbot authored
-
Nico Weber authored
-
Martin Storsjö authored
Use string() for convenience for testing where possible, but keep using native() for move tests where we want to check that no allocations are made, constructing a reference fs::path::string_type instead. Use the right value_type in a few places. Make the synop test check for the right types and for the expected preferred separator. Differential Revision: https://reviews.llvm.org/D89537
-
Benjamin Kramer authored
This should be semantically identical. Also avoids unused variable warnings in Release builds.
-
Scott Linder authored
Another attempt at this, see D59008 for previous attempt. Reviewed By: kzhuravl, t-tye Differential Revision: https://reviews.llvm.org/D89484
-
Teresa Johnson authored
This should fix a couple of debian bot failures: http://lab.llvm.org:8011/#builders/14/builds/380 http://lab.llvm.org:8011/#builders/109/builds/533 They disable building of the sanitizer, which memprof relies on. So disable building of memprof in that case.
-
Amara Emerson authored
Differential Revision: https://reviews.llvm.org/D89075
-
Amara Emerson authored
NEON is pretty limited in it's reduction support. As a first step add some basic rules for the legal types we can select. Differential Revision: https://reviews.llvm.org/D89070
-
Amara Emerson authored
In order to prevent the ExpandReductions pass from expanding some intrinsics before they get to codegen, I had to add a -disable-expand-reductions flag for testing purposes. Differential Revision: https://reviews.llvm.org/D89028
-
Louis Dionne authored
It doesn't appear to be a standard utility.
-
Vinicius Tinti authored
The prefix given to --prefix will be added to GNU absolute paths when used with --source option (source interleaved with the disassembly). This matches GNU's objdump behavior. GNU and C++17 rules for absolute paths are different. Differential Revision: https://reviews.llvm.org/D85024 Fixes PR46368. Differential Revision: https://reviews.llvm.org/D85024
-
Teresa Johnson authored
See RFC for background: http://lists.llvm.org/pipermail/llvm-dev/2020-June/142744.html Follow on companion to the clang/llvm instrumentation support in D85948 and committed earlier. This patch adds the compiler-rt runtime support for the memory profiling. Note that much of this support was cloned from asan (and then greatly simplified and renamed). For example the interactions with the sanitizer_common allocators, error handling, interception, etc. The bulk of the memory profiling specific code can be found in the MemInfoBlock, MemInfoBlockCache, and related classes defined and used in memprof_allocator.cpp. For now, the memory profile is dumped to text (stderr by default, but honors the sanitizer_common log_path flag). It is dumped in either a default verbose format, or an optional terse format. This patch also adds a set of tests for the core functionality. Differential Revision: https://reviews.llvm.org/D87120
-
Louis Dionne authored
-
Louis Dionne authored
Instead of having this script be part of the OSS-Fuzz repository, I think it makes more sense to have it alongside the rest of the fuzzing targets in libc++.
-
Jay Foad authored
Differential Revision: https://reviews.llvm.org/D89558
-
- Oct 16, 2020
-
-
Jay Foad authored
If you use -stop-after or similar options, llc will normally print MIR. This patch checks for -filetype=null as a special case to disable MIR printing. As the comment says, "The Null output is intended for use for performance analysis ...", and I found this useful for timing a subset of the passes that llc runs without the significant overhead of printing MIR just to send it to /dev/null. Differential Revision: https://reviews.llvm.org/D89476
-
ahmedsabie authored
This trait simply adds a fold of f(f(x)) = f(x) when an operation is labelled as idempotent Reviewed By: rriddle, andyly Differential Revision: https://reviews.llvm.org/D89421
-
Matt Arsenault authored
This reverts commit eb9f7c28. Previously this was incorrectly handling linking of the contained type, so this merges the fixes from D88973.
-
Krzysztof Parzyszek authored
-
Hans Wennborg authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
This is more correctly handled by canEvaluateTruncated (one use checks etc.) and covers all the tests cases that were added for this fold.
-
Martin Storsjö authored
Differential Revision: https://reviews.llvm.org/D89533
-
Martin Storsjö authored
This matches an existing marking in enum.path.format.pass.cpp. Differential Revision: https://reviews.llvm.org/D89534
-
Martin Storsjö authored
Differential Revision: https://reviews.llvm.org/D89538
-
Martin Storsjö authored
[libcxx] [test] Use string() instead of native() as parameter to std::ifstream/ofstream in copy_file_large.pass.cpp This fixes building with libstdc++ for windows. MS STL has got ifstream/ofstream overloads that taken wide strings though. Differential Revision: https://reviews.llvm.org/D89539
-
Duncan P. N. Exon Smith authored
`SourceManager::createFileID` asserts that the given `FileEntry` is not null, so remove the logic that passed in `nullptr`. Since we just added the file to an in-memory FS via an API that cannot fail, use `llvm_unreachable` on the error path. Didn't use an `assert` since it seems cleaner semantically to check the error (and better, hypothetically, for updating the API to use `Expected` instead of `ErrorOr`). I noticed this incidentally while auditing calls to `createFileID`.
-
Peter Steinfeld authored
Calling "ASSOCATED(NULL()) was causing an internal check of the compiler to fail. I fixed this by changing the entry for "ASSOCIATED" in the intrinsics table to accept "AnyPointer" which contains a new "KindCode" of "pointerType". I also changed the function "FromActual()" to return a typeless intrinsic when called on a pointer, which duplicates its behavior for BOZ literals. This required changing the analysis of procedure arguments. While testing processing for procedure arguments, I found another bad call to `CHECK()` which I fixed. I made several other changes: -- I implemented constant folding for ASSOCIATED(). -- I fixed handling of NULL() in relational operations. -- I implemented semantic analysis for ASSOCIATED(). -- I noticed that the semantics for ASSOCIATED() are similar to those for pointer assignment. So I extracted the code that pointer assignment uses for procedure pointer compatibility to a place where it could be used by the semantic analysis for ASSOCIATED(). -- I couldn't figure out how to make the general semantic analysis for procedure arguments work with ASSOCIATED()'s second argument, which can be either a pointer or a target. So I stopped using normal semantic analysis for arguments for ASSOCIATED(). -- I added tests for all of this. Differential Revision: https://reviews.llvm.org/D88313 -
Matt Arsenault authored
These don't really have function bodies to try to eliminate. This also has a good chance of just producing invalid IR since intrinsics can have special operand constraints (e.g. metadata arguments aren't valid for an arbitrary call). This was wasting quite a bit of time producing and failing on invalid IR when replacing dbg.values with undefs.
-
Matt Arsenault authored
-
Matt Arsenault authored
This would end up killing part of the result super-register, resulting in a verifier error on a later use of the overlapping registers. We could add kills of any non-aliasing registers, but we should be moving away from relying on kill flags.
-
Joseph Tremoulet authored
When opening a minidump, we might discover that it reports a UUID for a module that doesn't match the build ID, but rather a hash of the .text section (according to either of two different hash functions, used by breakpad and Facebook respectively). The current logic searches for a module by filename only to check the hash; this change updates it to first search by directory+filename. This is important when the directory specified in the minidump must be interpreted relative to a user-provided sysoort, as the leaf directory won't be in the search path in that case. Also add a regression test; without this change, module validation fails because we have just the placeholder module which reports as its path the platform path in the minidump. Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D89155
-
Pavel Labath authored
-