- Aug 21, 2023
-
-
Rahman Lavaee authored
Differential Revision: https://reviews.llvm.org/D158429
-
Valentin Clement authored
This restriction is not clearly stated in the OpenACC standard but all other compilers enforce it and there no explanation to what should happen if there is a branching out of the construct. Add the restriction for now. Reviewed By: vzakhari Differential Revision: https://reviews.llvm.org/D158319
-
Valentin Clement authored
The acc.declare operation represent the implicit region of variable in the declare directive in the function (and subroutine in fortran). Reviewed By: razvanlupusoru Differential Revision: https://reviews.llvm.org/D158314
-
Kazu Hirata authored
-
Donát Nagy authored
This minor change ensures that underflow errors are reported on memory regions that are in unknown space but have a well-defined beginning. As a concrete example, the following test case did not produce a warning previously, but will produce a warning after this patch: typedef struct { int id; char name[256]; } user_t; user_t *get_symbolic_user(void); char test_underflow_symbolic_2() { user_t *user = get_symbolic_user(); return user->name[-1]; } Differential Revision: https://reviews.llvm.org/D157104 -
Stefan Pintilie authored
Added a test case for situations where a rotate is followed by a clear. NFC because only a test case is added.
-
Daniel Chen authored
Adding mma_lxvp and mma_stxvp, which are alias to already landed vec_lxvp and vec_stxvp respectively. Differential Revision: https://reviews.llvm.org/D158274
-
Florian Hahn authored
Split off independent suggestion from D157037. This simplifies the condition to decide if a recipe needs to be inserted to the header phi section or simply appended. The assertion has been updated to allow cases where the first non-phi recipe is the end of the block, in which case inserting before this point is equivalent to appending.
-
Kazu Hirata authored
This patch fixes: bolt/lib/Core/BinaryFunction.cpp:4117:20: error: unused variable 'FragmentBaseAddress' [-Werror,-Wunused-variable]
-
Florian Hahn authored
Split off independent suggestion from D157037.
-
Stephen Tozer authored
See "discussion": https://discourse.llvm.org/t/rfc-dexter-feature-removals/60462 This patch removes the builder functionality from Dexter, as it is an active maintenance burden and is no longer required since Dexter is being invoked by other test runners that can handle the build step better, and there has been no objection that it is still needed. Differential Revision: https://reviews.llvm.org/D151465
-
Qiongsi Wu authored
On AIX, `extract_symbols.py`'s default pool size may be too big for the logical partition(LPAR)'s allocated memory, and may lead to intermittent IO errors. This patch limits the pool size to 8 to avoid such errors. Reviewed By: daltenty, thieta Differential Revision: https://reviews.llvm.org/D157884
-
Ingo Müller authored
In particular: * Fix and extend the support for constructing possibly nested ArrayAttrs from lists of Python ints. This can probably be generalized further and used in many more places. * Add arguments for `pad_to_multiple_of` and `copy_back_op`. * Format with black and reorder (keyword-only) arguments to match tablegen and (`*_gen.py`) order. * Extend tests for new features. Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D157789
-
Martin Erhart authored
We are allowed to remove any values from the `memref` list for which there is no memref in the `retained` list with a may-alias relation. Before removing, we just have to make sure that the corresponding op results for all retained memrefs with must-alias relation are updated accordingly. This means, the the condition operand has to become part of the disjunction the result value is computed with. Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D158395
-
Nikita Popov authored
These haven't been supported as constant expressions for a while already, so having Operator variants of them doesn't make much sense.
-
Harvin Iriawan authored
Missed updating the win64_vararg2.ll test on db158c7c Differential Revision: https://reviews.llvm.org/D158410
-
J. Ryan Stinnett authored
`DIFile`'s checksum fields became optional as part of https://reviews.llvm.org/D43043. This updates the description in the docs to match. Fixes https://github.com/llvm/llvm-project/issues/39151 Differential Revision: https://reviews.llvm.org/D158281
-
Benjamin Kramer authored
-
Joseph Huber authored
We previously provided the `try_open` facility to indicate if opening a port failed. This is used on the server to continuously poll and quit if there is no work. However the Client currently has no way to recover from not finding a port and simply spins repeatedly. The abstraction here costs us some resources. This patch changes the interface to only allow `open` on the client side and merges the loops. This saves us a branch and a good number of registers. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D158365
-
Groverkss authored
The test creates two maps, which explode in output size when subtracting, causing the test to take +11 seconds on a debug build. Removing the slow test until more simplifications in subtraction are added. Reviewed By: arjunp Differential Revision: https://reviews.llvm.org/D158406
-
Mikhail R. Gadelha authored
Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D158313
-
Harvin Iriawan authored
Refresh of the generic scheduling model to use A510 instead of A55. Main benefits are to the little core, and introducing SVE scheduling information. Changes tested on various OoO cores, no performance degradation is seen. Differential Revision: https://reviews.llvm.org/D156799
-
Martin Storsjö authored
This fixes a regression since 1c10d5b1 / https://reviews.llvm.org/D130903 by applying the same fix from SelectionDAG from 8cb36675 / https://reviews.llvm.org/D35720. This could possibly have been detected if the existing testcases in win64_vararg.ll had been tested with GlobalISel too, but all the IR snippets there fail to be translated with GlobalISel. This adds a separate testcase based on real world LLVM IR (instead of hand-reduced IR), which GlobalISel does translate happily - tested with both SelectionDAG and GlobalISel. Before this change, the stack object locations (visible in MIR with "llc -print-after-all") didn't match with what the prologue emitted by AArch64FrameLowering actually looked like, which caused clobbered callee saved registers when function local stack objects aliased the actual location of the callee saved registers. This fixes https://github.com/llvm/llvm-project/issues/64740. Differential Revision: https://reviews.llvm.org/D158272
-
wangpc authored
In D146245, we have supported lowering inline asm `m` with offset to `register+imm`, but we didn't handle the case that the offset is the low part of global address. This patch will emit `%lo(g)` when `g` is a global address. Fixes #64656 Reviewed By: asb Differential Revision: https://reviews.llvm.org/D157839
-
wangpc authored
We will need to check the output of medium code model. Reviewed By: wangpc Differential Revision: https://reviews.llvm.org/D157965
-
Timm Bäder authored
-
Diana Picus authored
This will represent functions with the amdgpu_cs_chain or amdgpu_cs_chain_preserve calling conventions. Differential Revision: https://reviews.llvm.org/D156410
-
Cullen Rhodes authored
Add support for following vector to tile (MOVA) intrinsics to ArmSME dialect: llvm.aarch64.sme.write.vert llvm.aarch64.sme.write.horiz Includes the definition of new type predicate 'ScalableVectorOfRankAndLengthAndType' in OpBase.td. Reviewed By: awarzynski, dcaballe Differential Revision: https://reviews.llvm.org/D157004
-
Simon Pilgrim authored
D152276 wasn't handling the case where the inserted element is implicitly truncated into the vector - resulting in a i1 element (implicitly truncated from i8) overwriting 8 bits instead of 1 bit. This patch is intended to be merged into 17.x so I've just disallowed any vector element vs inserted element type mismatch - technically we could be more elegant and permit truncated stores (as long as the store is still byte sized), but the use cases for that are so limited I'd prefer to play it safe for now. Candidate patch for #64655 17.x merge Differential Revision: https://reviews.llvm.org/D158366
-
Nikita Popov authored
In preparation for their removal in D158081.
-
Nikita Popov authored
This method is only used to determine whether a related expansion exists, the actual value is unused. Clarify that by renaming get -> has and returning bool.
-
Maksim Kita authored
Fold (-a >> b) and/or/xor (~a >> b) into (-a and/or/xor ~a) >> b. Depends on D157289. Differential Revision: https://reviews.llvm.org/D157290
-
Maksim Kita authored
Precommit tests for D157290. Differential Revision: https://reviews.llvm.org/D157289
-
Nikita Popov authored
The x86_64 SysV ABI specifies that __int128 is passed either in two registers (if available) or in a 16 byte aligned stack slot. GCC implements this behavior. However, if only one free register is available, LLVM will instead pass one half of the i128 in a register, and the other on the stack. Make sure that either both are passed in registers or both on the stack. Fixes https://github.com/llvm/llvm-project/issues/41784. The patch is basically what craig.topper proposed to do there. Differential Revision: https://reviews.llvm.org/D158169
-
Luke Lau authored
Previously `M-x mark-defun` and friends wouldn't work properly, and would highlight something at the top of the buffer. This adds a regexp for top-level functions so the defun functions should work as expected, and also adds a regexp for extracting their name so which-function-mode should work now too. Reviewed By: goldstein.w.n Differential Revision: https://reviews.llvm.org/D158196
-
Andrzej Warzynski authored
Restore the desired setting that was reverted in https://reviews.llvm.org/D158289. This is to be merged once Fortran tests in llvm-test-suite are updated accordingly: https://reviews.llvm.org/D158308. Differential Revision: https://reviews.llvm.org/D158307
-
LLVM GN Syncbot authored
-
Diana Picus authored
Lower formal arguments and returns for functions with the `amdgpu_cs_chain` and `amdgpu_cs_chain_preserve` calling conventions: * Put `inreg` arguments into SGPRs, starting at s0, and other arguments into VGPRs, starting at v8. No arguments should end up on the stack, if we don't have enough registers we should error out. * Lower the return (which is always void) as an S_ENDPGM. * Set the ScratchRSrc register to s48:51, as described in the docs. * Set the SP to s32, matching amdgpu_gfx. This might be revisited in a future patch. Differential Revision: https://reviews.llvm.org/D153517
-
Alexey Lapshin authored
This patch is extracted from D96035, it adds support for the existing DWARFLinker functionality. What is not supported yet: 1. Types deduplication(--odr mode). 2. Modules deduplication. 3. Generation of index tables. Reland2: temporarily disabled call to "--linker llvm" for tls-variable.test and location-expression.test as it does not work properly on bigendian architecture. Differential Revision: https://reviews.llvm.org/D153268
-
Podchishchaeva, Mariya authored
Prior to this change clang didn't emit missing-field-initializers warning for designated initializers. The comments say that it is done to match gcc behavior. However, gcc behaves so only for C. For C++ warnings are emitted. Fixes https://github.com/llvm/llvm-project/issues/56628 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D157879
-