- May 08, 2023
-
-
wanglei authored
-
Fangrui Song authored
-
Fangrui Song authored
Similar to 49488490. Remove MCDwarfFrameEmitter::EmitAdvanceLoc which is only called once.
-
LLVM GN Syncbot authored
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D148553
-
Ian Anderson authored
Several headers are missing includes for things they use. type_traits.is_enum needs to export type_traits.integral_constant so that clients can access its `value` member without explicitly including __type_traits/integral_constant.h themselves. Make `subrange_fwd` a peer submodule to `subrange` rather than a submodule of it, and have `subrange` export `subrange_fwd`. That will make it easier to programmatically generate modules for the private detail headers, and it will accomplish the same effect that __ranges/subrange.h will make subrange_kind visible. Reviewed By: Mordante, #libc Differential Revision: https://reviews.llvm.org/D150055
-
Ian Anderson authored
[libc++] test/libcxx/transitive_includes.sh.cpp dumps loads of unhelpful preprocessor output when it fails Send stdout to dev/null since the preprocessor output isn't relevant to the test and is tons of noise when the test fails. Reviewed By: Mordante, #libc, philnik Differential Revision: https://reviews.llvm.org/D150056
-
Zhao Qi authored
This patch only provides basic LoongArchTTIImpl, and more hooks will be added to provide TTI machinery for LoongArch soon. Reviewed By: SixWeining, xen0n Differential Revision: https://reviews.llvm.org/D147524
-
Weining Lu authored
This reverts commit 040a41a8. Author name is wrong.
-
Roland McGrath authored
The exact set of supported values is determined by the <errno.h> and <signal.h> headers, which don't (yet) come from llvm-libc on Fuchsia. The mappings of SIG* and E* codes to psignal/strsignal and perror/strerror text used in Fuchsia libc today is the same as for Linux. Reviewed By: abrachet Differential Revision: https://reviews.llvm.org/D150026
-
Noah Goldstein authored
The first `cttz(Y)` bits in `X` are translated 1-1 in the output. Alive2 Links: https://alive2.llvm.org/ce/z/Qc47p7 https://alive2.llvm.org/ce/z/19ut5H Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D149421 -
Noah Goldstein authored
Reviewed By: foad Differential Revision: https://reviews.llvm.org/D149420
-
Noah Goldstein authored
`(xor X, SignBit)` == `(add X, SignBit)`. For atomics whose result is used, the `add` option is preferable because of the `xadd` instruction which allows us to avoid either a CAS loop or a `btc; setcc; shl`. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D149689
-
Noah Goldstein authored
Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D149687
-
Arthur Eubanks authored
This reverts commit 856f384b. Breaks bots, e.g. https://lab.llvm.org/buildbot/#/builders/123/builds/18775
-
Manoj Gupta authored
This reverts commit ea228bd0. Cuases a crash on AArch64. Testcase provided at D149260.
-
Fangrui Song authored
Similar to D145791: most call sites need a SmallString, but have to provide a raw_svector_ostream wrapper with unneeded abstraction and overhead: raw_ostream::write =(inlinable)=> flush_tied_then_write (unneeded TiedStream check) =(virtual function call)=> raw_svector_ostream::write_impl ==> SmallVector append(ItTy in_start, ItTy in_end) (range; less efficient then push_back). Just use SmallVectorImpl to simplify and optimize code. Unfortunately most call sites use SmallString, so we have to use SmallVectorImpl<char> instead of <uint8_t> to avoid large refactoring.
-
Vitaly Buka authored
They are empty for now. Follow up patches will introduce behaviour changes.
-
Vitaly Buka authored
They are empty for now. Follow up patches will introduce behaviour changes.
-
Vitaly Buka authored
They are empty for now. Follow up patches will introduce behaviour changes.
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Vitaly Buka authored
Add pthread_exit and pthread_attr_setdetachstate.
-
Amara Emerson authored
-
Craig Topper authored
-
Craig Topper authored
-
David Green authored
For constant BUILD_VECTORs the operands need to be legal types. This can mean that when the number of sign bits is calculated it may look that the entire constant and inefficiently produce less sign bits than it could. For example i8 vectors could use i32 elements, for which 0x000000ff would be incorrectly limited to 1 sign bit as the original value has 24 sign bits. This makes it look at the constant directly, truncated to the correct type for the element so that it can correctly return 8. Differential Revision: https://reviews.llvm.org/D149956
-
Simon Pilgrim authored
[X86] lowerShuffleAsElementInsertion - fold to or(vzext_movl(scalar_to_vector(zext(x))), and(constant, mask)) The logic in this function is a bit of a mess, but masking a vector constant should allow us to OR the zero-extended i8/i16 scalar value in place. We can do more here - reusing the OR pattern if the relevant unused elements are known zero etc. but this is enough to address a regression from D127115.
-
Saleem Abdulrasool authored
Windows uses COFF as an object file format and PE/COFF as an executable file format. They are subtly different and certain elements of a COFF file may not be present in an executable. Introduce a new plugin to add support for the COFF object file format which is required to support loading of modules built with -gmodules. This is motivated by Swift which serialises debugging information into a PCM which is a COFF object file. Differential Revision: https://reviews.llvm.org/D149987 Reviewed By: bulbazord
-
Arthur Eubanks authored
MSVC makes these string literals [1][2]. [1] https://godbolt.org/z/6vnTzbExx [2] https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170 Fixes #114 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D146764
-
Piotr Zegar authored
Split tests files into noexcept and throw(). This is preparation for a C++20 support in this check. Reviewed By: carlosgalvezp Differential Revision: https://reviews.llvm.org/D148458
-
Simon Pilgrim authored
-
Florian Hahn authored
Recipes for interleave group members are recorded directly in the RecipeBuilder. Use it directly instead of going indirectly through VPlan's Value->VPValue mapping.
-
Carlos Galvez authored
A previous patch update the clang-tidy documentation incorrectly claiming that SystemHeaders can be provided in the .clang-tidy configuration file. This patch adds support for it, together with tests. Differential Revision: https://reviews.llvm.org/D149899
-
- May 07, 2023
-
-
Dávid Bolvanský authored
-
Jean Perier authored
I removed the barriers a bit fast. Some mold is needed on hlfir.elemental for polymorphic vector subscripted designator (and for parenthesized polymorphic) so that a temporary can be later created. The parenthesized array case may also just used asExpr and that could later use AssignTemporary to deal with this. But the vector subscripted designator case will need to use some new runtime to get some mold allocation done for the temp. Add TODOs in the meantime. Differential Revision: https://reviews.llvm.org/D149970
-
Simon Pilgrim authored
Fixes #62412
-
Simon Pilgrim authored
-
Aaron Siddhartha Mondal authored
Prefix occurrences of `//utils/bazel` with an explicit `@llvm-raw`. This change lets us reuse code from `configure.bzl` in future compatibility patches for the bzlmod module system. The llvm-project overlay will be made available as an `@llvm-project-overlay` (name WIP) module in the Bazel Central Registry. This means that we will have an `@llvm-project-overlay` workspace in addition to the `@llvm-raw` and `@llvm-project` workspaces currently involved in the build. To keep future patches to the existing build files as small as possible, the explicit naming proposed in this change appears to be the simplest way to not confuse the module workspace resolution. This is not a functional change to the current WORKSPACE build. It is a foundation for future patches. GitHub Issue in the BCR: https://github.com/bazelbuild/bazel-central-registry/issues/206 GitHub Issue in LLVM: https://github.com/llvm/llvm-project/issues/55924 Reviewed By: csigg Differential Revision: https://reviews.llvm.org/D136496
-
Dávid Bolvanský authored
-