[all-commits] [llvm/llvm-project] ba3730: [ObjectYAML][ELF] Report incorrect offset to gener...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Tue Dec 24 09:29:22 PST 2024
Branch: refs/heads/users/alexey-bataev/spr/riscvcodegenttiuse-processshufflemasks-for-cost-estimationsactual-per-register-shuffles
Home: https://github.com/llvm/llvm-project
Commit: ba373096e8ac83a7136fc44bc4e71a7bc53417a6
https://github.com/llvm/llvm-project/commit/ba373096e8ac83a7136fc44bc4e71a7bc53417a6
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2024-12-23 (Mon, 23 Dec 2024)
Changed paths:
M llvm/lib/ObjectYAML/ELFEmitter.cpp
M llvm/test/tools/yaml2obj/ELF/note-section.yaml
Log Message:
-----------
[ObjectYAML][ELF] Report incorrect offset to generate notes (#118741)
All notes in the note section must be correctly aligned, including the
first. The tool should refuse to generate notes if the section offset is
incorrect in this respect.
Commit: 1c25a3bfa57209e7a29eaae58ce5e0432aafe8c3
https://github.com/llvm/llvm-project/commit/1c25a3bfa57209e7a29eaae58ce5e0432aafe8c3
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M clang/test/CoverageMapping/single-byte-counters.cpp
A llvm/test/tools/llvm-cov/Inputs/branch-c-general-single.proftext
A llvm/test/tools/llvm-cov/Inputs/branch-c-general-single.yaml
M llvm/test/tools/llvm-cov/Inputs/branch-c-general.c
A llvm/test/tools/llvm-cov/Inputs/branch-logical-mixed-single.proftext
A llvm/test/tools/llvm-cov/Inputs/branch-logical-mixed-single.yaml
A llvm/test/tools/llvm-cov/Inputs/branch-logical-mixed.cpp
A llvm/test/tools/llvm-cov/Inputs/branch-macros-single.proftext
A llvm/test/tools/llvm-cov/Inputs/branch-macros-single.yaml
A llvm/test/tools/llvm-cov/Inputs/branch-macros.cpp
A llvm/test/tools/llvm-cov/Inputs/branch-showBranchPercentage.c
A llvm/test/tools/llvm-cov/Inputs/branch-templates-single.proftext
A llvm/test/tools/llvm-cov/Inputs/branch-templates-single.yaml
A llvm/test/tools/llvm-cov/Inputs/branch-templates.cpp
A llvm/test/tools/llvm-cov/Inputs/showLineExecutionCounts-single.proftext
A llvm/test/tools/llvm-cov/Inputs/showLineExecutionCounts-single.yaml
A llvm/test/tools/llvm-cov/Inputs/showLineExecutionCounts.cpp
A llvm/test/tools/llvm-cov/Inputs/yaml.makefile
M llvm/test/tools/llvm-cov/branch-c-general.test
R llvm/test/tools/llvm-cov/branch-logical-mixed.cpp
A llvm/test/tools/llvm-cov/branch-logical-mixed.test
R llvm/test/tools/llvm-cov/branch-macros.cpp
A llvm/test/tools/llvm-cov/branch-macros.test
M llvm/test/tools/llvm-cov/branch-noShowBranch.test
R llvm/test/tools/llvm-cov/branch-showBranchPercentage.c
A llvm/test/tools/llvm-cov/branch-showBranchPercentage.test
R llvm/test/tools/llvm-cov/branch-templates.cpp
A llvm/test/tools/llvm-cov/branch-templates.test
R llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp
A llvm/test/tools/llvm-cov/showLineExecutionCounts.test
R llvm/test/tools/llvm-cov/threads.c
A llvm/test/tools/llvm-cov/threads.test
Log Message:
-----------
Introduce SingleByteCoverage tests (w/yaml2obj) (#113114)
Restructure some tests to split into `%.test` and Inputs/%.c*`.
Add test actions with `yaml2obj` for single byte coverage. `FileCheck`
lines are:
- Relax to accept both counter values and single values `1`. A few line
counting are greater than `1` due to `llvm-profdata merge`. They will be
fixed by #110972.
- Suppress matching with `--check-prefixes=CHECK,BRCOV`, since the
current implementation of single byte doesn't emit any branch coverages.
They will be integrated to `CHECK` finally.
- Some tests are not unified but use dedicated `CHECK` lines for single
byte, since old format is different (esp. "partial fold"). They will be
unified when `Inputs` will be regenerated.
Introduce llvm/test/tools/llvm-cov/Inputs/yaml.makefile for convenience.
`%-single.yaml` and `%-single.proftext` are generated by it. It could be
used to regenerate other files.
https://discourse.llvm.org/t/rfc-integrating-singlebytecoverage-with-branch-coverage/82492
Commit: 378e1793379c9c63a4265ecf55c47308410ed25d
https://github.com/llvm/llvm-project/commit/378e1793379c9c63a4265ecf55c47308410ed25d
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2024-12-23 (Mon, 23 Dec 2024)
Changed paths:
M mlir/docs/DefiningDialects/Operations.md
M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/include/mlir/IR/Properties.td
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/test/lib/Dialect/Test/TestOpsSyntax.td
M mlir/test/mlir-tblgen/op-format-invalid.td
M mlir/test/mlir-tblgen/op-properties-predicates.td
M mlir/test/mlir-tblgen/op-properties.td
M mlir/tools/mlir-tblgen/OpFormatGen.cpp
Log Message:
-----------
[mlir][Properties] Shorten "Property" to "Prop" in most places (#120368)
Since the property system isn't currently in heavy use, it's probably
the right time to fix a choice I made when expanding ODS property
support.
Specifically, most of the property subclasses, like OptionalProperty or
IntProperty, wrote out the word "Property" in full. The corresponding
classes in the Attribute hierarchy uses the short-form "Attr" in those
cases, as in OptionalAttr or DefaultValuedAttr.
This commit changes all those uses of "Property" to "Prop" in order to
prevent excessively verbose tablegen files that needlessly repeat the
full name of a core concept that can be abbreviated.
So, this commit renames all the FooProperty classes to FooProp, and
keeps the existing names as alias with a Deprecated<> on them to warn
people.
In addition, this commit updates the documentation around properties to
mention the constraint support.
Commit: 5db5dd7689b39c1c50f229f22e9d23b5475d51e1
https://github.com/llvm/llvm-project/commit/5db5dd7689b39c1c50f229f22e9d23b5475d51e1
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2024-12-23 (Mon, 23 Dec 2024)
Changed paths:
M mlir/docs/DefiningDialects/Operations.md
Log Message:
-----------
[mlir][NFC] Document predicate field on properties (#120975)
Commit: ac586fd204e92b76b1ee255342ba26a45a29a1d9
https://github.com/llvm/llvm-project/commit/ac586fd204e92b76b1ee255342ba26a45a29a1d9
Author: Prabhuk <prabhukr at google.com>
Date: 2024-12-23 (Mon, 23 Dec 2024)
Changed paths:
M clang/lib/Basic/Targets/OSTargets.h
A clang/test/Driver/uefi-defines.c
M clang/test/Preprocessor/init.c
Log Message:
-----------
[clang] Introduce a new UEFI target predefine. (#111719)
Add a `__UEFI__` predefine for UEFI target.
Co-authored-by: RossComputerGuy
Commit: dbae7176a6ecf558dc5e92016cdda387c9d74d66
https://github.com/llvm/llvm-project/commit/dbae7176a6ecf558dc5e92016cdda387c9d74d66
Author: Vy Nguyen <vyng at google.com>
Date: 2024-12-23 (Mon, 23 Dec 2024)
Changed paths:
A llvm/docs/Telemetry.rst
M llvm/docs/UserGuides.rst
A llvm/docs/llvm_telemetry_design.png
A llvm/include/llvm/Telemetry/Telemetry.h
M llvm/lib/CMakeLists.txt
A llvm/lib/Telemetry/CMakeLists.txt
A llvm/lib/Telemetry/Telemetry.cpp
M llvm/unittests/CMakeLists.txt
A llvm/unittests/Telemetry/CMakeLists.txt
A llvm/unittests/Telemetry/TelemetryTest.cpp
Log Message:
-----------
Reapply "[llvm]Add a simple Telemetry framework" (#120769) (#121003)
This reverts commit 2ec6174bef4bc9ef3d5cedbffd7169017c9669c3.
New changes:
- Use explicit overloads of write(<int types>)
- Fix link error due to missing dependency (lib/Support)
- Updated tests and docs
Commit: 275a27703ec9100a4984d1d0a366d50d3dc887ea
https://github.com/llvm/llvm-project/commit/275a27703ec9100a4984d1d0a366d50d3dc887ea
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/test/tools/llvm-cov/Inputs/branch-logical-mixed.cpp
M llvm/test/tools/llvm-cov/branch-macros.test
M llvm/test/tools/llvm-cov/showLineExecutionCounts.test
Log Message:
-----------
[Coverage][Single] Round Counters to boolean after evaluation (#110972)
Rounding in merging segments has been done after #75425.
Depends on: #113114
Commit: 93d4b1f7a72f366c1ea91b2d65991266053be8d9
https://github.com/llvm/llvm-project/commit/93d4b1f7a72f366c1ea91b2d65991266053be8d9
Author: Lang Hames <lhames at gmail.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M llvm/tools/llvm-jitlink/llvm-jitlink-coff.cpp
M llvm/tools/llvm-jitlink/llvm-jitlink-elf.cpp
M llvm/tools/llvm-jitlink/llvm-jitlink-macho.cpp
M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
Log Message:
-----------
Reapply "[llvm-jitlink] Use concurrent linking by default." with fixes. (#120958)
Reapplies commit edca1d9bad2 which was reverted in 34531cff638 while I
investigated bot failures, (e.g.
https://lab.llvm.org/buildbot/#/builders/137/builds/10791).
Commit 158a60051d2 should address the -check failures on the bots, which
were caused by checks running earlier under the concurrent linking
scheme before all files referenced by the checks had been fully linked.
This patch also fixes the -threads option failure by renaming the option
to -num-threads to avoid clashing with the ThreadCount cl::opt variable
defined in ThinLTOCodeGenerator.cpp.
Commit: 9ab5474e560292d15cb53ed94d248d7e5f54787d
https://github.com/llvm/llvm-project/commit/9ab5474e560292d15cb53ed94d248d7e5f54787d
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-12-23 (Mon, 23 Dec 2024)
Changed paths:
M llvm/include/llvm/IR/VectorTypeUtils.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
Log Message:
-----------
[LV] Rename `ToVectorTy` to `toVectorTy` (NFC) (#120404)
This is for consistency with other helpers (and also follows the LLVM
naming conventions).
Commit: 9d0a5d4620a2aa5dc01b150e5ebe7613238cae1c
https://github.com/llvm/llvm-project/commit/9d0a5d4620a2aa5dc01b150e5ebe7613238cae1c
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-12-23 (Mon, 23 Dec 2024)
Changed paths:
M llvm/include/llvm/Telemetry/Telemetry.h
Log Message:
-----------
[Telemetry] Add missing virtual destructors (#121015)
Fixes warnings after #121003.
Commit: 030829a7e53fad0eab9b87b5dd49427e9fb13303
https://github.com/llvm/llvm-project/commit/030829a7e53fad0eab9b87b5dd49427e9fb13303
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-12-23 (Mon, 23 Dec 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/buildvector-schedule-for-subvector.ll
Log Message:
-----------
[SLP]Drop samesign flag if the vector node has reduced bitwidth
If the operands of the icmp instructions has reduced bitwidth after
MinBitwidth analysis, need to drop samesign flag to preserve correctness
of the transformation.
Fixes #120823
Commit: 0d6a584f69f07cfb900cdf6c83a10e872a5861f9
https://github.com/llvm/llvm-project/commit/0d6a584f69f07cfb900cdf6c83a10e872a5861f9
Author: Ryotaro Kasuga <kasuga.ryotaro at fujitsu.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePipeliner.h
M llvm/lib/CodeGen/MachinePipeliner.cpp
Log Message:
-----------
[MachinePipeliner] Add an abstract layer to manipulate Data Dependenc… (#109918)
…e Graph
In MachinePipeliner, a DAG class is used to represent the Data
Dependence Graph. Data Dependence Graph generally contains cycles, so
it's not appropriate to use DAG classes. In fact, some "hacks" are used
to express back-edges in the current implementation. This patch adds a
new class to provide a better interface for manipulating dependencies.
Our approach is as follows:
- To build the graph, we use the ScheduleDAGInstrs class as it is,
because it has powerful functions and the current implementation depends
heavily on it.
- After the graph construction is finished (i.e., during scheduling), we
use the new class DataDependenceGraph to manipulate the dependencies.
Since we don't change the dependencies during scheduling, the new class
only provides functions to read them. Also, this patch is just a
refactoring, i.e., scheduling results should not change with or without
this patch.
Commit: 7d166fa38470a23f3134a3793b9236b2a5c68fcf
https://github.com/llvm/llvm-project/commit/7d166fa38470a23f3134a3793b9236b2a5c68fcf
Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
Date: 2024-12-23 (Mon, 23 Dec 2024)
Changed paths:
M flang/runtime/CUDA/kernel.cpp
Log Message:
-----------
[flang][cuda] Correct the number of blocks when setting the grid to `*` (#121000)
We set the `gridX` argument of `_FortranACUFLaunchKernel` to `-1` when
`*` is passed to the grid parameter. We store it in one of `dim3`
members. However, `dim3` members are unsigned, so positive-value checks
we use later, such as `gridDim.x > 0`, are invalid. This PR utilizes the
original gird-size arguments to compute the number of blocks.
Commit: 2c95e60df53ba1a5765b3fad9e8ddaff70f21994
https://github.com/llvm/llvm-project/commit/2c95e60df53ba1a5765b3fad9e8ddaff70f21994
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M llvm/unittests/Telemetry/TelemetryTest.cpp
Log Message:
-----------
TelemetryTest.cpp: Suppress a warning in #121003 [-Wunused-private-field]
Commit: 7ec139ad4bc09857ab2b93926feef0d110071668
https://github.com/llvm/llvm-project/commit/7ec139ad4bc09857ab2b93926feef0d110071668
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M llvm/tools/llvm-jitlink/llvm-jitlink-coff.cpp
M llvm/tools/llvm-jitlink/llvm-jitlink-elf.cpp
M llvm/tools/llvm-jitlink/llvm-jitlink-macho.cpp
M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
Log Message:
-----------
Revert "Reapply "[llvm-jitlink] Use concurrent linking by default." with fixes. (#120958)"
Caused random failures.
This reverts commit 93d4b1f7a72f366c1ea91b2d65991266053be8d9.
(llvmorg-20-init-16299-g93d4b1f7a72f)
Commit: 4cb2a519db10f54815c8a4ccd5accbedc1cdfd07
https://github.com/llvm/llvm-project/commit/4cb2a519db10f54815c8a4ccd5accbedc1cdfd07
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-12-23 (Mon, 23 Dec 2024)
Changed paths:
M flang/include/flang/Runtime/CUDA/allocator.h
M flang/include/flang/Runtime/CUDA/common.h
M flang/include/flang/Runtime/allocatable.h
M flang/include/flang/Runtime/allocator-registry.h
M flang/include/flang/Runtime/descriptor.h
M flang/lib/Lower/Allocatable.cpp
M flang/lib/Optimizer/Builder/Runtime/Allocatable.cpp
M flang/runtime/CUDA/allocatable.cpp
M flang/runtime/CUDA/allocator.cpp
M flang/runtime/CUDA/descriptor.cpp
M flang/runtime/allocatable.cpp
M flang/runtime/array-constructor.cpp
M flang/runtime/descriptor.cpp
M flang/test/HLFIR/elemental-codegen.fir
M flang/test/Lower/OpenACC/acc-declare.f90
M flang/test/Lower/allocatable-polymorphic.f90
M flang/test/Lower/allocatable-runtime.f90
M flang/test/Lower/allocate-mold.f90
M flang/test/Lower/polymorphic.f90
M flang/unittests/Runtime/CUDA/Allocatable.cpp
M flang/unittests/Runtime/CUDA/AllocatorCUF.cpp
M flang/unittests/Runtime/CUDA/Memory.cpp
Log Message:
-----------
Revert "Reland '[flang] Allow to pass an async id to allocate the descriptor (#118713)' and #118733" (#121029)
This still cause issue for device runtime build.
Commit: df12983610dfb4f33ab4fa406a267f39d4c65248
https://github.com/llvm/llvm-project/commit/df12983610dfb4f33ab4fa406a267f39d4c65248
Author: vdonaldson <37090318+vdonaldson at users.noreply.github.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M flang/runtime/exceptions.cpp
Log Message:
-----------
[flang] build fix (#121032)
Place floating point environment calls under '#ifdef __USE_GNU'.
Commit: ccbbacf0fa98bd386c0a7b3bdfb85c43e7db1a93
https://github.com/llvm/llvm-project/commit/ccbbacf0fa98bd386c0a7b3bdfb85c43e7db1a93
Author: David Green <david.green at arm.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
M llvm/test/CodeGen/Thumb2/mve-gather-increment.ll
Log Message:
-----------
[ARM] Fix MVE incrementing gather offset calculation
The code was checking the gep ptr type as opposed to the gep source element
type in calculating the offset scale.
Fixes #120993
Commit: c84f5a9e00c02e6a4349846ed59ec85154b65e3f
https://github.com/llvm/llvm-project/commit/c84f5a9e00c02e6a4349846ed59ec85154b65e3f
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M llvm/utils/git/code-format-helper.py
Log Message:
-----------
[Github] Skip MIR files for undef check (#120919)
This patch skips checking files with a .mir extension for the presence
of undef. This was creating false positives that got reported on
discourse.
Commit: b2073fb9b9282c0f59861a137660f6a0782d7468
https://github.com/llvm/llvm-project/commit/b2073fb9b9282c0f59861a137660f6a0782d7468
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
M llvm/lib/Target/AArch64/SVEInstrFormats.td
M llvm/test/CodeGen/AArch64/zeroing-forms-abs-neg.ll
M llvm/test/CodeGen/AArch64/zeroing-forms-fcvt-bfcvt.ll
M llvm/test/CodeGen/AArch64/zeroing-forms-fcvtlt-fcvtx.ll
M llvm/test/CodeGen/AArch64/zeroing-forms-fcvtzsu.ll
Log Message:
-----------
[AArch64] Prefer SVE2.2 zeroing forms of certain instructions with an all-true predicate (#120595)
When the predicate of a destructive operation is known to be all-true,
for example
fabs z0.s, p0/m, z1.s
then the entire output register is written and we can use a zeroing
(instead of a merging) form of the instruction, for example
fabs z0.s, p0/z, z1.s
thus eliminate the dependency on the input-output destination register
without the need to insert a `movprfx`.
This patch complements (and in the case of
https://github.com/llvm/llvm-project/commit/2b3266c1701f315d7e89c81977800001563afacb,
fixes a regression) the following:
https://github.com/llvm/llvm-project/commit/7f4414b2a1a4d9f802a03f56894c406f0fe3e9a9
[AArch64] Generate zeroing forms of certain SVE2.2 instructions (4/11)
(https://github.com/llvm/llvm-project/pull/116830)
https://github.com/llvm/llvm-project/commit/2474cf7ad123ea14308293a2237e3552cddb1136
[AArch64] Generate zeroing forms of certain SVE2.2 instructions (3/11)
(https://github.com/llvm/llvm-project/pull/116829)
https://github.com/llvm/llvm-project/commit/6f285d31159501050de5563b1a844a3e1ac79a03
[AArch64] Generate zeroing forms of certain SVE2.2 instructions (2/11)
(https://github.com/llvm/llvm-project/pull/116828)
https://github.com/llvm/llvm-project/commit/2b3266c1701f315d7e89c81977800001563afacb
[AArch64] Generate zeroing forms of certain SVE2.2 instructions (1/11)
(https://github.com/llvm/llvm-project/pull/116259)
Commit: c858bf620c3ab2a4db53e84b9365b553c3ad1aa6
https://github.com/llvm/llvm-project/commit/c858bf620c3ab2a4db53e84b9365b553c3ad1aa6
Author: Sam Tebbs <samuel.tebbs at arm.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
M llvm/test/Transforms/LoopVectorize/AArch64/fully-unrolled-cost.ll
A llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product-epilogue.ll
A llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product-neon.ll
A llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product.ll
A llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-no-dotprod.ll
A llvm/test/Transforms/LoopVectorize/AArch64/vplan-printing.ll
Log Message:
-----------
Reland "[LoopVectorizer] Add support for partial reductions" (#120721)
This re-lands the reverted #92418
When the VF is small enough so that dividing the VF by the scaling
factor results in 1, the reduction phi execution thinks the VF is scalar
and sets the reduction's output as a scalar value, tripping assertions
expecting a vector value. The latest commit in this PR fixes that by
using `State.VF` in the scalar check, rather than the divided VF.
---------
Co-authored-by: Nicholas Guy <nicholas.guy at arm.com>
Commit: 10c18ab7e6c46d9daeb558d47be1f06c53c5ed0e
https://github.com/llvm/llvm-project/commit/10c18ab7e6c46d9daeb558d47be1f06c53c5ed0e
Author: Nico Weber <thakis at chromium.org>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
A llvm/utils/gn/secondary/llvm/lib/Telemetry/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
A llvm/utils/gn/secondary/llvm/unittests/Telemetry/BUILD.gn
Log Message:
-----------
[gn] port dbae7176a6ec (LLVMTelemetry)
Commit: 8e1cb96db84a70b2c803c28a359c8bb71395f35e
https://github.com/llvm/llvm-project/commit/8e1cb96db84a70b2c803c28a359c8bb71395f35e
Author: vabridgers <58314289+vabridgers at users.noreply.github.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
R clang-tools-extra/test/clang-tidy/checkers/bugprone/alpha-core-identicalexpr.cpp
A clang-tools-extra/test/clang-tidy/checkers/bugprone/branch-clone-2.cpp
A clang-tools-extra/test/clang-tidy/checkers/misc/redundant-expression-2.cpp
Log Message:
-----------
[analyzer] Split alpha core Identical Expression tests (#119543)
Split the remnant test from PR #114715, "Remove alpha.core.IdenticalExpr
Checker" into seperate tests for misc-redundant-expression and
bugprone-branch-clone per review comment requests.
---------
Co-authored-by: einvbri <vince.a.bridgers at ericsson.com>
Commit: 334a5766d7591bfaadf6990b3d8568c9688e22a5
https://github.com/llvm/llvm-project/commit/334a5766d7591bfaadf6990b3d8568c9688e22a5
Author: Richard Dzenis <richard at dzenis.dev>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M llvm/docs/CommandGuide/llvm-objcopy.rst
M llvm/docs/ReleaseNotes.md
M llvm/lib/ObjCopy/ConfigManager.cpp
M llvm/lib/ObjCopy/MachO/MachOObjcopy.cpp
M llvm/lib/ObjCopy/MachO/MachOObject.cpp
M llvm/lib/ObjCopy/MachO/MachOObject.h
A llvm/test/tools/llvm-objcopy/MachO/globalize-symbol.test
A llvm/test/tools/llvm-objcopy/MachO/keep-global-symbol.test
A llvm/test/tools/llvm-objcopy/MachO/localize-symbol.test
A llvm/test/tools/llvm-objcopy/MachO/skip-symbol.test
Log Message:
-----------
[llvm-objcopy] Add support of symbol modification flags for MachO (#120895)
This patch adds support of the following llvm-objcopy flags for MachO:
- `--globalize-symbol`, `--globalize-symbols`,
- `--keep-global-symbol`, `-G`, `--keep-global-symbols`,
- `--localize-symbol`, `-L`, `--localize-symbols`,
- `--skip-symbol`, `--skip-symbols`.
Code in `updateAndRemoveSymbols` for MachO
is kept similar to its version for ELF.
Fixes #120894
Commit: ffc7380ff4808fcc21350a39caf7f34073b41697
https://github.com/llvm/llvm-project/commit/ffc7380ff4808fcc21350a39caf7f34073b41697
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M libcxx/include/__fwd/memory.h
M libcxx/include/__ostream/basic_ostream.h
Log Message:
-----------
[libc++] Avoid including shared_ptr.h in basic_ostream.h (#121049)
Commit: 2ff614aaa6eb94bc5d02c8f0fb70a1132acb4423
https://github.com/llvm/llvm-project/commit/2ff614aaa6eb94bc5d02c8f0fb70a1132acb4423
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/index.rst
A clang-tools-extra/test/clang-tidy/infrastructure/Inputs/param/parameters.txt
A clang-tools-extra/test/clang-tidy/infrastructure/read-parameters-from-file-error.cpp
A clang-tools-extra/test/clang-tidy/infrastructure/read-parameters-from-file.cpp
Log Message:
-----------
[clang-tidy] support parameters file in command line (#120547)
Fixes: #103499
Commit: 6bafbc99b0df7d5554af63115d78d0d97065862a
https://github.com/llvm/llvm-project/commit/6bafbc99b0df7d5554af63115d78d0d97065862a
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/logical-ops-poisonous-repeated.ll
Log Message:
-----------
[SLP][NFC]Add a test with incorrect (more poisnous) reduction chain
Commit: f0f8dab712967b8fca5fcca4d7338b1d25017634
https://github.com/llvm/llvm-project/commit/f0f8dab712967b8fca5fcca4d7338b1d25017634
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/logical-ops-poisonous-repeated.ll
Log Message:
-----------
[SLP]Check if the first reduced value requires freeze/swap, if it may be too poisonous
If several reduced values are combined and the first reduced value is
just the original reduced value of the bool logical op, need to freeze
it to prevent the propagation of the poison value.
Fixes #114905
Commit: 8dbb33762cfb8d8606d28a71293f437ddffee4af
https://github.com/llvm/llvm-project/commit/8dbb33762cfb8d8606d28a71293f437ddffee4af
Author: Balazs Benics <benicsbalazs at gmail.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Core/CallEvent.cpp
Log Message:
-----------
[analyzer] Simplify CallEvent castArgToParamTypeIfNeeded (#120981)
I noticed recently that this code (that I wrote xD) uses the
`getRuntimeDefinition()` which isn't quite necessary for the simple task
this function was designed for.
Why would it be better not using this API here?
I'm experimenting with improving how virtual functions are inlined,
where depending on our ability of deducing the dynamic type of the
object we may end up with inaccurate type information. Such inaccuracy
would mean that we may have multiple runtime definitions. After that,
this code would become ambiguous.
To resolve this, I decided to refactor this and use a simpler - but
equivalent approach.
Commit: 0d6cb0ae9d4ff610f729d0fd1bbd27227e6628cf
https://github.com/llvm/llvm-project/commit/0d6cb0ae9d4ff610f729d0fd1bbd27227e6628cf
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP]Fix strict weak ordering criterion in comparators
Fixes #121019
Commit: 852feea820f3f8b2fc44c851cc3ce5fe9576fa64
https://github.com/llvm/llvm-project/commit/852feea820f3f8b2fc44c851cc3ce5fe9576fa64
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP]Propagate AssumptionCache where possible
Commit: 635c51d8b97afbda606075506a02e84037518a49
https://github.com/llvm/llvm-project/commit/635c51d8b97afbda606075506a02e84037518a49
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-12-24 (Tue, 24 Dec 2024)
Changed paths:
M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/index.rst
R clang-tools-extra/test/clang-tidy/checkers/bugprone/alpha-core-identicalexpr.cpp
A clang-tools-extra/test/clang-tidy/checkers/bugprone/branch-clone-2.cpp
A clang-tools-extra/test/clang-tidy/checkers/misc/redundant-expression-2.cpp
A clang-tools-extra/test/clang-tidy/infrastructure/Inputs/param/parameters.txt
A clang-tools-extra/test/clang-tidy/infrastructure/read-parameters-from-file-error.cpp
A clang-tools-extra/test/clang-tidy/infrastructure/read-parameters-from-file.cpp
M clang/lib/Basic/Targets/OSTargets.h
M clang/lib/StaticAnalyzer/Core/CallEvent.cpp
M clang/test/CoverageMapping/single-byte-counters.cpp
A clang/test/Driver/uefi-defines.c
M clang/test/Preprocessor/init.c
M flang/include/flang/Runtime/CUDA/allocator.h
M flang/include/flang/Runtime/CUDA/common.h
M flang/include/flang/Runtime/allocatable.h
M flang/include/flang/Runtime/allocator-registry.h
M flang/include/flang/Runtime/descriptor.h
M flang/lib/Lower/Allocatable.cpp
M flang/lib/Optimizer/Builder/Runtime/Allocatable.cpp
M flang/runtime/CUDA/allocatable.cpp
M flang/runtime/CUDA/allocator.cpp
M flang/runtime/CUDA/descriptor.cpp
M flang/runtime/CUDA/kernel.cpp
M flang/runtime/allocatable.cpp
M flang/runtime/array-constructor.cpp
M flang/runtime/descriptor.cpp
M flang/runtime/exceptions.cpp
M flang/test/HLFIR/elemental-codegen.fir
M flang/test/Lower/OpenACC/acc-declare.f90
M flang/test/Lower/allocatable-polymorphic.f90
M flang/test/Lower/allocatable-runtime.f90
M flang/test/Lower/allocate-mold.f90
M flang/test/Lower/polymorphic.f90
M flang/unittests/Runtime/CUDA/Allocatable.cpp
M flang/unittests/Runtime/CUDA/AllocatorCUF.cpp
M flang/unittests/Runtime/CUDA/Memory.cpp
M libcxx/include/__fwd/memory.h
M libcxx/include/__ostream/basic_ostream.h
M llvm/docs/CommandGuide/llvm-objcopy.rst
M llvm/docs/ReleaseNotes.md
A llvm/docs/Telemetry.rst
M llvm/docs/UserGuides.rst
A llvm/docs/llvm_telemetry_design.png
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/include/llvm/CodeGen/MachinePipeliner.h
M llvm/include/llvm/IR/VectorTypeUtils.h
A llvm/include/llvm/Telemetry/Telemetry.h
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/CMakeLists.txt
M llvm/lib/CodeGen/MachinePipeliner.cpp
M llvm/lib/ObjCopy/ConfigManager.cpp
M llvm/lib/ObjCopy/MachO/MachOObjcopy.cpp
M llvm/lib/ObjCopy/MachO/MachOObject.cpp
M llvm/lib/ObjCopy/MachO/MachOObject.h
M llvm/lib/ObjectYAML/ELFEmitter.cpp
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
M llvm/lib/Target/AArch64/SVEInstrFormats.td
M llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
A llvm/lib/Telemetry/CMakeLists.txt
A llvm/lib/Telemetry/Telemetry.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanValue.h
M llvm/test/CodeGen/AArch64/zeroing-forms-abs-neg.ll
M llvm/test/CodeGen/AArch64/zeroing-forms-fcvt-bfcvt.ll
M llvm/test/CodeGen/AArch64/zeroing-forms-fcvtlt-fcvtx.ll
M llvm/test/CodeGen/AArch64/zeroing-forms-fcvtzsu.ll
M llvm/test/CodeGen/Thumb2/mve-gather-increment.ll
M llvm/test/Transforms/LoopVectorize/AArch64/fully-unrolled-cost.ll
A llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product-epilogue.ll
A llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product-neon.ll
A llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product.ll
A llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-no-dotprod.ll
A llvm/test/Transforms/LoopVectorize/AArch64/vplan-printing.ll
M llvm/test/Transforms/SLPVectorizer/X86/buildvector-schedule-for-subvector.ll
A llvm/test/Transforms/SLPVectorizer/logical-ops-poisonous-repeated.ll
A llvm/test/tools/llvm-cov/Inputs/branch-c-general-single.proftext
A llvm/test/tools/llvm-cov/Inputs/branch-c-general-single.yaml
M llvm/test/tools/llvm-cov/Inputs/branch-c-general.c
A llvm/test/tools/llvm-cov/Inputs/branch-logical-mixed-single.proftext
A llvm/test/tools/llvm-cov/Inputs/branch-logical-mixed-single.yaml
A llvm/test/tools/llvm-cov/Inputs/branch-logical-mixed.cpp
A llvm/test/tools/llvm-cov/Inputs/branch-macros-single.proftext
A llvm/test/tools/llvm-cov/Inputs/branch-macros-single.yaml
A llvm/test/tools/llvm-cov/Inputs/branch-macros.cpp
A llvm/test/tools/llvm-cov/Inputs/branch-showBranchPercentage.c
A llvm/test/tools/llvm-cov/Inputs/branch-templates-single.proftext
A llvm/test/tools/llvm-cov/Inputs/branch-templates-single.yaml
A llvm/test/tools/llvm-cov/Inputs/branch-templates.cpp
A llvm/test/tools/llvm-cov/Inputs/showLineExecutionCounts-single.proftext
A llvm/test/tools/llvm-cov/Inputs/showLineExecutionCounts-single.yaml
A llvm/test/tools/llvm-cov/Inputs/showLineExecutionCounts.cpp
A llvm/test/tools/llvm-cov/Inputs/yaml.makefile
M llvm/test/tools/llvm-cov/branch-c-general.test
R llvm/test/tools/llvm-cov/branch-logical-mixed.cpp
A llvm/test/tools/llvm-cov/branch-logical-mixed.test
R llvm/test/tools/llvm-cov/branch-macros.cpp
A llvm/test/tools/llvm-cov/branch-macros.test
M llvm/test/tools/llvm-cov/branch-noShowBranch.test
R llvm/test/tools/llvm-cov/branch-showBranchPercentage.c
A llvm/test/tools/llvm-cov/branch-showBranchPercentage.test
R llvm/test/tools/llvm-cov/branch-templates.cpp
A llvm/test/tools/llvm-cov/branch-templates.test
R llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp
A llvm/test/tools/llvm-cov/showLineExecutionCounts.test
R llvm/test/tools/llvm-cov/threads.c
A llvm/test/tools/llvm-cov/threads.test
A llvm/test/tools/llvm-objcopy/MachO/globalize-symbol.test
A llvm/test/tools/llvm-objcopy/MachO/keep-global-symbol.test
A llvm/test/tools/llvm-objcopy/MachO/localize-symbol.test
A llvm/test/tools/llvm-objcopy/MachO/skip-symbol.test
M llvm/test/tools/yaml2obj/ELF/note-section.yaml
M llvm/unittests/CMakeLists.txt
A llvm/unittests/Telemetry/CMakeLists.txt
A llvm/unittests/Telemetry/TelemetryTest.cpp
M llvm/utils/git/code-format-helper.py
A llvm/utils/gn/secondary/llvm/lib/Telemetry/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
A llvm/utils/gn/secondary/llvm/unittests/Telemetry/BUILD.gn
M mlir/docs/DefiningDialects/Operations.md
M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/include/mlir/IR/Properties.td
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/test/lib/Dialect/Test/TestOpsSyntax.td
M mlir/test/mlir-tblgen/op-format-invalid.td
M mlir/test/mlir-tblgen/op-properties-predicates.td
M mlir/test/mlir-tblgen/op-properties.td
M mlir/tools/mlir-tblgen/OpFormatGen.cpp
Log Message:
-----------
Address comment
Created using spr 1.3.5
Compare: https://github.com/llvm/llvm-project/compare/ea7c7c98ea38...635c51d8b97a
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list