- Nov 26, 2023
-
-
Shengchen Kan authored
-
Aiden Grossman authored
This pass has no test coverage upstream, is not used anywhere upstream, and has a NewPM equivalent. For these reasons, remove it.
-
Aiden Grossman authored
This pass isn't used by anywhere upstream and thus has no test coverage. For these reasons, remove it.
-
Aiden Grossman authored
This pass has a NewPM equivalent, isn't used anywhere upstream, and doesn't have any test coverage. For these reasons, remove it.
-
Aiden Grossman authored
This pass isn't used anywhere upstream, has a NewPM equivalent, and has no test coverage. For these reasons, remove it.
-
Aiden Grossman authored
This pass isn't used anywhere upstream and thus doesn't have any test coverage. For these reasons, remove it.
-
Aiden Grossman authored
This pass isn't used anywhere upstream and thus has no test coverage. For these reasons, remove it.
-
Aiden Grossman authored
This pass isn't used anywhere upstream and thus has no test coverage. For these reasons it should be removed.
-
avl-llvm authored
This fixes usage of PointerIntPair on 32-bit platform - https://github.com/llvm/llvm-project/issues/73267.
-
Aiden Grossman authored
This reverts commit ddc6ef46. This relands commit 12b0ab2c. There was an issue with certain configurations failing to build due to a deleted Error constructor that should be fixed with this relanding.
-
antangelo authored
Reland "[clang][Sema] Use original template pattern when declaring implicit deduction guides for nested template classes" (#73087) Reland of f4183197 with proper handling of template constructors When a nested template is instantiated, the template pattern of the inner class is not copied into the outer class ClassTemplateSpecializationDecl. The specialization contains a ClassTemplateDecl with an empty record that points to the original template pattern instead. As a result, when looking up the constructors of the inner class, no results are returned. This patch finds the original template pattern and uses that for the lookup instead. Based on CWG2471 we must also substitute the known outer template arguments when creating deduction guides for the inner class. Changes from last iteration: 1. In template constructors, arguments are first rewritten to depth - 1 relative to the constructor as compared to depth 0 originally. These arguments are needed for substitution into constraint expressions. 2. Outer arguments are then applied with the template instantiator to produce a template argument at depth zero for use in the deduction guide. This substitution does not evaluate constraints, which preserves constraint arguments at the correct depth for later evaluation. 3. Tests are added that cover template constructors within nested deduction guides for all special substitution cases. 4. Computation of the template pattern and outer instantiation arguments are pulled into the constructor of `ConvertConstructorToDeductionGuideTransform`.
-
Craig Topper authored
This covers the simm12 offset case.
-
Craig Topper authored
-
Youngsuk Kim authored
Opaque ptr cleanup effort
-
Stefan Gränitz authored
-
- Nov 25, 2023
-
-
Mark de Wever authored
The class layout_stride has been implemented in 639a0986
-
Mark de Wever authored
-
Stefan Gränitz authored
This test actually exercises the readAddendData() function.
-
Nathan Sidwell authored
Sort x86 intrinsics and use prefix checking.
-
Mark de Wever authored
Implements: - P2870R3 Remove basic_string::reserve() --------- Co-authored-by:philnik777 <nikolasklauser@berlin.de>
-
Weining Lu authored
Similar to e752b58e.
-
Eleanor Bonnici authored
It's possible (though inadvisable) to use LDR and refer to labels in different sections. In the Arm state, the assembler resolves the LDR instruction without emitting a relocation. That's incorrect because the assembler cannot make any assumptions about the relative position of the sections and the compiler output is therefore wrong. This patch ensures relocations are generated for all `LDR <Rt...>, label` instructions in the Arm state (little endian). This is not necessary when the label is in the same section but the relocation is now generated regardless. Instructions that now generate relocations have been removed from the pcrel-global.s test. Fortunately, LLD already implements the generated relocations and can fix LDR instructions when the symbol is in a different section, or report an error if the offset is too large for the immediate field in the particular LDR's encoding. The patch to address this problem for big endian targets will follow, as well as a fix for ADR that exhibits a similar behavior.
-
Andrzej Warzyński authored
This patch refactors tests for: * vector.contract -> vector.outerproduct transformations for matvec operations (b += Ax). Specifically, relevant tests from the following 2 files: * vector-contract-matvec-transforms.mlir * vector-contract-to-outerproduct-transforms.mlir are combined into one: * vector-contract-to-outerproduct-matvec-transforms.mlir All original tests are preserved and no new tests are added. This is a part of a larger effort to add cases with scalable vectors to tests for the Vector dialect. I am refactoring these test as a preparation for follow-up patches. Implements #72834.
-
Stefan Gränitz authored
The `getGenericEdgeKindName()` function returned "<Unrecognized edge kind>" for all our relocations. We must use `aarch32::getEdgeKindName()` instead.
-
Stefan Gränitz authored
-
Benjamin Maxwell authored
PR for: https://discourse.llvm.org/t/add-check-mlir-python-to-the-mlir-pre-commit-tests/74041 It’s easy to forget about the Python bindings and not build/test them locally. It’s also easy to change something that’ll break the python binding tests and not find out till after you’ve committed your change. These tests seem to run quickly and don’t require much extra setup, so let's add them to the general MLIR pre-merge tests.
-
David Green authored
-0.0 acts as the identity element for fadd. This doesn't try to add 0.0 too, which would require nsz fast math flags.
-
Rik Huijzer authored
Some operations defined their syntax both in the documentation and via `assemblyFormat`. This leads to two `Syntax:` subheadings in the documentation, see for example the documentation for [`arith.maximumf`](https://mlir.llvm.org/docs/Dialects/ArithOps/#arithmaximumf-arithmaximumfop). Since the `assemblyFormat` is used to generate the actual parsers and printer implementations, this PR suggest to remove the manual syntax descriptions.
-
Craig Topper authored
-
Craig Topper authored
We can fold the G_FRAME_INDEX into a load/store address.
-
Yida Zhang authored
-
Daniel Chen authored
This test case depends on the stderr output of a `nullptr` being "(null)". However, it is empty string on AIX. This PR is to initialize the `sourceFileName_` to be a specific string to avoid that.
-
Youngsuk Kim authored
Work towards to the TODO item of removing method `Type::getPointerTo` (as noted in llvm/include/llvm/IR/Type.h).
-
Youngsuk Kim authored
Opaque ptr cleanup effort (NFC).
-
LLVM GN Syncbot authored
-
Youngsuk Kim authored
Multiple calls to `PointerType::getUnqual(C)`, and calls to `Type::getPointerTo(AddrSpace=0)` on them all result in the same type. Clean them up to re-use the same `PtrTy` variable within function `createRegisterGlobalsFunction()`.
-
Craig Topper authored
This adds riscv_bitmanip and riscv_crypto.h This is based on the proposed spec here https://github.com/riscv-non-isa/riscv-c-api-doc/pull/44 Tests that previously used builtins directly now use the intrinsics. Reviewed By: wangpc Differential Revision: https://reviews.llvm.org/D155647
-
serge-sans-paille authored
Recommit of 0d2860b7 with extra test cases fixed.
-
philnik777 authored
This makes the conditionals quite a bit simpler to understand, since it avoids double negatives and makes sure we have <__availability> included. For vendors which use availability macros, it also enforces that they check when specific features are introduced and define the macro for their platform appropriately.
-
Lixi Zhou authored
Fix the 2 failed ompt tests on M1 device found on #63194. ``` libomp :: ompt/synchronization/masked.c libomp :: ompt/synchronization/master.c ``` For the details of this fix, please check the origin discussion in https://github.com/llvm/llvm-project/issues/63194#issuecomment-1710494689 Thanks @jprotze for the fix.
-