- Oct 09, 2023
-
-
kmclaughlin-arm authored
SME support routines expect that the reserved bytes of TPIDR2 (bytes 10-15) are zero. This patch ensures that the reserved bytes are cleared when allocating a new TPIDR2 block.
-
Owen Pan authored
-
Paulo Matos authored
Since efe0e107 changes in tests are required. Need to add extension to Extensions list and command line to enable use of the extension for test runs.
-
Kazu Hirata authored
Now that llvm::support::endianness has been renamed to llvm::endianness, we can use the shorter form. This patch replaces llvm::support::endianness with llvm::endianness.
-
Mehdi Amini authored
Change the attribute propagation to handle only discardable attributes, inherent attribute are handled directly and args/results through the interface.
-
jeanPerier authored
Currently, if the first usage of a procedure not defined in the file was inside a procedure designator reference (not a call to it), the lowered func.func lacked the argument attributes if any. Fix this by using `CallInterface<T>::declare` too in SignatureBuilder to create a new func.func instead of using custom code. Note: this problem was made worse by the fact that module variables fir.global are currently lowered before the module procedures func.func are created. I will try to fix that in a later patch (the debug location may still be wrong in certain cases) because there is quite some test fallout when changing the order of globals/funcop in the output.
-
jeanPerier authored
HLFIR was always calling Destroy runtime when doing derived type scalar assignments because the IR did not contain the info of whether finalization was needed or not. This info is now available in fir.type_info which allow skipping the runtime call when not needed. Also, when finalization is needed, simply use Assign runtime. This makes no difference from a semantic point of view with the current code that generated a call to Destroy and did the assignment inline, but if some piece of runtime must be called anyway, it is simpler to just call Assign that deals with everything.
-
David Spickett authored
-
David Spickett authored
-
Kazu Hirata authored
The last template parameter of llvm::support::endian::{read,write} defaults to unaligned, so we can drop that at call sites. -
Sergei Barannikov authored
According to the manual `cmp` is a synthetic instruction that maps to `subcc` with %g0 output operand. Make it so. The change required some changes to instruction selection process. The reason is that the old CMP did not have an output operand, while setcc does have one. We want that operand to be %g0. The easiest way to achieve this seems to be to mark SUBCC with hasPostISelHook and replace the output operand with %g0 in the corresponding TargetLowering method.
-
Brad Smith authored
-
Congcong Cai authored
-
- Oct 08, 2023
-
-
Matthias Springer authored
The empty tensor elimination pass semantics have changed recently: when applied to a module, the One-Shot Module Analysis is run. Otherwise, the regular One-Shot Analysis is run. The latter one is slightly different because it ignores function boundaries and treats function block arguments as "read-only". This commit updates the transform dialect op to behave in the same way.
-
LiqinWeng authored
…redicated Intrinsic ID
-
Kazu Hirata authored
Now that llvm::support::endianness has been renamed to llvm::endianness, we can directly get endianness from the llvm namespace. We don't need to go through support.
-
Wang Pengcheng authored
To simplify code.
-
Amara Emerson authored
-
Jianjian Guan authored
This patch supports FP_TO_SINT, FP_TO_UINT, VP_FP_TO_SINT and VP_FP_TO_UINT for fp16 vectors input when we only have Zvfhmin but no Zvfh.
-
David Stone authored
[clang][Modules] `checkModuleIsAvailable` should use a const & parameter instead of pointer (#67902) The `Module` parameter to `checkModuleIsAvailable` is currently passed by pointer to non-const. However, it requires only const access and it cannot be null. Change this to be a reference to const instead. This then makes it obvious that it is an input-only parameter, so move it to be before the in-out parameter for diagnostics.
-
Florian Hahn authored
There's no need to repeatedly query and reset the state for LoopExitInstDef. This removes one of the last uses of VPTransformState::reset, by use a vector to store and update the results. No other code should try to retrieve the result from State outside the fixReductionCall.
-
qijitao authored
In instruction encoding, the relative offset address of the PC is signed, that is, the number of positive offset bits and the number of negative offset bits is asymmetric. Therefore, the maximum and minimum values are used to replace Mask to determine the boundary. Co-authored-by:qijitao <qijitao@hisilicon.com>
-
David Green authored
Add similar tests to D159254 for other CPU targets.
-
Craig Topper authored
This uses the recently introduced sink-and-fold support in MachineSink. https://reviews.llvm.org/D152828 This enables folding ADDI into load/store addresses. Enabling by default will be a separate PR.
-
Matthias Springer authored
Address additional comments in #68074. This should have been part of #68074.
-
- Oct 07, 2023
-
-
Hubert Tong authored
s/Definitoin/Definition/
-
Timm Bäder authored
The expected output was wrong.
-
Corentin Jabot authored
-
Timm Baeder authored
We can't load anything from them, but we can still take their address or return them as lvalues.
-
Aaron Ballman authored
-
Job Noorman authored
Was broken after ff5e2bab.
-
Ralf Jung authored
-
Benjamin Kramer authored
-
Jie Fu authored
/llvm-project/clang/lib/AST/Decl.cpp:4182:7: error: field 'TemplateArgumentsAsWritten' will be initialized after field 'NumCandidates' [-Werror,-Wreorder-ctor] : TemplateArgumentsAsWritten(TemplateArgsWritten), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NumCandidates(Candidates.size()) 1 error generated. -
Krystian Stasiowski authored
This removes the `ClassScopeFunctionSpecializationDecl` `Decl` node, and instead uses `DependentFunctionTemplateSpecializationInfo` to handle such declarations. `DependentFunctionTemplateSpecializationInfo` is also changed to store a `const ASTTemplateArgumentListInfo*` to be more in line with `FunctionTemplateSpecializationInfo`. This also changes `FunctionDecl::isFunctionTemplateSpecialization` to return `true` for dependent specializations, and `FunctionDecl::getTemplateSpecializationKind`/`FunctionDecl::getTemplateSpecializationKindForInstantiation` to return `TSK_ExplicitSpecialization` for non-friend dependent specializations (the same behavior as dependent class scope `ClassTemplateSepcializationDecl` & `VarTemplateSepcializationDecl`).
-
Caroline Tice authored
This reverts commit cd184c86.
-
Craig Topper authored
We need this so isel can use getRegBankFromRegClass to disambiguate FSW and SW patterns without depending on pattern order in the tablegen source files. While there, add a few missing GPR register classes and sort them in the order they appear in the tblgen output file.
-
Timm Bäder authored
-
-
Mircea Trofin authored
The test was added after a9d0ab2e, which is what 8abb2ace reverted. The test is sensitive to the exact instruction sequence in the output, which has changed. Re-gen-ed the test with update_llc_test_checks.py
-