- Nov 05, 2020
-
-
Simon Pilgrim authored
Use const references instead.
-
Simon Pilgrim authored
[GlobalISel] GISelKnownBits::computeKnownBitsImpl - Replace TargetOpcode::G_MUL handling with the common KnownBits::computeForMul implementation Avoid code duplication
-
Nabeel Omer authored
Adds visual studio debugger support to dexter via option --debugger vs2019 Differential Revision: https://reviews.llvm.org/D89803 Author: Nabeel Omer <nabeel.omer@sony.com>
-
Nabeel Omer authored
adds a test that checks debugging experience in functions that are marked __attribute__((optnone)) and have loops inside them. Differential Revision: https://reviews.llvm.org/D89873 Author: Nabeel Omer <nabeel.omer@sony.com>
-
Louis Dionne authored
Those are part of the library, and shipping them just adds a tiny bit of size to the distribution. This was originally added in b422ecc7 to make it possible to match the Makefile build, which doesn't exist anymore. The upside is build system simplification.
-
Arnold Schwaighofer authored
This reverts commit ea606cce. This patch causes memory sanitizer failures sanitizer-x86_64-linux-fast.
-
Louis Dionne authored
This will allow running the basic test on all platforms, and the part that requires signals on platforms that support them only.
-
Vy Nguyen authored
Differential Revision: https://reviews.llvm.org/D90764
-
- Nov 04, 2020
-
-
Kadir Cetinkaya authored
RemoteIndexClient implementations only depends on clangdSupport for logging functionality and has no dependence on clangDeamon itself. This clears out that link time dependency and enables depending on it in clangDeamon itself, so that we can have other index implementations that makes use of the RemoteIndex. Differential Revision: https://reviews.llvm.org/D90746
-
LLVM GN Syncbot authored
-
Balázs Kéri authored
SIG30-C. Call only asynchronous-safe functions within signal handlers First version of this check, only minimal list of functions is allowed ("strictly conforming" case), for C only. Differential Revision: https://reviews.llvm.org/D87449 -
Arnold Schwaighofer authored
This patch adds the `async` lowering of coroutines. This will be used by the Swift frontend to lower async functions. In contrast to the `retcon` lowering the frontend needs to be in control over control-flow at suspend points as execution might be suspended at these points. This is very much work in progress and the implementation will change as it evolves with the frontend. As such the documentation is lacking detail as some of it might change. rdar://70097093 Differential Revision: https://reviews.llvm.org/D90612
-
Eric Astor authored
Allows the MACRO directive to define macro procedures with parameters and macro-local symbols. Supports required and optional parameters (including default values), and matches ml64.exe for its macro-local symbol handling (up to 65536 macro-local symbols in any translation unit). Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D89729
-
Pavel Labath authored
Use llvm::is(U)IntN (MathExtras.h) instead.
-
Pavel Labath authored
It's unused, and the same functionality is available in llvm (is(U)IntN in MathExtras.h).
-
Simon Pilgrim authored
-
Simon Pilgrim authored
gcc warns that the EXPECT_TRUE macro isn't surrounded by if() {} - we already do this in other cases in the file. -
Louis Dionne authored
Also simplify a few conditionals along the way for readability.
-
Aaron Ballman authored
This silences about 6000 warnings about truncating from double to float with Visual Studio.
-
etiotto authored
This patch enhances the clang driver to link the runtime profile library on AIX when the -fprofile-generate option is used. Reviewed By: phosek Differentail Revision: https://reviews.llvm.org/D90641
-
Vy Nguyen authored
Accidentally committed in D89615
-
Vy Nguyen authored
This is necessary for enabling LSAN on Android (D89251) because: - LSAN will have false negatives if run with emulated-tls. - Bionic ELF-TLS is not compatible with Gold (hence the need for LLD) Differential Revision: https://reviews.llvm.org/D89615
-
Paul C. Anagnostopoulos authored
Add a test. Use it in some TableGen files. Differential Revision: https://reviews.llvm.org/D90469
-
Paul C. Anagnostopoulos authored
Differential Revision: https://reviews.llvm.org/D90532
-
Pavel Labath authored
Using Scalar::SetValueFromData, we make the code simpler, handle big-endian systems properly, _and_ avoid type aliasing issues.
-
Louis Dionne authored
We don't want to give the impression that we allow running arbitrary shell commands under %{exec}, which isn't the case. -
Louis Dionne authored
-
Sanjay Patel authored
-
Sanjay Patel authored
-
Roman Lebedev authored
This is slightly better compile-time wise, since we avoid potentially-costly knownbits analysis that will ultimately not allow us to actually do anything with said `add`.
-
Nicolas Vasilache authored
Differential Revision: https://reviews.llvm.org/D90755
-
Frederik Gossen authored
Relands - [MLIR] Support walks over regions and blocks (dbae3d50) - [MLIR] Use llvm::is_one_of in walk templates (56299b1e) Differential Revision: https://reviews.llvm.org/D90753 -
Clement Courbet authored
Add missing header. ``` ../../llvm/tools/llvm-exegesis/lib/X86/Target.cpp(606,14): error: use of undeclared identifier '__readeflags' Eflags = __readeflags(); ``` -
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
Nico Weber authored
-
Simon Moll authored
`+vpu` controls whether VEISelLowering adds any vregs. This defaults to `-vpu` to have scalar code generation out of the box. We bring up vector isel under the `+vpu` flag. Once vector isel is stable we switch to `+vpu` and advertise vregs and vops in TTI. Reviewed By: kaz7 Differential Revision: https://reviews.llvm.org/D90465
-
Kerry McLaughlin authored
This patch uses the existing LowerFixedLengthReductionToSVE function to also lower scalable vector reductions. A separate function has been added to lower VECREDUCE_AND & VECREDUCE_OR operations with predicate types using ptest. Lowering scalable floating-point reductions will be addressed in a follow up patch, for now these will hit the assertion added to expandVecReduce() in TargetLowering. Reviewed By: paulwalker-arm Differential Revision: https://reviews.llvm.org/D89382
-
Nicolas Vasilache authored
For instance: ``` func @for_yields_3(%lb : index, %ub : index, %step : index) -> (i32, i32, i32) { %a = call @make_i32() : () -> (i32) %b = call @make_i32() : () -> (i32) %r:3 = scf.for %i = %lb to %ub step %step iter_args(%0 = %a, %1 = %a, %2 = %b) -> (i32, i32, i32) { %c = call @make_i32() : () -> (i32) scf.yield %0, %c, %2 : i32, i32, i32 } return %r#0, %r#1, %r#2 : i32, i32, i32 } ``` Canonicalizes as: ``` func @for_yields_3(%arg0: index, %arg1: index, %arg2: index) -> (i32, i32, i32) { %0 = call @make_i32() : () -> i32 %1 = call @make_i32() : () -> i32 %2 = scf.for %arg3 = %arg0 to %arg1 step %arg2 iter_args(%arg4 = %0) -> (i32) { %3 = call @make_i32() : () -> i32 scf.yield %3 : i32 } return %0, %2, %1 : i32, i32, i32 } ``` Differential Revision: https://reviews.llvm.org/D90745 -
Simon Pilgrim authored
[DAG] computeKnownBits - Replace ISD::MUL handling with the common KnownBits::computeForMul implementation
-