- Mar 03, 2022
-
-
William S. Moses authored
https://reviews.llvm.org/D120423 replaced the use of stacksave/restore with memref.alloca_scope, but kept the save/restore at the same location. This PR places the allocation scope within the wsloop, thus keeping the same allocation scope as the original scf.parallel (e.g. no longer over stack allocating). Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D120772
-
Philip Reames authored
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: libcxx-commits, arichardson Differential Revision: https://reviews.llvm.org/D120087
-
Sander de Smalen authored
In Streaming SVE mode full NEON is not available, even though this is implied from armv8-a. LLVM previously inferred that NEON needed to be disabled when setting +streaming-sve, but there is no need to infer this from +streaming-sve, because we can explicitly disable NEON using LLVM's attribute mechanism. This is specifically relevant because +streaming-sve is not a user-facing feature, but rather an LLVM internal feature. Reviewed By: paulwalker-arm Differential Revision: https://reviews.llvm.org/D120809
-
Simon Pilgrim authored
Now that we've improved splat detection we no longer see regressions in the funnel-shift-by-splat-amount test cases
-
William S. Moses authored
Canonicalize cmpi(eq, ext a, ext b) and cmpi(ne, ext a, ext b) Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D120620
-
Valentin Clement authored
This patch enables the lowering of basic modules and functions/subroutines in modules. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: PeteSteinfeld Differential Revision: https://reviews.llvm.org/D120819 Co-authored-by:
Eric Schweitz <eschweitz@nvidia.com> Co-authored-by:
Jean Perier <jperier@nvidia.com>
-
Arthur O'Dwyer authored
This might be unobservable, since __synth_three_way is only ever called as a result of using an (ADL) operator on std::pair or std::tuple.
-
Valentin Clement authored
This patch adds the lowering of the `inquire` statement. This patch is part of the upstreaming effort from fir-dev branch. Depends on D120822 Reviewed By: schweitz Differential Revision: https://reviews.llvm.org/D120823 Co-authored-by:
Jean Perier <jperier@nvidia.com>
-
Valentin Clement authored
This patches adds lowering for couple of basic io statements such as `flush`, `endfile`, `backspace` and `rewind` This patch is part of the upstreaming effort from fir-dev branch. Depends on D120821 Reviewed By: schweitz Differential Revision: https://reviews.llvm.org/D120822 Co-authored-by:
Eric Schweitz <eschweitz@nvidia.com> Co-authored-by:
Jean Perier <jperier@nvidia.com>
-
William S. Moses authored
Add constant folder for left shift Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D120661
-
Akira Hatanaka authored
CreatePointerBitCastOrAddrSpaceCast Differential Revision: https://reviews.llvm.org/D120757
-
Valentin Clement authored
This patch adds the lowering of open and close statements This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: schweitz Differential Revision: https://reviews.llvm.org/D120821 Co-authored-by:
Jean Perier <jperier@nvidia.com>
-
Marek Kurdej authored
Fixes https://github.com/llvm/llvm-project/issues/54140. Reviewed By: MyDeveloperDay, JohelEGP Differential Revision: https://reviews.llvm.org/D120806
-
Daniel McIntosh authored
Also, changes how the CSR loop is indexed, which should avoid bugs like the one fixed by rG4a57bb5a Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D120668
-
Nikita Popov authored
This reverts commit 76f243b5. The newly added test fails.
-
Simon Pilgrim authored
-
Florian Hahn authored
Instead of relying on underlying instructions, this patch updates VPScalarIVStepsRecipe to only store the required type information. This removes access to unrelated information, as well as avoiding issues with the same underlying instruction being shared by multiple recipes. This change should only change the debug output and not cause any codegen changes, hence NFCI.
-
Jay Foad authored
SIInstrInfo::FoldImmediate tried to delete move-immediate instructions after folding them into their only use. This did not work because it was checking hasOneNonDBGUse after doing the fold, at which point there should be no uses. This seems to have no effect on codegen, it just means less stuff for DCE to clean up later. Differential Revision: https://reviews.llvm.org/D120815
-
Simon Pilgrim authored
[ObjectYAML] WasmWriter::writeSectionContent - use llvm::enumerate to fix 'side effect in assert' warning
-
- Mar 02, 2022
-
-
Simon Pilgrim authored
FD has already been dereferenced
-
Nikita Popov authored
This is an alternative to D120330, which disables MachineSink for functions with irreducible cycles entirely. This avoids both the correctness problem, and ensures we don't perform non-profitable sinks into cycles. At the same time, it may also disable profitable sinks in the same function. This can be made more precise by using MachineCycleInfo in the future. Fixes https://github.com/llvm/llvm-project/issues/53990. Differential Revision: https://reviews.llvm.org/D120800
-
Alex Zinenko authored
It can be present, but is irrelevant for the translation.
-
Nikita Popov authored
This is a recommit without changes. I originally reverted this due to a significant code-size regression on tramp3d-v4, however further investigation showed that in the tramp3d-v4 case this change enables additional optimizations (in particular more jump threading), which happens to reduce the size of a function just enough to be eligible for inlining at hot callsites, which results in the code size increase. As such, this was just bad luck. ----- This one-use limitation is artificial, we do not increase instruction count if we perform the fold with multiple uses. The motivating case is shown in @sub_eq_zero_select, where the one-use limitation causes us to miss a subsequent select fold. I believe the backend is pretty good about reusing flag-producing subs for cmps with same operands, so I think doing this is fine. Differential Revision: https://reviews.llvm.org/D120337
-
Simon Pilgrim authored
Currently we only check for splat shuffles, this extends it to see if the source operand is a splat across the demanded elts based upon the shuffle mask
-
Arthur O'Dwyer authored
Fixes #48965. Differential Revision: https://reviews.llvm.org/D120630
-
spupyrev authored
Differential Revision: https://reviews.llvm.org/D120780
-
Alex Zinenko authored
-
Chuanqi Xu authored
Reviewed By: iains Differential Revision: https://reviews.llvm.org/D120793
-
Momchil Velikov authored
This reverts commit 74319d67. It causes test failures that look like infinite loop in asan/hwasan unwinding.
-
Florian Hahn authored
The EntryVal argument is not needed after recent refactoring. Remove it.
-
Alex Tsao authored
The patch adds very basic cost model for masked memory op on scalable vector. Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D117884
-
Pavel Labath authored
Causing failures on many bots. This reverts commit 31efecfd.
-
David Green authored
-
Groverkss authored
This patch moves all functionality from IntegerPolyhedron to IntegerRelation. IntegerPolyhedron is now implemented as a relation with no domain. All existing functionality is extended to work on relations. This patch does not affect external users like FlatAffineConstraints as they can still continue to use IntegerPolyhedron abstraction. This patch is part of a series of patches to support relations in Presburger library. Reviewed By: arjunp Differential Revision: https://reviews.llvm.org/D120652
-
Pavel Labath authored
Move it into the implementation of the function that needs it. Avoids polluting the namespace of all files including the header.
-
Pavel Labath authored
A using directive in a header pollutes the namespace of all files which include that header. It seems this snuck in in D115764 by moving some code from a cpp file.
-
Pavel Labath authored
This patch changes the return value of Platform::GetName() to a StringRef, and uses the opportunity (compile errors) to change some callsites to use GetPluginName() instead. The two methods still remain hardwired to return the same thing, but this will change once the ideas in <https://discourse.llvm.org/t/multiple-platforms-with-the-same-name/59594> are implemented. Differential Revision: https://reviews.llvm.org/D119146
-
Alex Zinenko authored
Add support for translating data layout specifications for integer and float types between MLIR and LLVM IR. This is a first step towards removing the string-based LLVM dialect data layout attribute on modules. The latter is still available and will remain so until the first-class MLIR modeling can fully replace it. Depends On D120739 Reviewed By: wsmoses Differential Revision: https://reviews.llvm.org/D120740
-
Alex Zinenko authored
Add support for integer and float types into the data layout subsystem with default logic similar to LLVM IR. Given the flexibility of the sybsystem, the logic can be easily overwritten by operations if necessary. This provides the connection necessary, e.g., for the GPU target where alignment requirements for integers and floats differ from those provided by default (although still compatible with the LLVM IR model). Previously, it was impossible to use non-default alignment requirements for integer and float types, which could lead to incorrect address and size calculations when targeting GPUs. Depends On D120737 Reviewed By: wsmoses Differential Revision: https://reviews.llvm.org/D120739
-