- Jan 21, 2023
-
-
Joseph Huber authored
Summary: This patch removes a tool that was never finished and has no plans of being picked up again. It does not need to live in LLVM source in an unusable state.
-
Joseph Huber authored
Previously we had some special handling here that errored out if multiple architectures were detected. This isn't a problem anymore as the runtime can handle multi-archicture binaries automatically. So it's safe to simply take the first architecture that we know works. If users use `--offload-arch=native` instead it will build for all the architectures at the same time rather than just picking one. This patch makes it consisten with the NVPTX version. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D142138
-
Eduard Zingerman authored
Stack protector builtin functions are not implemented for BPF target, thus compiling programs with one of the following options would result in an error: -fstack-protector -fstack-protector-all -fstack-protector-strong This commit adds logic to ignore these options for BPF target. Searching through DiagnosticDriverKinds.td shows that all messages for such kind of behavior are implemented as warnings, this commit follows the suit. Here is an example of the diagnostic message: clang-16: warning: ignoring '-fstack-protector' option as it is not currently supported for target 'bpf' [-Woption-ignored] Differential Revision: https://reviews.llvm.org/D142046
-
Anshil Gandhi authored
Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D142161
-
Haojian Wu authored
-
Changpeng Fang authored
Summary: For any enumerator whose definition does not have an initializer, the associated value is the value of the previous enumerator plus one. In order to avoid the possibility that two unrelated enumerators to have the same value, we should try to cluster the uninitialized enumerators together. Reviewers: arsenm Differential Revision https://reviews.llvm.org/D141643
-
Sanjay Patel authored
https://alive2.llvm.org/ce/z/ptZcJH issue #60167
-
Sanjay Patel authored
issue #60167
-
Kazu Hirata authored
This patch fixes: mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp:528:22: error: comparison of integers of different signs: 'uint64_t' (aka 'unsigned long') and 'int64_t' (aka 'long') [-Werror,-Wsign-compare]
-
Siva Chandra Reddy authored
This is first of a few patches which will do similar mechanical changes. LIBC_INLINE is a simple macro which is default defined as just `inline`. The idea is that, different downstream contexts can define the macro as suitable to their use case and context. For example, one can choose to define LIBC_INLINE as `[[clang::internal_linkage]] inline`. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D142154
-
Ed Maste authored
This at least allows us to stand up libc++ FreeBSD CI and avoid future regressions. The failures do need to be addressed, and can be done iteratively. Reviewed By: philnik, Mordante Differential Revision: https://reviews.llvm.org/D141542
-
Zahira Ammarguellat authored
This reverts commit 47074683. Had to revert it that since it's breaking tests on MacOS. See https://reviews.llvm.org/D141929 comments from @thakis.
-
Shilei Tian authored
-
Arthur Eubanks authored
This reverts commit 9d4f1a9e. Breaks under -DCOMPILER_RT_BUILD_SANITIZERS=OFF
-
Konstantin Belousov authored
Reviewed By: philnik Differential Revision: https://reviews.llvm.org/D142134
-
Jan Svoboda authored
Whenever we are compiling implementation of a framework (with the `-fmodule-name=FW` option), we never translate `#import <FW/Header.h>` to an import, regardless of whether "Header.h" belongs to "FW" or "FW_Private". For the same reasons, we also disallow `@import FW`. However, we still allow `@import FW_Private`. This patch disallows that a well, to be consistent with the rest of the rules. Reviewed By: benlangmuir Differential Revision: https://reviews.llvm.org/D142167
-
wren romano authored
Reviewed By: Peiming Differential Revision: https://reviews.llvm.org/D142072
-
Fahad Nayyar authored
Disabled an invalid fix-it which suggested fixes to be applied in system headers for some programs in IDEs like Xcode. rdar://100890960 Differential Revision: https://reviews.llvm.org/D141868
-
https://github.com/llvm/llvm-project/issues/59515Peter Rong authored
Also provide a `tryExtValue()` API like APInt did in D139683 Reviewed By: RKSimon, efriedma Differential Revision: https://reviews.llvm.org/D140059
-
Argyrios Kyrtzidis authored
Fixes a failure in some Windows configuration. Differential Revision: https://reviews.llvm.org/D142238
-
Tony Tye authored
Reviewed By: scott.linder Differential Revision: https://reviews.llvm.org/D142237
-
Prabhdeep Singh Soni authored
This patch modifies OpenMPIRBuilder::createTask to accept its Dependencies vector by value instead of by reference. This is necessary because the PostOutlineCB lambda that uses this Dependencies vector may outlive the original Dependencies vector. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D141651
-
Augusto Noronha authored
SymbolFiles should be the only point of creation of Types to ensure that they aren't destroyed prematurely by keeping them in the SymbolFile's TypeList. This patch hides the copy constructor of Types, and adds a new CopyType function to SymbolFile, so Types can still be copied safely. Differential Revision: https://reviews.llvm.org/D142052
-
Dave Lee authored
The SBModule copy constructor has fast execution, and is high firing. Fast and frequent functions are not good candidates for timers. Differential Revision: https://reviews.llvm.org/D142150
-
Benjamin Kramer authored
-
Benjamin Kramer authored
This reverts commit 9ef7ae50.
-
Philip Reames authored
Also add FIXMEs which highlight correctness bugs in this recently added off by default option. These have also been raised on the original review.
-
Argyrios Kyrtzidis authored
Differential Revision: https://reviews.llvm.org/D142236
-
Aaron Ballman authored
The docs used a nonexisting matcher that caused some confusion. It has now been replaced with the correct syntax. Fixes #58044
-
Krzysztof Drewniak authored
Re-land D140899 to fix a missing dependency in the index dialect's CMakeLists.txt. Reviewed By: Mogball Differential Revision: https://reviews.llvm.org/D142147
-
Maryam Moghadas authored
This patch is to remove the erroneous lax vector conversion warning for CStyle; explicit; casts that was added as part of D126540. Reviewed By: nemanjai Differential Revision: https://reviews.llvm.org/D142222
-
Craig Topper authored
Using the correct feature name to detect 64bit this time. Previously, I mistakenly compared the expected record name against a string inside the record.
-
Philip Reames authored
There's no need to require the start value to come directly from the loop predecessor. This was sometimes covering up a latent miscompile in this off-by-default option, but the miscompile needs fixed anyways and the issue has been raised on the original review. Differential Revision: https://reviews.llvm.org/D142240
-
Doru Bercea authored
-
Terry Wilmarth authored
Distributed barrier was found to cause hangs in some test cases. Found that a section updating the barrier size was improperly shifted to a different code section during patching. Restored to original location, all tests run to completion. Differential Revision: https://reviews.llvm.org/D141618
-
Aaron Ballman authored
This updates the status of: N505 Make qualifiers idempotent N725 Integer promotion rules N1311 Initializing static of external variables
-
Benjamin Kramer authored
-
Benjamin Kramer authored
-
Shilei Tian authored
When there is any compile error, clang still tries to compile as many code as possible, therefore `Scope` can be `nullptr` here. However, we didn't check it beforehand, causing compiler crash. Fix #59944. Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D142233
-
Campbell Suter authored
Currently, the RewriteStatepointsForGC pass has a hardcoded list of GC strategies that it operates on, forcing downstream projects to patch LLVM to enable it for their own strategies. The diff D141110 changes that to each GCStrategy having a flag to enable or disable RS4GC. This patch adds that flag. It currently doesn't do anything, but is provided so downstream projects can enable it to smooth the transition. Reviewed By: dantrushin Differential Revision: https://reviews.llvm.org/D142169
-