- Jan 08, 2021
-
-
Johannes Doerfert authored
Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D93735
-
Alexandre Ganea authored
Fixes PR42501. Differential Revision: https://reviews.llvm.org/D93772
-
Mehdi Amini authored
The loop index was shadowing the container name. It seems that we can just not use a for-range loop here since there is an induction variable anyway. Differential Revision: https://reviews.llvm.org/D94254
-
Joseph Huber authored
Add an example to the OpenMP Documentation on the LIBOMPTARGET_INFO environment variable Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D94246
-
dfukalov authored
Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D93813
-
Reid Kleckner authored
This reduces the number of `WinX86_64ABIInfo::classify` call sites from 3 to 1. The call sites were similar, but passed different values for FreeSSERegs. Use variables instead of `if`s to manage that argument.
-
Sanjay Patel authored
Another step towards allowing intrinsics in reduction matching.
-
Alex Zinenko authored
Some Python bindings tests were using FileCheck to match parts of the error description produced only in the debug compilation mode. Remove these parts (but keep the main message) to ensure tests also pass when running them in the release compilation mode. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D94221
-
Alex Zinenko authored
The LLVM dialect type system has been closed until now, i.e. did not support types from other dialects inside containers. While this has had obvious benefits of deriving from a common base class, it has led to some simple types being almost identical with the built-in types, namely integer and floating point types. This in turn has led to a lot of larger-scale complexity: simple types must still be converted, numerous operations that correspond to LLVM IR intrinsics are replicated to produce versions operating on either LLVM dialect or built-in types leading to quasi-duplicate dialects, lowering to the LLVM dialect is essentially required to be one-shot because of type conversion, etc. In this light, it is reasonable to trade off some local complexity in the internal implementation of LLVM dialect types for removing larger-scale system complexity. Previous commits to the LLVM dialect type system have adapted the API to support types from other dialects. Replace LLVMIntegerType with the built-in IntegerType plus additional checks that such types are signless (these are isolated in a utility function that replaced `isa<LLVMType>` and in the parser). Temporarily keep the possibility to parse `!llvm.i32` as a synonym for `i32`, but add a deprecation notice. Reviewed By: mehdi_amini, silvas, antiagainst Differential Revision: https://reviews.llvm.org/D94178
-
Wouter van Oortmerssen authored
A struct in C passed by value did not get debug information. Such values are currently lowered to a Wasm local even in -O0 (not to an alloca like on other archs), which becomes a Target Index operand (TI_LOCAL). The DWARF writing code was not emitting locations in for TI's specifically if the location is a single range (not a list). In addition, the ExplicitLocals pass which removes the ARGUMENT pseudo instructions did not update the associated DBG_VALUEs, and couldn't even find these values since the code assumed such instructions are adjacent, which is not the case here. Also fixed asm printing of TIs needed by a test. Differential Revision: https://reviews.llvm.org/D94140
-
Matt Arsenault authored
Make the sequence of passes to select and rewrite instructions to physical registers be a target callback. This is to prepare to allow targets to split register allocation into multiple phases.
-
Hiroshi Yamauchi authored
Differential Revision: https://reviews.llvm.org/D94199
-
Alexandre Ganea authored
Silence warning: comparison of integers of different signs: 'const unsigned int' and 'const long' [-Wsign-compare] (off_t being a signed type)
-
Mircea Trofin authored
Last bulk batch. Differential Revision: https://reviews.llvm.org/D94236
-
Mehdi Amini authored
Error was: mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp:2247:36: error: cannot call member function 'mlir::LLVM::FastmathFlags mlir::LLVM::FMFAttr::getFlags() const' without object return bitEnumContains(getFlags(), flag); ^ -
Eric Schweitz authored
-
Alan Phipps authored
Refactor three tests to not depend on other test files as input but to instead refer to "Inputs" subdirectory.
-
Erich Keane authored
As shown by bug 48540, GCC vector types would cause a crash when the declaration hada ParenType. This was because the walking of the declaration would try to expand the 'inner' type, but there was no ability to get it from the vector type. This patch adds that element type access to the vector type loc objects. Differential Revision: https://reviews.llvm.org/D93483
-
Thomas Preud'homme authored
Remove continuation line in code snippet to prevent GCC warning about multiline comments (-Wcomment) when building a project using libclang with GCC. Reviewed By: rjmccall Differential Revision: https://reviews.llvm.org/D92409
-
Kazuaki Ishizaki authored
fix typo under include and lib directories Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D94220
-
Jeroen Dobbelaere authored
When introducing support for @llvm.experimental.noalias.scope.decl, this tests started failing because it checks (for no good reason) for a function attribute id of '#8' which now becomes '#9' Reviewed By: pratlucas Differential Revision: https://reviews.llvm.org/D94233
-
Eric Schweitz authored
the conversion of LLVM IR dialect. These attributes are used in FIR to support the lowering of Fortran using target-specific calling conventions. Add roundtrip tests. Add changes per review comments/concerns. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D94052
-
Varun Gandhi authored
Incorrect usage of NDEBUG to guard ABI changes can prevent clients from enabling assertions for their C++ code while having assertions in LLVM turned off. So we use LLVM_ENABLE_ABI_BREAKING_CHECKS instead, as described in llvm/docs/ProgrammersManual.rst. Most types already use this macro, however, there were a couple of stragglers in ValueHandle.h, which are fixed by this revision. Reviewed By: dblaikie, dexonsmith Differential Revision: https://reviews.llvm.org/D93433
-
Mircea Trofin authored
This covers tests starting with s. Differential Revision: https://reviews.llvm.org/D94184
-
- Jan 07, 2021
-
-
Cameron McInally authored
Differential Revision: https://reviews.llvm.org/D94193
-
Bardia Mahjour authored
Adds some tests to check the formatting of the dot file produced when using -dot-ddg. Reviewed By: Meinersbur Differential Revision: https://reviews.llvm.org/D93949
-
Matt Arsenault authored
There are various hacks working around limitations in handleAssignments, and the logical split between different parts isn't correct. Start separating the type legalization to satisfy going through the DAG infrastructure from the code required to split into register types. The type splitting should be moved to generic code.
-
Bardia Mahjour authored
When creating pi-blocks we try to avoid creating duplicate edges between outside nodes and the pi-block when an edge is of the same kind and direction as another one that has already been created. We do this by keeping track of the edges in an enumerated array called EdgeAlreadyCreated. The problem is that this array is declared local to the loop that iterates over the nodes in the pi-block, so the information gets lost every time a new inside-node is iterated over. The fix is to move the declaration to the outer loop. Reviewed By: Meinersbur Differential Revision: https://reviews.llvm.org/D94094
-
Roman Lebedev authored
I have added it in d15d81ce because it *seemed* correct, was holding for all the tests so far, and was validating the fix added in the same commit, but as David Major is pointing out (with a reproducer), the assertion isn't really correct after all. So remove it. Note that the d15d81ce still fine.
-
Roman Lebedev authored
[llvm-reduce] ReduceGlobalVarInitializers delta pass: fix handling of globals w/ comdat/non-external linkage Much like with ReduceFunctionBodies delta pass, we need to remove comdat and set linkage to external, else verifier will complain, and our deltas are invalid.
-
Sidharth Baveja authored
Summary: Currently SplitEdge does not support passing in parameter which allows you to name the newly created BasicBlock. This patch updates the function such that the name of the block can be passed in, if users of this utility decide to do so. Reviewed By: Whitney, bmahjour, asbirlea, jamieschmeiser Differential Revision: https://reviews.llvm.org/D94176
-
Paul C. Anagnostopoulos authored
Differential Revision: https://reviews.llvm.org/D93969
-
Valentin Clement authored
Add semantic check for most of the restrictions for the declare directive. Reviewed By: kiranktp Differential Revision: https://reviews.llvm.org/D92741
-
Simon Pilgrim authored
[AArch64] SVEIntrinsicOpts - use range loop and cast<> instead of dyn_cast<> for dereferenced pointer. NFCI. Don't directly dereference a dyn_cast<> - use cast<> so we assert for the correct type. Also, simplify the for loop to a range loop. Fixes clang static analyzer warning.
-
Simon Pilgrim authored
As we're breaking from the loop when clamping MaxVF, clang static analyzer was warning that the VF iterator was being updated and never used.
-
Andrzej Warzynski authored
As per [1]: ``` File names should use dashes, not underscores. ``` This patch updates the names of Flang driver tests accordingly. [1] https://github.com/llvm/llvm-project/blob/main/flang/docs/C%2B%2Bstyle.md
-
Caroline Concatto authored
This patch fixes a bug introduced in the patch: https://reviews.llvm.org/D93030 This patch pulls the test for scalable vector to be the first instruction to be checked. This avoids the Gather and Scatter cost model for AArch64 to compute the number of vector elements for something that is not a vector and therefore crashing.
-
Jan Svoboda authored
This is necessary for a future patch, where we start using this macro in another function. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D93702
-
Alex Zinenko authored
-
Jan Svoboda authored
This patch moves `parseSimpleArgs` closer to `ParseDiagnosticArgs` so that sharing the parsing macro between them can be done more locally in a future patch. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D94172
-