- Aug 12, 2023
-
-
Kiran Chandramohan authored
HLFIR inserts hlfir.declare for threadprivate variables. Seek over the hlfir.declare to find the threadprivate global symbol. Reviewed By: tblah Differential Revision: https://reviews.llvm.org/D157730
-
Ellis Hoag authored
The `llvm-profdata show` command is not sufficient to check that two profiles are identical because it doesn't show the counter values. Add the flags `--all-functions --counts` so that counter values are checked. This was changed in https://reviews.llvm.org/D135929 but I failed to remember that counter values were not printed by default. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D157665
-
Paul Walker authored
Some prep work to make aggregate loads and stores TypeSize aware.
-
Piotr Zegar authored
Re-generate documentation for cplusplus.PlacementNew using gen-static-analyzer-docs.py
-
Piotr Zegar authored
Check name according to Checkers.td is actually a PlacementNew. Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D157702
-
Piotr Zegar authored
Fix crash when diagnostic is emit with invalid location, but with attached valid ranges. Diagnostic can contain invalid location, but SourceManager attached to it still can be valid, use it in such case or fallback to known SourceManager. Fixes: #64602 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D157649
-
Jeffrey Byrnes authored
We must also track the super sources of a copy, otherwise we introduce a sort of subtle bug. Consider: 1. DEF r0:r1 2. USE r1 3. r6:r9 = COPY r10:r13 4. r14:15 = COPY r0:r1 5. USE r6 6.. r1:4 = COPY r6:9 BackwardCopyPropagateBlock processes the instructions from bottom up. After processing 6., we will have propagatable copy for r1-r4 and r6-r9. After 5., we invalidate and erase the propagatble copy for r1-r4 and r6 but not for r7-r9. The issue is that when processing 3., data structures still say we have valid copies for dest regs r7-r9 (from 6.). The corresponding defs for these registers in 6. are r1:r4, which we mark as registers to invalidate. When invalidating, we find the copy that corresponds to r1 is 4. (this was added when processing 4.), and we say that r1 now maps to unpropagatable copies. Thus, when we process 2., we do not have a valid copy, but when we process 1. we do -- because the mapped copy for subregister r0 was never invalidated. The net result is to propagate the copy from 4. to 1., and replace DEF r0:r1 with DEF r14:r15. Then, we have a use before def in 2. The main issue is that we have an inconsitent state between which def regs and which src regs are valid. When processing 5., we mark all the defs in 6. as invalid, but only the subreg use as invalid. Either we must only invalidate the individual subreg for both uses and defs, or the super register for both. Differential Revision: https://reviews.llvm.org//D157564 Change-Id: I99d5e0b1a0d735e8ea3bd7d137b6464690aa9486
-
- Aug 11, 2023
-
-
Jeffrey Byrnes authored
Differential Revision: https://reviews.llvm.org/D157133 Change-Id: I9ba8727b4ac5a627de2f7d87d2169eb79e01f0ee
-
Ellis Hoag authored
Temporal profiles do not support profile merging at runtime. The reason is that each function can only store one timestamp and the `llmv-profdata` tool is responsible for sampling traces during the merge command. Report an error in `__llvm_profile_merge_from_buffer()` if merging a temporal profile. The added test also checks that lightweight profiles throw an error, although this may be fixed in https://reviews.llvm.org/D157632 Reviewed By: MaskRay, zequanwu Differential Revision: https://reviews.llvm.org/D157664
-
Sam Da Silva authored
Add two semantics tests for `unlock-stmt`, one with standard-conforming and one with non-standard conforming statements Reviewed By: ktras Differential Revision: https://reviews.llvm.org/D157409
-
LLVM GN Syncbot authored
-
Nikolas Klauser authored
We don't actually use these headers, so we might as well remove them. Reviewed By: ldionne, #libc Spies: arichardson, EricWF, sstefan1, jplehr, wangpc, mgrang, libcxx-commits, miyuki Differential Revision: https://reviews.llvm.org/D157558
-
Michael Platings authored
With ABI version 2 and big endian Arm, the full_size test matches the current behaviour. It's possible that this would also be the case for other big endian architectures but I don't have data on that. Differential Revision: https://reviews.llvm.org/D157699
-
Joe Nash authored
The 16-bit VAddr arguments to A16 image instructions are packed into legal VGPR_32 operands in AMDGPULegalizerInfo::legalizeImageIntrinsic on all subtargets. With True16, we also need to pack if the number of VAddr is one because VGPR_16 is not a legal argument to those Image instructions. No change to emitted code intended on subtargets pre-GFX11, and none on GFX11 until True16 is active. Reviewed By: foad Differential Revision: https://reviews.llvm.org/D157426
-
Nikita Popov authored
In preparation for adding additional checks here.
-
Nikita Popov authored
-
Matt Devereau authored
Some instructions such as multi-vector LD1 only accept a range of PN8-PN15 predicate-as-counter. This new constraint allows more refined parsing and better decision making when parsing these instructions from ASM, instead of defaulting to Upa which incorrectly uses the whole range of registers P0-P15 from the register class PPR. Differential Revision: https://reviews.llvm.org/D157517
-
Nikita Popov authored
To allow reusing it. Also switch it to store SCEVUnknown rather than SCEV, as only these can produce poison.
-
Matt Arsenault authored
Can't delete the constant folded instruction if scc is used. Fixes #63986 https://reviews.llvm.org/D157504
-
-
Matt Arsenault authored
Not sure if the only valid use is to have stackrestore directly consume stacksave outputs or not. Handled exactly like a regular stack pointer so all the edge cases theoretically should work. https://reviews.llvm.org/D156669
-
dingfei authored
Differential Revision: https://reviews.llvm.org/D157637
-
dingfei authored
Bound check on array of zero-sized element isn't meaningful. Fixes https://github.com/llvm/llvm-project/issues/64564 Reviewed By: jacquesguan Differential Revision: https://reviews.llvm.org/D157584
-
fridtjof authored
This enables easy consumption of arbitrary data added to this annotation in addition to the annotation category, which was already exposed. This is a re-application of the changes in 5aa06b18 which were reverted in 332a34c7. Differential Revision: https://reviews.llvm.org/D151373
-
Ahsan Saghir authored
This patch removes dependancies for clangd that were duplicated in 915659bf. The original patch was added to fix build failure with BUILD_SHARED_LIBS=ON. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D155540
-
Joe Nash authored
-
Paul Walker authored
Patch also includes a minor fix to AArch64::isLegalAddressingMode to ensure all scalable types have a suitable bailout.
-
pvanhout authored
Otherwise stale pointers pollute the cache and when a dead PHI's memory is reused for another PHI, we can get a false positive hit in the cache. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D157711
-
Dmitri Gribenko authored
-
Aaron Ballman authored
This updates the Open Projects, C status, and C DR status pages to use C23 instead of C2x. Note, I've renamed the GitHub issue label from `c2x` to `c23` as part of these change as well. I left the C23 page anchor named `c2x` in the C status page so that existing links to it are not broken.
-
Andrzej Warzynski authored
As per the suggestion in https://reviews.llvm.org/D156980, moving tests for `arith.constant dense<0>` to a dedicated file
-
Jay Foad authored
-
Jay Foad authored
-
Cullen Rhodes authored
The arm_sme.zero op currently only supports 8-bit element tiles. This extends the op and lowering from 'arith.constant dense<0>' -> 'arm_sme.zero' to support all tile types. The lowering from arm_sme.zero to intrinsics is not updated as part of this patch and will be done separately. Reviewed By: dcaballe Differential Revision: https://reviews.llvm.org/D156980
-
Aaron Ballman authored
The spelling was updated in 0ce056a8 but the documentation changes were missed.
-
Aaron Ballman authored
This renames C2x to C23 in diagnostic identifiers and messages. The changes were made mechanically.
-
Cullen Rhodes authored
Enables the lowering of other tile types and values to match the vector.store -> arm_sme.tile_store lowering. Reviewed By: awarzynski, dcaballe Differential Revision: https://reviews.llvm.org/D156976
-
Simon Pilgrim authored
Fixes another TRUNCATE -> PACKSS/PACKUS regression when #63710 finally gets fixed
-
Simon Pilgrim authored
-
Aaron Ballman authored
This amends 0ce056a8 and fixes an example that was not built locally for me.
-