- Mar 02, 2022
-
-
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
-
Alex Zinenko authored
This seems to have been forgotten when the types were introduced. Reviewed By: wsmoses Differential Revision: https://reviews.llvm.org/D120737
-
Simon Pilgrim authored
This was handled generically (and better) by D120553
-
Florian Hahn authored
The removed line matches the previous line, modulo the check prefix. There is no way to disable sinking instructions as required due to first-order recurrence and removing the line should be safe.
-
Saiyedul Islam authored
Intermediate file of one of the test was getting overwritten due to name clash.
-
Nikita Popov authored
This test exposes a bug in the edge dominance implementation.
-
Momchil Velikov authored
Counterpart of https://reviews.llvm.org/D111411 this change makes the unwind information instruction precise in function epilogues. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D112330
-
Simon Moll authored
Add `vvp_load|store` nodes. Lower to `vld`, `vst` where possible. Use `vgt` for masked loads for now. Reviewed By: kaz7 Differential Revision: https://reviews.llvm.org/D120413
-
Manas authored
Currently, manpage for scan-build is installed as a program, with permission of 755. This patch makes installation of scan-build.1 as file, with 644 permission. Patch by Manas. Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D120646
-
Kiran Chandramohan authored
Minor rearrangment in the order of conversion patterns to identify differences. Reviewed By: clementval, schweitz Differential Revision: https://reviews.llvm.org/D120721
-
Nikita Popov authored
This reverts commit 0817ce86. Seeing some ppc64le stage2 failures, reverting to investigate.
-
Pavel Samolysov authored
Starting from Windows SDK for Windows 11 (10.0.22000.x), all the system libraries (.lib files) contain a section with the '/<XFGHASHMAP>/' name. This looks like the libraries are built with control flow guard enabled: https://docs.microsoft.com/en-us/cpp/build/reference/guard-enable-control-flow-guard?view=msvc-170 To let the LLVM tools (llvm-ar, llvm-lib) work with these libraries, this patch just skips the section offset check for sections with the '/<XFGHASHMAP>/' name. Closes: llvm/llvm-project#53814 Signed-off-by:
Pavel Samolysov <pavel.samolysov@intel.com> Reviewed By: jhenderson, thieta Differential Revision: https://reviews.llvm.org/D120645
-
Simon Pilgrim authored
This patch adds support for recognising vector splats by peeking through bitcasts to vectors with smaller element types - if all the offset subelements are splats then the bitcasted vector is a splat as well. We don't have great coverage for isSplatValue so I've made this pretty specific to the use case I'm trying to fix - regressions in some vXi64 vector shift by splat cases that 32-bit x86 doesn't recognise because the shift amount buildvector has been type legalised to v2Xi32. We can add further support (floats, bitcast from larger element types, undef elements) when we have actual test coverage. Differential Revision: https://reviews.llvm.org/D120553
-
Nikita Popov authored
For conditional branches, we know the value is i1 0 or i1 1 along the outgoing edges. For switches we can apply exactly the same optimization, just with the known values determined by the switch cases.
-
Jay Foad authored
In convertToThreeAddress handle VOP2 mac/fmac instructions with a literal src0 operand, since these are prime candidates for converting to madmk/fmamk. Previously this would only happen if src0 (or src1) was a register defined by a move-immediate instruction, but in many cases these operands have already been folded because SIFoldOperands runs before TwoAddressInstructionPass. Differential Revision: https://reviews.llvm.org/D120736
-
Dawid Jurczak authored
Given that there is only one external user of Lexer::getLangOpts we can remove getter entirely without much pain. Differential Revision: https://reviews.llvm.org/D120404
-
Florian Hahn authored
-
Nikita Popov authored
Currently we only handle br but not switch in this fold.
-
Haojian Wu authored
-
Simon Moll authored
Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D119922
-
Simon Moll authored
Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D120068
-
Haojian Wu authored
This is helpful for debugging purposes. Differential Revision: https://reviews.llvm.org/D120724
-
LLVM GN Syncbot authored
-
Stanislav Gatev authored
This is part of the implementation of the dataflow analysis framework. See "[RFC] A dataflow analysis framework for Clang AST" on cfe-dev. Reviewed-by: ymandel, xazax.hun Differential Revision: https://reviews.llvm.org/D120711
-
Haojian Wu authored
The linear scan should not escape the TargetedStates range. Differential Revision: https://reviews.llvm.org/D120723
-
Martin Storsjö authored
This aids debugging when working with possibly broken files, instead of just flat out erroring out without telling what's wrong. Differential Revision: https://reviews.llvm.org/D120679
-
Martin Storsjö authored
As part of https://reviews.llvm.org/D119036 (506cf6dc), `-DNOMINMAX` was dropped from the Windows CI configurations, replaced with a block with `_LIBCPP_PUSH_MACROS`, `#include <__undef_macros>` and `_LIBCPP_POP_MACROS` (and `ADDITIONAL_COMPILE_FLAGS: -DNOMINMAX` left in two tests). However, this workaround breaks the running the libc++ tests against a different C++ standard library than libc++, as those macros and that header are libc++ internals. Therefore, reinstate `-DNOMINMAX` for clang-cl configurations and remove the libc++ specific bits in filesystem_test_helper.h. Differential Revision: https://reviews.llvm.org/D120478
-