- Feb 16, 2022
-
-
Alexander Yermolovich authored
Added ability to append new entries to DIE. This is useful to standadize DWARF4 Split Dwarf, and simplify implementation of DWARF5. Multiple DIEs can share an abbrev. So currently limitation is that only unique Attributes can be added. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D119577
-
Richard Smith authored
-
Fangrui Song authored
-
zhongyunde authored
Perform the scalar expression combine in the form of: CSNEG(1, c, cc) + b => cc ? b+1 : b-c => CSINC(b-c, b, !cc) CSNEG(c, -1, cc) + b => cc ? b+c : b+1 => CSINC(b+c, b, cc) Fix https://github.com/llvm/llvm-project/issues/53071 Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D119105
-
Sergei Grechanik authored
This change exposes printer flags in AsmState and AsmStateImpl. All functions receiving AsmState as a parameter now use the flags from the AsmState instead of taking an additional OpPrintingFlags parameter. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D119870
-
Sam Clegg authored
Symbols with regular GOT entries do need to be exported, but those that are internalized (and have dymmy/internal GOT entries) need not be exported. This happens to fix the failures on the emscripten waterfall where extra symbols were being exported by the linker (and then later removed by wasm-opt). Differential Revision: https://reviews.llvm.org/D119902
-
Jan Korous authored
Differential Revision: https://reviews.llvm.org/D119307
-
Jan Korous authored
We want to prevent UB potentially caused by left-shifting by type bit-width. Differential Revision: https://reviews.llvm.org/D119307
-
Fangrui Song authored
Beside the optimization, this will avoid accessing nullptr entries with my planned change to parallelize initializeLocalSymbols.
-
Konstantin Varlamov authored
The changes from the One Ranges Proposal amount to adding: - a constructor that takes a `default_sentinel_t` and is equivalent to the default constructor; - an `operator==` that compares the iterator to `default_sentinel_t`. The original proposal defined two overloads for `operator==` (different argument order) as well as `operator!=`. This has been removed by [P1614](https://wg21.link/p1614). Differential Revision: https://reviews.llvm.org/D119620
-
Reid Kleckner authored
As requested on D92695
-
Michael Jones authored
Previously, building LLVM-libc with GWP ASAN was conditioned on the flag COMPILER_RT_BUILD_GWP_ASAN, which caused issues do to the default value of the flag being set in the compiler-rt cmake, which is seperate. Now GWP ASAN is included based on if it exists as a target, which is more consistent. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D119789
-
Bixia Zheng authored
Handle tensor copy, such as A[i, j] = B[i, j]. Also, handle trivial reduction expression, such as A[i] = B[i, j]. Add unit tests. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D119867
-
Heejin Ahn authored
Reviewed By: sbc100 Differential Revision: https://reviews.llvm.org/D119800
-
Nikolas Klauser authored
I'm trying to get libc++ to the point of being able to run clang-tidy. This is a PR to see if clang-tidy is happy with all the CI configs. Reviewed By: Quuxplusone, ldionne, #libc Spies: mgorny, aheejin, libcxx-commits, arichardson Differential Revision: https://reviews.llvm.org/D117174
-
Mubariz Afzal authored
The tablegen lines that specify the XPLINK64 calling convention for promoting an f32 vararg to an f64 are effectively overwritten by the following tablegen line which bitcast an f64 vararg to an i64 (so that it can be used in the GPRs). It becomes a bitcast from f32 to i64. Since we don't handle a bitcast for f32s this caused an assertion.
-
Sam Clegg authored
This code mirrors that in lld/ELF/Driver.cpp, as does the new test code. Differential Revision: https://reviews.llvm.org/D119888
-
Zahira Ammarguellat authored
`pragma clang fp eval_method`.
-
Jonas Devlieghere authored
Don't resize DataBufferHeap if the newly requested size exceeds the capacity of the underlying data structure, i.e. std::vector<uint8_t>. This matches the existing check in the DataBufferHeap constructor.
-
Muhammad Omair Javaid authored
This patch fixes a typo in https://reviews.llvm.org/rGa1862d78eb45 where parenthesis was placed by in place of curly braces which was strangely building with 3.17. Differential Revision: https://reviews.llvm.org/D114639
-
Arthur O'Dwyer authored
We shouldn't be calling `distance` via ADL -- and neither should anybody in the wild be calling it via ADL, so it's not like we need to test this ADL ability of `distance` in particular. Differential Revision: https://reviews.llvm.org/D119685
-
Louis Dionne authored
This is to avoid spurious test failures in case apple-clang-14 doesn't support _BitInt.
-
Louis Dionne authored
This change will make it possible to track exported symbols in more configurations, notably the Apple system one, where we disable incomplete features and the debug mode. Also, as a fly-by fix, shorten the name for whether new is in libc++ or not. Differential Revision: https://reviews.llvm.org/D119764
-
Florian Mayer authored
Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D119801
-
Aaron Ballman authored
A significant number of our tests in C accidentally use functions without prototypes. This patch converts the function signatures to have a prototype for the situations where the test is not specific to K&R C declarations. e.g., void func(); becomes void func(void); This is the eleventh batch of tests being updated (there are a significant number of other tests left to be updated).
-
Stanislav Mekhanoshin authored
Autogenerated names are too long and break compilation on Windows, while we do not need this enum at all. Differential Revision: https://reviews.llvm.org/D119869
-
Fangrui Song authored
Reported by Stefan Pintilie in D119773. For a branch to a hidden undefined weak symbol, there is an `assert(sym->getVA());` failure in PPC64LongBranchTargetSection::writeTo for a -no-pie link. The root cause is that we unnecessarily create the thunk for the -no-pie link. Fix this by changing the condition to just `s.isUndefined()`. See the inline comment. Rename ppc64-weak-undef-call.s to ppc64-undefined-weak.s to be consistent with other architectures. Reviewed By: sfertile, stefanp Differential Revision: https://reviews.llvm.org/D119787
-
Louis Dionne authored
Also, fix the actual code so that the test would pass if we fixed the issue that the method is instantiated in the dylib, and hence the debug assertion will never fire except if the debug mode is enabled when the dylib is being compiled.
-
Thomas Raoux authored
This allow user to register a callback that can annotate operations during software pipelining. This allows user potential annotate op to know what part of the pipeline they correspond to. Differential Revision: https://reviews.llvm.org/D119866
-
Björn Schäpers authored
Without that debugging was a hell for me. Differential Revision: https://reviews.llvm.org/D119597
-
Björn Schäpers authored
We can now configure the space between requires and the following paren, seperate for clauses and expressions. Differential Revision: https://reviews.llvm.org/D113369
-
Björn Schäpers authored
Detect requires expressions in more unusable contexts. This is far from perfect, but currently we have no good metric to decide between a requires expression and a trailing requires clause. Differential Revision: https://reviews.llvm.org/D119138
-
Philip Reames authored
Requested in D118538
-
Jacques Pienaar authored
Without results, there is no getType injected and so generating one in prefixed form doesn't result in any failures during C++ compilation. Differential Revision: https://reviews.llvm.org/D119871
-
Yaxun (Sam) Liu authored
constexpr var may be initialized with address of non-const variable. In this case the initializer is not constant in device compilation. This has been handled for const vars but not for constexpr vars. This patch makes handling of const var and constexpr var consistent. Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D119615 Fixes: https://github.com/llvm/llvm-project/issues/53780
-
Louis Dionne authored
This wasn't caught because we don't test the combination of no-filesystem and no-experimental-features in the CI.
-
Louis Dionne authored
-
Joseph Huber authored
This patch adds a new target to the OpenMP CPU offloading tests. This tests the usage of the new driver for CPU offloading. If this all works then we can move to transition to the new driver as the default. Depends on D119613 Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D119736
-
Joseph Huber authored
This patch adds support for linking CPU offloading applications in the linker wrapper. We generate the necessary linking job using the host linker's path and library arguments. This may not be true for more complex offloading schemes, but this is sufficient for now. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D119613
-
David Blaikie authored
Since -gmlt doesn't carry any type information necessary to rebuild template names.
-