- Dec 09, 2023
-
-
Jan Svoboda authored
The `{File,Directory}EntryRef` can be though of as a subclasses of `{File,Directory}Entry` that happen to also carry the entry name. The implicit conversions allow calling functions taking the "superclass" pointer without the awkward `&FE.getFileEntry()` dance that doesn't add any value IMO. -
Jan Svoboda authored
-
Jan Svoboda authored
-
Jan Svoboda authored
-
Jan Svoboda authored
-
Alexey Bataev authored
Tries to simplify structural complexity of the findReusedOrderedScalars function.
-
Raghu Maddhipatla authored
[Flang][OpenMP][Semantics] Modify errors to warnings for semantic checks in IS_DEVICE_PTR related to list-items being dummy arguments. (#74370) Changed semantic check from giving error to giving a warning about deprecation from OpenMP 5.2 and later about checks for dummy argument list-items present on IS_DEVICE_PTR clause. This P is blocker for https://github.com/llvm/llvm-project/pull/71255
-
Daniil Kovalev authored
Reapply llvm/llvm-project#72713 after fixing formatted printing of `uint64_t` values as hex (see failing build here https://lab.llvm.org/buildbot/#/builders/186/builds/13604). This patch adds llvm-readobj support for: - Dynamic `R_AARCH64_AUTH_*` relocations (including RELR compressed AUTH relocations) as described here: https://github.com/ARM-software/abi-aa/blob/main/pauthabielf64/pauthabielf64.rst#auth-variant-dynamic-relocations - `.note.AARCH64-PAUTH-ABI-tag` section as defined here https://github.com/ARM-software/abi-aa/blob/main/pauthabielf64/pauthabielf64.rst#elf-marking
-
Guillaume Chatelet authored
This reverts the following commits: - a539a090 - 31316b3f Rationale for revert: https://github.com/llvm/llvm-project/issues/74258#issuecomment-1847836861
-
Stefan Gränitz authored
https://github.com/llvm/llvm-project/pull/74764 reported that the `lljit-with-remote-debugging` test fails on AArch64 hosts, because the input IR file states arch x86_64 explicitly. In order to drop the target triple we have to remove a check in the example implementation. Not sure it's fully portable now, but at least it's better than before.
-
Craig Topper authored
[RISCV][GISel] Re-generate legalize-vastart-rv32.mir and legalize-vastart-rv64.mir to fix buildbot failure. NFC I must have messed something up when addressing feedback on the patch that added these tests.
-
Zixu Wang authored
https://github.com/llvm/llvm-project/pull/74676 landed the work to implement `-fdefine-target-os-macros` and enabled the extension for the Darwin driver. However it is breaking some test builds. Leave the extension disabled for now until we can fix/workaround the build failures.
-
Aart Bik authored
Note, tensor.empty may feed into SPARSE output (meaning it truly has no values yet), but for a DENSE output, it should always have an initial value. We ran a verifier over all our tests and this is the only remaining omission.
-
Maryam Moghadas authored
On AIX, the __ehinfo toc-entry is never referenced directly using instructions, therefore we can allocate them with the TE storage mapping class to move them to the end of TOC.
-
Michael Maitland authored
The `< %s` needed to be removed. This change fixes the test introduced in 02379d19
-
Aart Bik authored
For BSR and convolutions, we encounter (d0, d1, d2, d3) -> ((d0 + d2) floordiv 2, (d1 + d3) floordiv 2, (d0 + d2) mod 2, (d1 + d3) mod 2) which crashed the current test. Note that an actual test and working code is still to follow (since we need to fix a few other things first)
-
Boian Petkantchin authored
Examle: substitute mesh.cluster @mesh0(rank = 2, dim_sizes = [0, 4]) with mesh.cluster @mesh0(rank = 2, dim_sizes = ?x4) Same as tensor/memref shapes. The only difference is for 0-rank shapes. With tensors you would have something like `tensor<f32>`. Here to avoid matching an empty string a 0-rank shape is denoted by `[]`.
-
Michael Maitland authored
This test is added to be the counterpart of the SelectionDAG llvm/test/CodeGen/RISCV/vararg.ll test. Minor changes were made compared to the other version, all which are commented in the test file added in this commit.
-
Aman LaChapelle authored
This patch moves PassExecutionAction to Pass.h so that it can be used by the action framework to introspect and intercede in pass managers that might be set up opaquely. This provides for a very particular use case, which essentially involves being able to intercede in a PassManager and skip or apply individual passes. Because of this, this patch also adds a test for this use case to verify that it could in fact work.
-
Arthur Eubanks authored
This removes some assumptions that the small code model will only reference "near" globals. There are still some missing optimizations and wrong code sequences, but I'd like to address those separately. This will require auditing any checks of the code model in the X86 backend.
-
Craig Topper authored
-
Craig Topper authored
We need to store the frame index to the location pointed to by the VASTART, not the other way around.
-
Michael Maitland authored
In the future, we can consider adding a G_VACOPY opcode instead of going through the GIntrinsic for all targets. We do the approach in this patch because that is what other targets do today.
-
Paul Walker authored
Add LL parsing for `<N x ty> splat(ty <imm>)` that lowers onto ConstantInt::get() for integer types and ConstantFP::get() for floating-point types. The intent is to extend ConstantInt/FP classes to support vector types rather than redirecting to other constant classes as the get() methods do today. This patch gives IR writers the convenience of using the shorthand today, thus allowing existing tests to be ported.
-
Igor Kudrin authored
When a tool defines only one or two subcommands, the `[subcommand]` part is not displayed in the `USAGE` help line. Note that a similar issue for printing the list of the subcommands has been fixed in https://reviews.llvm.org/D25463.
-
Florian Hahn authored
This patch starts initial modeling of VF * UF in VPlan. Initially, introduce a dedicated VFxUF VPValue, which is then populated during VPlan::prepareToExecute. Initially, the VF * UF applies only to the main vector loop region. Once we extend the scope of VPlan in the future, we may want to associate different VFxUFs with different vector loop regions (e.g. the epilogue vector loop) This allows explicitly parameterizing recipes that rely on the VF * UF, like the canonical induction increment. At the moment, this mainly helps to avoid generating some duplicated calls to vscale with scalable vectors. It should also allow using EVL as induction increments explicitly in D99750. Referring to VF * UF is also needed in other places that we plan to migrate to VPlan, like the minimum trip count check during skeleton creation. The first version creates the value for VF * UF directly in prepareToExecute to limit the scope of the patch. A follow-on patch will model VF * UF computation explicitly in VPlan using recipes. Moved from Phabricator (https://reviews.llvm.org/D157322)
-
Abhina Sree authored
This fixes the macro syntax
-
Ziqing Luo authored
Extends the lifetime of the map `ConstructedObjects` to be of the whole CFG so that the map can connect temporary Ctor and Dtor in different CFG blocks.
-
Michael Maitland authored
G_VAARG can be expanded similiar to SelectionDAG::expandVAArg through LegalizerHelper::lower. This patch implements the lowering through this style of expansion. The expansion gets the head of the va_list by loading the pointer to va_list. Then, the head of the list is adjusted depending on argument alignment information. This gives a pointer to the element to be read out of the va_list. Next, the head of the va_list is bumped to the next element in the list. The new head of the list is stored back to the original pointer to the head of the va_list so that subsequent G_VAARG instructions get the next element in the list. Lastly, the element is loaded from the alignment adjusted pointer constructed earlier. This change is stacked on #73062.
-
Paul Walker authored
-
Arthur Eubanks authored
We'd like to make various instrprof globals large to make them not contribute to relocation pressure since there are no direct accesses to them in the module. Similar to what was done for asan_globals in #74514. This affects the __llvm_prf_vals, __llvm_prf_vnds, and __llvm_prf_names sections. The reland fixes platform.ll.
-
Arthur Eubanks authored
This reverts commit 5507f70c. Breaks bots, e.g. https://lab.llvm.org/buildbot/#/builders/232/builds/16374
-
Shafik Yaghmour authored
[Clang] Fix ResolveConstructorOverload to not select a conversion function if we are going use copy elision ResolveConstructorOverload needs to check properly if we are going to use copy elision we can't use a conversion function. This fixes: https://github.com/llvm/llvm-project/issues/39319 https://github.com/llvm/llvm-project/issues/60182 https://github.com/llvm/llvm-project/issues/62157 https://github.com/llvm/llvm-project/issues/64885 https://github.com/llvm/llvm-project/issues/65568 Differential Revision: https://reviews.llvm.org/D148474
-
Arthur Eubanks authored
We'd like to make various instrprof globals large to make them not contribute to relocation pressure since there are no direct accesses to them in the module. Similar to what was done for asan_globals in #74514. This affects the __llvm_prf_vals, __llvm_prf_vnds, and __llvm_prf_names sections.
-
erichkeane authored
If the 'directive name' is a special token instead of an identifier, we end up asserting. This fixes that.
-
Mark de Wever authored
This should make it easier to get better output when wchar_t tests fail. The code is based on the Unicode transcoding in `<format>`. Differential Revision: https://reviews.llvm.org/D150593
-
Peiming Liu authored
…arse conv.
-
Guillaume Chatelet authored
Fix forward for #74862
-
Frederik Harwath authored
Required for torch-mlir. Cf. llvm/torch-mlir#2604 "Implement torch.aten.acos".
-
Yaxun (Sam) Liu authored
Use %t in output file name as %T is non-unique.
-