- Jan 16, 2023
-
-
Alexey Lapshin authored
generation code from DWARFLinker. It adds command line option: --build-accelerator [none,DWARF] Build accelerator tables(default: none) =none - Do not build accelerators =DWARF - Build accelerator tables according to the resulting DWARF version DWARFv4: .debug_pubnames and .debug_pubtypes DWARFv5: .debug_names Differential Revision: https://reviews.llvm.org/D139638 -
Sergei Barannikov authored
Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D141788
-
Guillaume Chatelet authored
-
Guillaume Chatelet authored
-
Florian Hahn authored
There is no need to update the DT here, because there must be a unique latch. Hence if the latch is not exiting it must directly branch back to the original loop header and does not dominate any nodes. Skipping a DT update here simplifies D141487. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D141810
-
Haojian Wu authored
-
Sergey Kachkov authored
This reverts commit fc7cdaa3.
-
Zain Jaffal authored
Currently we only reduce vector.reduce.add to sdot if the vectors are either <8 x i8> or <16 x i8>. Reviewed By: fhahn Differential Revision: https://reviews.llvm.org/D141692
-
Max Kazantsev authored
Jump threading can replace select and unconditional branch with conditional branch, but when doing so loses profile information. This destructive transform can eventually lead to a performance degradation due to folding of branches in shouldFoldCondBranchesToCommonDestination as branch probabilities are no longer known. The first version was reverted due to assert caused by i32 overflow, fixed in this version. Patch by Roman Paukner! Differential Revision: https://reviews.llvm.org/D138132 Reviewed By: mkazantsev
-
Haojian Wu authored
-
Kerry McLaughlin authored
Adds an instruction mapping to SMEInstrFormats which matches SME pseudos with the real instructions they are transformed to. A new flag is also added to AArch64Inst (SMEMatrixType), which is used to indicate the base register required when emitting many of the SME instructions. This reduces the number of pseudos handled by the switch statement in EmitInstrWithCustomInserter. Reviewed By: david-arm Differential Revision: https://reviews.llvm.org/D136856
-
Jolanta Jensen authored
Fixed minor typo in clang help docs. Differential Revision: https://reviews.llvm.org/D141507
-
Sven van Haastregt authored
`opencl-c-base.h` always defines 5 particular feature macros for SPIR-V, making it impossible to disable those features. To allow disabling any of those features, let the header recognize `__undef_<feature>` macros. The user can then pass the `-D__undef_<feature>` flag on the command line to disable a specific feature. The __undef macro could potentially also be set from `-cl-ext=-feature`, but for now only change the header and only provide __undef macros for the 5 features that are always enabled in `opencl-c-base.h`. Differential Revision: https://reviews.llvm.org/D141297
-
Utkarsh Saxena authored
The one introduced in D140547 was brittle. Fixing max template depth to a small value would still test the same issue without causing actual stack exhaustion. Differential Revision: https://reviews.llvm.org/D141818
-
Nikita Popov authored
A very annoying update, because some but now all of the zero-index GEPs are omitted with opaque pointers.
-
Sergey Kachkov authored
This patch introduces new type of memory dependency - Select to consistently handle it like Def/Clobber dependency. Differential Revision: https://reviews.llvm.org/D141619
-
Markus Böck authored
[mlir][NFC] Set `useFoldAPI` to `kEmitRawAttributesFolder` value for some dialects missed previously Found these while working on https://reviews.llvm.org/D141604. These were previously not found due to the old implementation only emitting warnings if an Op has a `fold`. Changing these values both avoid the deprecation warning and if new `fold`s were added to ops of these dialects, that they are already using the new API. Differential Revision: https://reviews.llvm.org/D141795
-
David Green authored
This is an extension to the code for sinking splats to multiplies, where if we can detect that the top bits are known-zero we can treat the instruction like a zext. The existing code was also adjusted in the process to make it more precise about only sinking if both operands are zext or sext. Differential Revision: https://reviews.llvm.org/D141275
-
Florian Hahn authored
Various places in the code where still using the VPRecipeBase:: prefix for VPDef IDs or not prefix at all. Now that the VPDef IDs have been moved to VPDef, use this prefix instead and consistently use it.
-
Max Kazantsev authored
Make it available for external use. Differential Revision: https://reviews.llvm.org/D141457 Reviewed By: lebedev.ri
-
Matt Devereau authored
Repeated floating-point complex patterns in dupqlane such as (f32 a, f32 b, f32 a, f32 b) can be simplified to shufflevector(f64(a, b), undef, 0)
-
Benjamin Kramer authored
This change makes StringRefTest fail in some configuration. Might be a standard library issue or miscompile.
-
Timm Bäder authored
-
David Spickett authored
This claims to take a platform name argument but doesn't. That was probably the intent in fbb76349 but it has only ever worked with the current platform. Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D136928
-
Nikita Popov authored
This test was testing both typed and opaque pointers. Remove the typed pointer check lines, and update the input IR to use opaque pointers. Note that with opaque pointers, the "bitcast" is not explicit, but rather just a mismatch in function type between the call and the declaration.
-
Nikita Popov authored
add-prototype.ll has since been converted.
-
Nikita Popov authored
-
Haojian Wu authored
Fixes https://github.com/llvm/llvm-project/issues/59927 Differential Revision: https://reviews.llvm.org/D141670
-
Chuanqi Xu authored
As the summary explained in https://reviews.llvm.org/D137058, the design of `-fmodule-output` changes relatively frequently so I skipped the release notes and docs for -fmodule-output in the the patches. And the patches get accepted and landed. The patch adds the related release notes and docs.
-
Yingchi Long authored
This reverts commit e327b527.
-
Valentin Clement authored
Use asBox so no simply contiguous argument do not issue a copy and also support polymorphic entity out of the box. Depends on D141667 Reviewed By: jeanPerier, PeteSteinfeld Differential Revision: https://reviews.llvm.org/D141678
-
Valentin Clement authored
When creating temporary from a polymorphic entity, its dynamic type information must be carried over to the temporary. This patch updates createTempMutableBox to support passing a source_box from which the information will be carried over. This is tested on the spread intrinsic and follow-up patches will updates other temporary creation where needed. Reviewed By: jeanPerier, PeteSteinfeld Differential Revision: https://reviews.llvm.org/D141667
-
Jean Perier authored
The current intrinsic call lowering contains a lot of repetitive patterns when it comes to dealing with temporary allocatable results allocated by the runtime that need to be dereferenced and for which a clean-up (free) must be scheduled in the StatementContext. For HLFIR lowering, I will need to deal with the clean-up in a different way since the results will be "moved" into expression nodes and the clean-up will be inserted in bufferization after the last hlfir.expr usage. Centralizing the clean-up code will make that easier, and is regardless of this motivation a quality improvement. Some static helpers had to be moved to IntrinsicBuilder method so that they could call the readAndAddCleanUp code. Differential Revision: https://reviews.llvm.org/D141669
-
Lorenzo Chelini authored
An outer dim permutation requires adjusting the offsets and sizes of the `tensor.extract_slice` operations generated during tiling. Originally this was done by computing an inverse permutation of the outer permutation for both `tensor.pack` and `tensor.unpack`. For packing, the tiling is applied on interchanged dimensions; thus, it is correct to compute the inverse. For unpacking, on the other hand, tiling involves the output tensor that does not have interchanged dimensions, and no inverse is required. Reviewed By: hanchung Differential Revision: https://reviews.llvm.org/D141688
-
Saagar Jha authored
It seems like these were copied from the single-step code and not updated to match the new flags. Differential revision: https://reviews.llvm.org/D141816
-
Pierre van Houtryve authored
-
Craig Topper authored
The if body returned at the end and contained more code than what came after it. Reverse the condition and move the simpler code from the end of the function into the new if body.
-
Chuanqi Xu authored
Although I failed to reproduce the problem in pr60036, it should be always good to have more tests.
-
Lang Hames authored
-
Chuanqi Xu authored
[Driver] [C++20] [Modules] Don't emit unused-argument warning for '-fmodule-output' and '-fmodule-output=' Suppres the r unused-argument warning for -fmodule-output according to the discussion thread in https://gcc.gnu.org/pipermail/gcc/2022-December/240239.html. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D140001
-