- Jan 28, 2022
-
-
LLVM GN Syncbot authored
-
Arthur O'Dwyer authored
The tests for these are just copy-pasted from the tests for std::{strong,weak,partial}_order, and then I added an extra clause in each (test_2()) to test the stuff that's not just the same as std::*_order. This also includes the fix for https://wg21.link/LWG3465 (which falls naturally out of the "you must write it three times" style, but I've added test cases for it also). There is an action item here to go back and give good diagnostics for SFINAE failures in these CPOs. I've filed this as https://github.com/llvm/llvm-project/issues/53456 . Differential Revision: https://reviews.llvm.org/D111514 -
Arthur Eubanks authored
With this we can bootstrap an `-O0 -g0` clang with `-mllvm -opaque-pointers`!
-
Arthur Eubanks authored
[NFC][Clang][OpaquePtr] Move away from deprecated Address constructor in EmitCXXMemberDataPointerAddress()
-
Arthur O'Dwyer authored
This reverts commit 9be5f4d5. I'm not sure if this caused https://lab.llvm.org/buildbot/#/builders/60/builds/6350 https://lab.llvm.org/buildbot/#/builders/119/builds/7433 but I'm acting as if it did.
-
Brian Cain authored
On targets that have limited atomic support, e.g. ones that define ATOMIC_*_LOCK_FREE to '1' ("sometimes lock free"), we would end up referencing yet-undefined __libcpp_{,un}signed_lock_free. This commit adds a guard to prevent these references for such targets. Differential Revision: https://reviews.llvm.org/D118391 -
Vladislav Khmelevsky authored
The aarch64 platform has special registers like X0_X1_X2_X3_X4_X5_X6_X7. Using the downwards propagation this register will become a super register for all X0..X7 and its super registers which is not right. This patch replaces the downwards propagation with caching all the aliases using MCRegAliasIterator. Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D117394
-
Sam James authored
Fixes: cd20e579 Signed-off-by:
Sam James <sam@gentoo.org>
-
Arthur Eubanks authored
Specify the Address element type, which is the bitcast destination type. (the whole bitcast won't be needed after opaque pointers)
-
Jonas Paulsson authored
Return false from ShouldShrinkFPConstant(), so that these constants are stored in their full size on the constant pool, even if they could have been shrunk and used with an extending load. This is better since LD is faster than LDE, and it also enables reg/mem opcodes. Review: Ulrich Weigand Differential Revision: https://reviews.llvm.org/D117927
-
Shubham Sandeep Rastogi authored
Fixed more typos
-
Jonas Paulsson authored
By reordering the objects on the stack frame after looking at the users, a better utilization of displacement operands will result. This means less needed Load Address instructions for the accessing of these objects. This is important for very large functions where otherwise small changes could cause a lot more/less accesses go out of range. Note: this is not yet enabled for SystemZXPLINKFrameLowering, but should be. Review: Ulrich Weigand Differential Revision: https://reviews.llvm.org/D115690
-
Louis Dionne authored
This explains stuff that most contributors already know, but it's always good to write down explicitly. Differential Revision: https://reviews.llvm.org/D118278
-
Sam James authored
Originally reported downstream in Gentoo: https://bugs.gentoo.org/832140 ``` /var/tmp/portage/sys-libs/llvm-libunwind-13.0.0/work/libunwind/src/libunwind.cpp:77:3: error: #error Architecture not supported 77 | # error Architecture not supported | ^~~~~ [...] /var/tmp/portage/sys-libs/llvm-libunwind-13.0.0/work/libunwind/src/libunwind.cpp: In function ‘int __unw_init_local(unw_cursor_t*, unw_context_t*)’: /var/tmp/portage/sys-libs/llvm-libunwind-13.0.0/work/libunwind/src/libunwind.cpp:80:57: error: ‘REGISTER_KIND’ was not declared in this scope 80 | new (reinterpret_cast<UnwindCursor<LocalAddressSpace, REGISTER_KIND> *>(cursor)) | ^~~~~~~~~~~~~ [...] ``` PPC is actually a supported architecture, but GCC (tested with 11.2.0) on powerpc32 seems to only define: `__PPC__, _ARCH_PPC, __PPC, __powerpc` and //not// `__ppc__`. This instead uses `__powerpc__` which should be around on PPC32 and PPC64 (but we check it after PPC64, so it's fine). Signed-off-by:
Sam James <sam@gentoo.org> Differential Revision: https://reviews.llvm.org/D118320
-
Shubham Sandeep Rastogi authored
We have been noticing issues with the lldb bots on builds using versions below clang 14 and dwarf 2, so to make sure we can get clean builds for a while, we are disabling the tests for those versions Differential Revision: https://reviews.llvm.org/D118395
-
Arthur Eubanks authored
Specify the Address element type, which is the same for all pointers in the array.
-
Saurabh Jha authored
This is is the start of the MLIR benchmarks. It sets up a command line tool along with conventions to define and run benchmarks using mlir's python bindings. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D115174
-
Shubham Sandeep Rastogi authored
This reverts commit cd317637.
-
Thomas Raoux authored
Fix a bug in how we calculate the stride of mma load/store ops for N-D memrefs Differential Revision: https://reviews.llvm.org/D118378
-
Stephen Neuendorffer authored
Although cmake should be platform-independent, we've observed that some aspects of Python detection don't work on all platforms, even with recent versions of cmake. This appears to be due to bugs in the python detection logic, especially when the NumPy component is required and not located within the python installation. As a workaround, this patch first searches for "Development" before searching for "Development.Module", which seems to workaround the issue. Differential Revision: https://reviews.llvm.org/D118148
-
Shubham Sandeep Rastogi authored
We have been noticing issues with the lldb bots on builds using versions below clang 14 and dwarf 2, so to make sure we can get clean builds for a while, we are disabling the tests for those versions Differential Revision: https://reviews.llvm.org/D118395
-
David Tenty authored
This is a follow up to D118101, that added bexpfull to the test on instrprof-get-filename-merge-mode.c AIX, in order to get the necessary symbols exported. But unfortunately the extra dependent symbols this exports actually cause segfaults, which is why this isn't really recommended in the first place, so just use an actual export list. Differential Revision: https://reviews.llvm.org/D118310
-
Haojian Wu authored
I somehow missed it.
-
Siva Chandra Reddy authored
This reverts commit 21c4c82c.
-
Siva Chandra Reddy authored
This reverts commit 4a979c42.
-
Snehasish Kumar authored
This change refactors the ProfileKind enum into a bitset enum to represent the different attributes a profile can have. This change simplifies the logic in the instrprof writer when multiple profiles are merged together. In the future we plan on introducing a new memory profile section which will extend the enum by one additional entry. Without this change when accounting for memory profiles will have to be maintained separately and will make the logic more complex. Differential Revision: https://reviews.llvm.org/D115393
-
Johannes Doerfert authored
IdentTy objects are useful for debugging and profiling so we want to keep them around in more places, especially those that have a large impact on performance, e.g., everything related to state. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D112494
-
Siva Chandra Reddy authored
They are implemented as simple syscall wrappers. The file creation macros have been put in a header file as a temporary solution until we have a cleaner approach to listing platform relevant macros. Reviewed By: abrachet Differential Revision: https://reviews.llvm.org/D118396
-
Haojian Wu authored
In the initial hover expression patch (https://reviews.llvm.org/D72500), we disabled all literals. There is some value on running hover on character literals (e.g. see the int value of the char). Differential Revision: https://reviews.llvm.org/D117864
-
Haojian Wu authored
Fixes https://github.com/clangd/clangd/issues/999 Differential Revision: https://reviews.llvm.org/D118322
-
Craig Topper authored
Maps always return 0 or 1 for count. Comparing to 0 can create simpler compiled code. Someday we'll get to use std::map::contains.
-
Sri Hari Krishna Narayanan authored
This implements the runtime portion of the interop directive. It expects the frontend and IRBuilder portions to be in place for proper execution. It currently works only for GPUs and has several TODOs that should be addressed going forward. Reviewed By: RaviNarayanaswamy Differential Revision: https://reviews.llvm.org/D106674
-
Alexander Yermolovich authored
Since we now re-write .debug_info the DWARF CU Offsets can change. Just like for .debug_aranges the GDB Index will need to be updated. Reviewed By: Amir, maksfb Differential Revision: https://reviews.llvm.org/D118273
-
Anton Korobeynikov authored
Fixes #53451
-
Sri Hari Krishna Narayanan authored
Implements the OMPIRBuilder portion for the Interop directive. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D105876
-
Craig Topper authored
At least when starting from a vmslt.vx intrinsic or ISD::SETLT. We don't handle the case where the user used vmsle.vx intrinsic with -1.
-
natashaknk authored
Added support for concat, tile, pad, argmax and table ops Reviewed By: rsuderman Differential Revision: https://reviews.llvm.org/D118397
-
Arthur O'Dwyer authored
Differential Revision: https://reviews.llvm.org/D118164
-
Arthur O'Dwyer authored
We should be checking `is_assignable<It&, ...>`. `is_assignable<It, ...>` checks for an rvalue left-hand side, which is basically never assignable-to. Found while looking into https://cplusplus.github.io/LWG/issue3435 . Differential Revision: https://reviews.llvm.org/D117660
-
Arthur O'Dwyer authored
If this is a SFINAE context, then continuing to look up names (in particular, to treat a non-function as a function, and then do ADL) might too-eagerly complete a type that it's not safe to complete right now. We should just say "okay, that's a substitution failure" and not do any more work than absolutely required. Fixes #52970. Differential Revision: https://reviews.llvm.org/D117603
-