- Feb 16, 2022
-
-
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.
-
David Blaikie authored
_BitInt(N) only encodes the byte size in DWARF, not the bit size, so can't be reconstituted.
-
Aart Bik authored
This test shows that when access patterns do not match (e.g. transposing a row-wise sparse matrix into another row-wise sparse matrix), a conversion operation in between can enable codegen (i.e. avoid cycle in iteration graph). Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D119864
-
Mogball authored
-
Florian Mayer authored
This code was dead because we AI->replaceUsesWithIf above. I verified this doesn't actually get run by applying https://gist.github.com/fmayer/aea7cbb4700cfe2c9d932591ae1073c3 to the Android toolchain and building AOSP, without any crash. Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D119802
-
LLVM GN Syncbot authored
-
Mircea Trofin authored
Layering-wise, it seems RegisterBank stuff fits under CodeGen, like other target abstraction. In particular, TargetSubtargetInfo has a getRegBankInfo member, but using that object requires making sure GlobalISel is linked, which is not always the case (e.g. llvm-jitlink doesn't). Differential Revision: https://reviews.llvm.org/D119053
-
Peter Klausler authored
Track source location information when available for actual arguments to procedure references, and use this information when checking constraints on calls so that error messages refer to specific actual arguments rather than to the entire call. Differential Revision: https://reviews.llvm.org/D119849
-
Fangrui Song authored
-
Mogball authored
Optional parameters with `defaultValue` set will be populated with that value if they aren't encountered during parsing. Moreover, parameters equal to their default values are elided when printing. Depends on D118210 Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D118544
-
minglotus-6 authored
- Reader uses option values to override uint64_t values. Differential Revision: https://reviews.llvm.org/D119810
-
Christopher Di Bella authored
When compiling with Clang modules enabled, polly's use of using-directives caused the global object `Target` in RegisterPasses.cpp to clash with `llvm::Target`. By eliminating the using-directives, we're able to get polly to play nicely with a modules build. Differential Revision: https://reviews.llvm.org/D119809
-
Peter Klausler authored
Calls to C_F_POINTER() without the optional SHAPE= third argument were failing to be recognized as proper calls to the intrinsic, but the failure was not generating any error message. This led to a crash in lowering, which rightfully expects a typed expression to be associated with the call. So (1) catch silent failures to convert CALL statements as internal errors, as is done for expressions and assignment statements; and (2) clean up C_F_POINTER intrinsic handling to cope with only two arguments and to emit an error for a FPTR= argument with no type. Differential Revision: https://reviews.llvm.org/D119847
-
Krzysztof Drewniak authored
This change is needed when lowering alloca()-using code on targets such as ROCDL that represent private scratch space as a separate address space. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D119775
-
LLVM GN Syncbot authored
-
Nico Weber authored
This is needed after b432eb5c to keep std::unexpected_handler around (which libcxxabi uses from libcxx).
-