- Jan 21, 2023
-
-
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
-
Alexander Yermolovich authored
Doing the same thing as for rangelists. Changing loclists to use base_addrx, it slightly increases .debug_loclists, but reduces .debug_addr section. | section | clang-16.bolt.base | clang-16.bolt | raw | % | | debug_loclists | 198208 | 203398 | 5190 | 102% | | .debug_addr | 14415808 | 14351448 | -64360 |99.5% | Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D141969
-
Sanjay Patel authored
Tests were duplicated for undef-ness, but that's not necessary. There were no tests for bfloat/double. I deleted the fptosi tests for now because those will just be a bitwidth adjustment to the fptoui tests once we settle on the right set of tests. I think it should just be 2 tests on either side of the bitwidth boundary to allow a fold with a couple of extra tests thrown in to show other type constraints are not a factor. Goes with: D142093
-
Xiang Li authored
For https://github.com/llvm/llvm-project/issues/60070. The issue is caused by memref.store is not registed. Registe it by add "memref::MemRefDialect" as dependetDialects for GpuToLLVMConsersionPass. Differential Revision: https://reviews.llvm.org/D141987
-
Doru Bercea authored
-
Roman Lebedev authored
Symmetrical with the `urem` case, added in 66efb986. Simple case: https://alive2.llvm.org/ce/z/gRumLd / https://alive2.llvm.org/ce/z/rxEeC5 Second variant of precondition: https://alive2.llvm.org/ce/z/cAm9TD
-
Roman Lebedev authored
-
Nico Weber authored
This reverts commit f37614b2. Doesn't build on Windows: https://reviews.llvm.org/D142078#4068417
-
Craig Topper authored
This reverts commit e58010f7. Seems this is failing on the build bots.
-
Ellis Hoag authored
Class InstrProfIncrementInstStep inherits from InstrProfIncrementInst but cannot cast to InstrProfIncrementInst, because InstrProfIncrementInst::classof does not cover such circumstance。 Function InstrProfiling::run traverse all instruction in a module and try to cast them to InstrProfIncrementInst using dyn_cast, but it will return nullptr if the instruction is InstrProfIncrementInstStep(subclass of InstrProfIncrementInst). Reviewed By: tejohnson, ellis Differential Revision: https://reviews.llvm.org/D141579
-