- Oct 09, 2021
-
-
Vitaly Buka authored
-
Richard Smith authored
Unfortunately I've not found a way to exercise this code that doesn't crash elsewhere yet, due to unrelated bugs in how Sema incorrectly instantiates lambdas in function template signatures.
-
Leonard Chan authored
PR45875 notes an instance where exception handling crashes on aarch64-fuchsia where SCS is enabled by default. The underlying issue seems to be that within libunwind, various _Unwind_* functions, the x18 register is not updated if a function is marked with nounwind. This removes the check for nounwind and emits the CFI instruction that updates x18. Differential Revision: https://reviews.llvm.org/D79822
-
Nikita Popov authored
If a loop is flattened, the inner loop is removed and the LPM should be informed of this fact, so it can invalidate associated analyses. To support this, we relax an assertion in LPMUpdater to allow invalidating non-top-level loops when running in LoopNestMode, as the pass does not know how exactly it will get scheduled. Differential Revision: https://reviews.llvm.org/D111350
-
Vitaly Buka authored
-
Joe Loser authored
Implement https://wg21.link/p1394 which allows span to be constructible from any contiguous forwarding-range that has a compatible element type. Fixes https://bugs.llvm.org/show_bug.cgi?id=51443 Reviewed By: ldionne, Quuxplusone, #libc Differential Revision: https://reviews.llvm.org/D110503
-
Emilio Cota authored
Instead of hard-coding results for both Intel and AMD, let's relax the checks to simplify the test while supporting both implementations. Note that: - If a new hardware implementation comes up in the future, it is likely to pass the relaxed tests, i.e. no future maintenance burden for us. - If something terribly wrong happens (e.g. instead of rsqrt we execute 1/sqrt), the tests will probably catch it, since the relaxed tests expect low precision (e.g. rsqrt(1) != 1.0). Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D111461
-
Richard Smith authored
Distinct lambda expressions are always considered non-equivalent, so two token-for-token identical function declarations whose signatures involve lambda-expressions declare distinct functions.
-
Peter Steinfeld authored
We weren't recognizing the ISHFT intrinsic because the code had incorrectly capitalized it. Differential Revision: https://reviews.llvm.org/D111449
-
Lang Hames authored
This reverts commit dfd74db9. SimpleRemoteEPC should share dispatch with the ExecutionSession, rather than having two different dispatch systems on the controller side. SimpleRemoteEPCServer::Dispatch doesn't need to be shared.
-
Lang Hames authored
SimpleRemoteEPCServer Service shutdown (c965fde7) takes care of this.
-
Vitaly Buka authored
-
Vitaly Buka authored
We need to make it a template
-
Amy Kwan authored
This patch updates the vec_extract builtins to take a signed int as the second parameter, as defined by the Power Vector Intrinsics Programming Reference. This patch is NFC and all existing tests pass. Differential Revision: https://reviews.llvm.org/D110935
-
Arthur Eubanks authored
__builtin_assume_aligned's second parameter is size_t, which may be 32 bits. We can't pass 2^32 when that happens. Update tests accordingly. Example broken bot due to D111250: https://lab.llvm.org/buildbot/#/builders/171/builds/4531
-
Nikita Popov authored
This moves the DenseMapInfo implementation for hash_code into Hashing.h, removing the need to include Hashing.h (and thus <string>) in DenseMapInfo.h. This follows the general convention of declaring DenseMapInfo for types that we own in the respective header. The remaining implementations in DenseMapInfo.h are all for types we do not own. Differential Revision: https://reviews.llvm.org/D111451
-
Joseph Huber authored
This patch adds an external interface to access the dynamic shared memory buffer in the device runtime. The function introduced is ``llvm_omp_get_dynamic_shared``. This includes a host-side definition that only returns a null pointer so that it can be used when host-fallback is enabled without crashing. Support for dynamic shared memory was also ported to the old device runtime. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D110957
-
Andrew Browne authored
Warning introduced in 61ec2148
-
Arthur Eubanks authored
-
Med Ismail Bennani authored
This patch refactors Scripted Process and Scripted Thread related classes to use LLVM_PRETTY_FUNCTION instead of the compiler macro. Differential Revision: https://reviews.llvm.org/D111452 Signed-off-by:
Med Ismail Bennani <medismail.bennani@gmail.com>
-
Arthur Eubanks authored
Followup to D110451 which set LLVM's max allowed alignment to 2^32. Reviewed By: hans Differential Revision: https://reviews.llvm.org/D111250
-
Arthur Eubanks authored
-
Nikita Popov authored
Avoid relying on a number of indirect includes that currently happen through the Hashing.h header in DenseMapInfo.h.
-
Lang Hames authored
Renames SimpleRemoteEPCServer::Dispatcher to SimpleRemoteEPCDispatcher and moves it into OrcShared. SimpleRemoteEPCServer::ThreadDispatcher is similarly moved and renamed to DynamicThreadPoolSimpleRemoteEPCDispatcher. This will allow these classes to be reused by SimpleRemoteEPC on the controller side of the connection.
-
Masoud Ataei authored
Clang option to set/unset afn fast-math flag. Differential: https://reviews.llvm.org/D106191 Reviewd with: aaron.ballman, erichkeane, and others
-
Amara Emerson authored
-
Mark de Wever authored
Update the status with the approved papers and LWG-issues in the October 2021 plenary. Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D111166
-
Andrew Browne authored
ArgsABI was originally added in https://reviews.llvm.org/D965 Current benchmarking does not show a significant difference. There is no need to maintain both ABIs. Reviewed By: pcc Differential Revision: https://reviews.llvm.org/D111097
-
Craig Topper authored
[RegisterScavenging] Use a Twine in a call to report_fatal_error instead of going from std::string to c_str. NFC The std::string was built on the line above. Might as well just build it as a Twine in the call.
-
Kazu Hirata authored
This reverts commit b2ee408d.
-
Philip Reames authored
I'm planning some changes to the invalidation mechanism here, and having a concrete mechanism to track progress is key.
-
Philip Reames authored
The goal here is to assist some future tuning work both on instruction ordering invalidation, and on some client code which uses it.
-
Arthur Eubanks authored
This reverts commit d68b59f3. This is causing crashes, see D110922 for details.
-
Abhina Sreeskantharajan authored
This patch modifies the testcase to use error substitution so it will pass on all platforms. Reviewed By: fanbo-meng, muiez Differential Revision: https://reviews.llvm.org/D111320
-
Reid Kleckner authored
Fixes polly build
-
James King authored
It may be possible to avoid relying on accessing many individual class pages, by instead scanning the class index page at https://clang.llvm.org/doxygen/classes.html. This updates the script to do so, and includes updates to `LibASTMatchersReference.html` generated by the modified script. Reviewed By: aaron.ballman, sammccall Differential Revision: https://reviews.llvm.org/D111332
-
James King authored
Contributes several matchers that involve `TypeLoc`s. These matchers are (in alphabetical order): - elaboratedTypeLoc - hasAnyTemplateArgumentLoc - hasNamedTypeLoc - hasPointeeLoc - hasReferentLoc - hasReturnTypeLoc - hasTemplateArgumentLoc - hasUnqualifiedLoc - pointerTypeLoc - qualifiedTypeLoc - referenceTypeLoc - templateSpecializationTypeLoc Reviewed By: ymandel, aaron.ballman Differential Revision: https://reviews.llvm.org/D111242
-
Keith Smiley authored
This reverts commit a23a5967. This broke a windows test https://buildkite.com/llvm-project/premerge-checks/builds/59492#7dad207c-6cbe-40ad-95e4-c48b47fe2527 Differential Revision: https://reviews.llvm.org/D111444
-
Martin Storsjö authored
This was missed in D95972 / 7c49052b, as this codepath isn't exercised by CI yet. Differential Revision: https://reviews.llvm.org/D111292
-
Keith Smiley authored
Previously if you passed an absolute path to clang, where only part of the path to the file was remapped, it would result in the file's DIFile being stored with a duplicate path, for example: ``` !DIFile(filename: "./ios/Sources/bar.c", directory: "./ios/Sources") ``` This change handles absolute paths, specifically in the case they are remapped to something relative, and uses the dirname for the directory, and basename for the filename. This also adds a test verifying this behavior for more standard uses as well. Differential Revision: https://reviews.llvm.org/D111352
-