- Nov 02, 2021
-
-
Michael Jones authored
add an implementation of strndup Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D112846
-
Michael Benfield authored
This reverts commit 5a8c1736. The warning needs to correctly handle * specifiers (which are to be ignored).
-
thomasraoux authored
In order to support fusion with mma matrix type we need to be able to execute elementwise operations on them. This add an op to be able to support some basic elementwise operations. This is a is not a full solution as it only supports a limited scope or operations. Ideally we would want to be able to fuse with more kind of operations. Differential Revision: https://reviews.llvm.org/D112857
-
Aaron Ballman authored
-
Louis Dionne authored
Those tests would pass when run on a C Standard Library that actually provides wide characters, but fail when run on top of one that doesn't. It's really difficult to test this 100% perfectly in the CI without introducing an actual platform that doesn't provide these declarations. Differential Revision: https://reviews.llvm.org/D112937
-
MaheshRavishankar authored
Differential Revision: https://reviews.llvm.org/D112781
-
Nikita Popov authored
It it now sufficient to track only direct addrec users of a loop, and let the SCEVUsers mechanism track and invalidate transitive users. Differential Revision: https://reviews.llvm.org/D112875
-
Raphael Isemann authored
'Point' is actually a system type defined on macOS.
-
Cameron McInally authored
For NEON, FMA matching is done in the MachineCombiner, and not the DAGCombiner. That causes problems with VLS lowering, since the vectors are fixed width at the DAGCombiner, but are scalable in the MachineCombiner. This patch corrects it by matching FMAs for VLS vectors in the DAGCombiner. Reviewed By: paulwalker-arm Differential Revision: https://reviews.llvm.org/D112557
-
thomasraoux authored
wmma intrinsics have a large number of combinations, ideally we want to be able to target all the different variants. To avoid a combinatorial explosion in the number of mlir op we use attributes to represent the different variation of load/store/mma ops. We also can generate with tablegen helpers to know which combinations are available. Using this we can avoid having too hardcode a path for specific shapes and can support more types. This patch also adds boiler plates for tf32 op support. Differential Revision: https://reviews.llvm.org/D112689
-
Quinn Pham authored
[NFC] This patch fixes a URL within a git repo whose master branch was renamed to main.
-
Michael Benfield authored
Differential Revision: https://reviews.llvm.org/D111833
-
wlei authored
Allow filling zero count for all the function ranges even there is no samples hitting that function. Add a switch for this. Reviewed By: hoy, wenlei Differential Revision: https://reviews.llvm.org/D112858
-
Valentin Clement authored
Address some of the comments on D112845 after it was committed. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D112918
-
Arthur Eubanks authored
-
Jonas Devlieghere authored
Now that passing libcxx via LLVM_ENABLE_PROJECTS has been deprecated, update the error message and recommend using LLVM_ENABLE_RUNTIMES instead. This patch also remove the error message for the old layout. Differential revision: https://reviews.llvm.org/D112856
-
Jay Foad authored
-
- Nov 01, 2021
-
-
Ted Woodward authored
SetSourceMapFromArguments is called after the core is loaded. This means that the source file for the crashing code won't have the source map applied. Move the call to SetSourceMapFromArguments in request_attach to just after the call to RunInitCommands, matching request_launch behavior. Reviewed By: clayborg, wallace Differential Revision: https://reviews.llvm.org/D112834
-
Sanjay Patel authored
Similar to 54e969cf (and with cosmetic updates to hopefully make that easier to read), this fold has been around since early in LLVM history. Intermediate folds have been added subsequently, so extra uses are required to exercise this code. The test example actually shows an unintended consequence with extra uses - we end up with an extra instruction compared to what we started with. But this at least makes scalar/vector consistent. General proof: https://alive2.llvm.org/ce/z/tmuBza
-
Sanjay Patel authored
-
Jinsong Ji authored
For D106555.
-
Kazu Hirata authored
Note that the identically named class is defined in an anonymous namespace in X86ELFObjectWriter.cpp.
-
Jay Foad authored
-
Weiwei Li authored
Add the shufflevector conversion. It only handles the static, i.e., IntegerAttr, index. Co-authored: Xinyi Liu <xyliuhelen@gmail.com> Reviewed by: antiagainst Differential revision: https://reviews.llvm.org/D112161
-
Raphael Isemann authored
This is currently only tested indirectly in the huge stdlibc++ formatter tests.
-
Jay Foad authored
-
Louis Dionne authored
I was going to make a change in that area of the code and I noticed that we basically duplicated the same code 5 times to handle integral types and floating point types. This commit simply pulls the duplication into a function. Differential Revision: https://reviews.llvm.org/D112830
-
Jay Foad authored
Differential Revision: https://reviews.llvm.org/D112917
-
Jinsong Ji authored
-
Matt Morehouse authored
Previously we only applied it to the first one, which could allow subsequent global tags to exceed the valid number of bits. Reviewed By: hctim Differential Revision: https://reviews.llvm.org/D112853
-
Matt Morehouse authored
-
Sanjay Patel authored
This fold was added long ago (part of fixing PR4216), and it matched scalars only. Intermediate folds have been added subsequently, so extra uses are required to exercise this code. General proof: https://alive2.llvm.org/ce/z/G6BBhB One of the specific tests: https://alive2.llvm.org/ce/z/t0JhEB
-
Sanjay Patel authored
-
Sanjay Patel authored
The extra uses are needed to prevent intermediate folds. Without that, there would be no coverage currently. The vector tests show an artificial limitation in the code.
-
Dmitry Makogon authored
This is a fix for tests added by 96591a14. A function which was called in tests wasn't marked as 'readonly', and the GVN performed PRE for the loads, but they were supposed to be non-local. So added 'readonly' to the called function.
-
Mubashar Ahmad authored
Enables support for Cortex-X2 cores. Differential Revision: https://reviews.llvm.org/D112459
-
Simon Pilgrim authored
Similar to AVX1, the cost of splitting/merging 512-bit -> 256-bits vectors for arithmetic operations are typically hidden due to different used ports etc.
-
gbreynoo authored
Differential Revision: https://reviews.llvm.org/D112151
-
Simon Pilgrim authored
The VINSERTF128 instruction is often much quicker, and never slower, than the more general VPERM2F128 instruction, so we should try to use that in more circumstances. This requires a fallback to a commuted VPERM2F128 for the case where we need to fold the 256-bit vector source instead of the 128-bit subvector source. There is one interesting side effect - DAGCombine's narrowExtractedVectorLoad combine gets called in a number of locations, this often creates an extracted subvector load without regard to other uses of the original wider load. I'm expecting AVX cpus to be capable of merging such aliased loads, but I do wonder whether narrowExtractedVectorLoad's call to X86TargetLowering::shouldReduceLoadWidth needs to be altered to check for more partial uses? Noticed while investigating the quality of interleaved load/store codegen. Differential Revision: https://reviews.llvm.org/D111960
-
David Sherwood authored
We never expect the runtime VF to be negative so we should use the uitofp instruction instead of sitofp. Differential revision: https://reviews.llvm.org/D112610
-