[all-commits] [llvm/llvm-project] ef1330: [VPlan] Keep a recipe's metadata when converting i...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Sep 17 13:41:42 PDT 2026


  Branch: refs/heads/users/arsenm/codegen/revert-regpressure-lane-dead-defs
  Home:   https://github.com/llvm/llvm-project
  Commit: ef1330915be676b84e2afcb714b470f763ce97d8
      https://github.com/llvm/llvm-project/commit/ef1330915be676b84e2afcb714b470f763ce97d8
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/VPlan/vplan-printing-metadata.ll

  Log Message:
  -----------
  [VPlan] Keep a recipe's metadata when converting it to a single scalar. (#224359)

If metadata applies to each lane, it also trivially applies when
narrowing an operation to just a single lane. Preserve metadata when
narrowing to single-scalar.


  Commit: 9fc5ec3df34d3c6c600845aa246e7bf07764fc57
      https://github.com/llvm/llvm-project/commit/9fc5ec3df34d3c6c600845aa246e7bf07764fc57
  Author: Kamlesh Kumar <kamlesh.kumar at arm.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/avoid-ld4.ll
    M llvm/test/CodeGen/AArch64/vector-deinterleave-load.ll

  Log Message:
  -----------
  [AArch64] Support lowering of wider interleaved load (#222998)

After type legalization wider interleaved load gets spllitted into
legal chunked load, perform a dag combine to turn it into interleaved
load if chunked load is contiguous and operand to vector_deinterleave.


  Commit: 10a37743cd3b5a15f800e16d4f8cf34a9e9f1c46
      https://github.com/llvm/llvm-project/commit/10a37743cd3b5a15f800e16d4f8cf34a9e9f1c46
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/Assembler.cpp
    M llvm/tools/llvm-ir2vec/llvm-ir2vec.cpp
    M llvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
    M llvm/tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
    M llvm/tools/llvm-reduce/ReducerWorkItem.cpp

  Log Message:
  -----------
  tools: Compute the module DataLayout from the triple, not the TargetMachine (#224259)

TargetMachine::createDataLayout is an unreliable cache given the
existence of module flags which change the datalayout, so this should be removed.
Migrate tool users to directly compute the datalayout.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>


  Commit: ef762d75e62ce06378fdfaa8a61ea2af150e6428
      https://github.com/llvm/llvm-project/commit/ef762d75e62ce06378fdfaa8a61ea2af150e6428
  Author: Akhil Goel <akhil.goel at intel.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVInstrInfo.td

  Log Message:
  -----------
  [SPIR-V] Correct predicated load/store opcode values (#220062)

This PR fixes the `SPV_INTEL_predicated_io` extension instruction
opcodes to match the SPIR-V header definitions.


  Commit: aba79e62699d157a36bb95b3ac5eabb4f8b48e29
      https://github.com/llvm/llvm-project/commit/aba79e62699d157a36bb95b3ac5eabb4f8b48e29
  Author: Dominik Adamski <dominik.adamski at amd.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
    A flang/test/Lower/OpenMP/use-device-addr-performance.f90
    M offload/include/omptarget.h
    M offload/libomptarget/exports
    M offload/libomptarget/interface.cpp
    A offload/test/offloading/fortran/target-use-device-addr-opt.f90

  Log Message:
  -----------
  [Flang][OpenMP] Improve use_device_addr code generation (#221265)

Currently, the `use_device_addr` implementation reuses the standard
mapping mechanism, which is suboptimal for code like:

```
SUBROUTINE device_addr_func(x)
    INTEGER, TARGET, INTENT(IN)    :: x(:)
    !$omp target data use_device_addr (x)
        CALL bar_offload(c_loc(x))
```

For such code, Flang maps the temporary descriptor for the x array to
the GPU. This unnecessary mapping is time-consuming and can be a large
bottleneck for Fortran-to-C function wrappers that use `use_device_addr`
to pass a C pointer for offload code.

For `use_device_addr`, we only need to update the base address in the
descriptor that is used inside `use_device_addr`. This is cheaper than
mapping the whole descriptor to the GPU.

Scope of changes:

1) Modified mapping for the use_device_addr clause. Map only the
descriptor and do not check whether it is present on the GPU.
2) Generated a copy of the host descriptor with an updated base address
   for the use_device_addr code region.

---------

Signed-off-by: Dominik Adamski <dominik.adamski at amd.com>


  Commit: e5801a2762497161e23e978ee13fd0698ae25a2f
      https://github.com/llvm/llvm-project/commit/e5801a2762497161e23e978ee13fd0698ae25a2f
  Author: Akira Hatanaka <ahatanak at gmail.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M clang/include/clang/Basic/SourceLocation.h

  Log Message:
  -----------
  Revert "Mix bits in FileID::getHashValue() (#223794)" (#224394)

This reverts commit 9bc655d2852ec31199f2dba25d6f0749953fbe51.

It broke a couple of tests in clang/test/Analysis/html_diagnostics.


  Commit: 2e055b8de1a1b08d2a2523673e2dc3df143ccf2f
      https://github.com/llvm/llvm-project/commit/2e055b8de1a1b08d2a2523673e2dc3df143ccf2f
  Author: Weiwei C <weiwei.chen at modular.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
    M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h
    A llvm/test/CodeGen/Hexagon/hmx-attr-inline-compat.ll
    A llvm/test/CodeGen/Hexagon/hmx-attr-no-autohvx.ll

  Log Message:
  -----------
  [hexagon] Add `hexagon_hmx` function attribute. (#222340)

- [x] Add `hexagon_hmx` function attribute to be used to annotate hmx
functions.
- [x] Add logic to prevent hmx functions being inlined into hvx
functions to avoid unintended accidental vectorization.


  Commit: 24f753696202a3598d094da38809b1f5208d918f
      https://github.com/llvm/llvm-project/commit/24f753696202a3598d094da38809b1f5208d918f
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M .github/workflows/libcxx-benchmark-commit.yml
    M .github/workflows/libcxx-pr-benchmark.yml
    M libcxx/utils/ci/lnt/machines.json

  Log Message:
  -----------
  [libc++] Automatically detect the OS in benchmark jobs (#224386)

This simplifies the machines.json definition: we don't have to
explicitly say what OS we're running on, the job just figures it out.


  Commit: 98039dad349cd3f40b0d39bf436f2b0159ba021c
      https://github.com/llvm/llvm-project/commit/98039dad349cd3f40b0d39bf436f2b0159ba021c
  Author: Michael Jones <michaelrj at google.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M libcxx/cmake/config-ix.cmake

  Log Message:
  -----------
  [libcxx][libc] Update LLVM-libc link list (#224164)

LLVM-libc provides all the libc functions in `libc.a` and `libm.a`, so
this PR adds the configuration flags that prevent linking
`libpthread.a` and `librt.a` (inside `libc.a`) and `libatomic.a` (inside
compiler-rt).

Assisted-by: Automated tooling, human reviewed.


  Commit: 9b36b09a5b1097e0e0f75d37fe1b8474e916a802
      https://github.com/llvm/llvm-project/commit/9b36b09a5b1097e0e0f75d37fe1b8474e916a802
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    A llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-drop-schedule.ll
    A llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-trim-revert-cost.ll

  Log Message:
  -----------
  [SLP][NFC]Add extra tests with missing vectorization, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/224408


  Commit: e710c538b902a65c54f31dd7526eef85a61b0b82
      https://github.com/llvm/llvm-project/commit/e710c538b902a65c54f31dd7526eef85a61b0b82
  Author: DeanSturtevant1 <dsturtevant at google.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  Revert "[libc][bazel] Expose public inline memory headers and generic/builtin.h in string_memory_utils" (#224406)

Reverts llvm/llvm-project#223439

It was not needed, since the issue it was addressing was fixed by
https://github.com/llvm/llvm-project/commit/ecb96165dc0f95cb81267e1178f7e60a4ab7faa6.

And it was not the right fix.


  Commit: 09c4f1cff36f70684702934ac9700cc53b17d1da
      https://github.com/llvm/llvm-project/commit/09c4f1cff36f70684702934ac9700cc53b17d1da
  Author: neildhar <neildhar at users.noreply.github.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp
    M llvm/test/Transforms/InstCombine/NVPTX/nvvm-intrins.ll

  Log Message:
  -----------
  [NVPTX] Fold abs into redux intrinsics (#220733)

Fold llvm.fabs into the absolute-value variants of floating-point redux
min/max intrinsics during InstCombine.


  Commit: 08c03a56ce83363088332eb8e1d0cf61b368c877
      https://github.com/llvm/llvm-project/commit/08c03a56ce83363088332eb8e1d0cf61b368c877
  Author: neildhar <neildhar at users.noreply.github.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/test/CodeGen/NVPTX/fmax3.ll

  Log Message:
  -----------
  [NVPTX] Fuse abs into min/max (#220445)

PTX supports a fused abs + min/max, emit that so we don't need to rely
on ptxas to do the fusion.


  Commit: 2f3917f3be099ca83294ecc3f8c78460a7688808
      https://github.com/llvm/llvm-project/commit/2f3917f3be099ca83294ecc3f8c78460a7688808
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M libcxx/utils/ci/lnt/run-benchmarks
    M libcxx/utils/test-at-commit

  Log Message:
  -----------
  [libc++] Include some Lit features in LNT submissions (#218043)

The Lit test suite already sniffs out some properties of the library
configuration we are testing / benchmarking. This patch augments the
run-benchmarks script to pick up a few of these detected features so
they can be included in the Machine information contained in
submissions.

This is important to help pin down exactly what is being benchmarked.


  Commit: 16a9145bc71502f988674cddfbf61e6d4da79916
      https://github.com/llvm/llvm-project/commit/16a9145bc71502f988674cddfbf61e6d4da79916
  Author: Aman Maurya <amanmaurya9209 at gmail.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M clang/test/AST/ByteCode/records.cpp
    M clang/test/SemaCXX/aggregate-default-member-initializers.cpp

  Log Message:
  -----------
  [clang][test] Update ByteCode test expectations after #219288 (#224389)

### Summary
Fixes CI test failures introduced in #219288:
- In `clang/test/AST/ByteCode/records.cpp`, resolves the existing
`FIXME: See #85601` by updating `static_assert(discarded() == 1)` to
`static_assert(discarded() == 0)` now that temporary destruction timing
in aggregate default member initialization is fixed.
- In `clang/test/SemaCXX/aggregate-default-member-initializers.cpp`,
removes outdated `bytecode-error` and `bytecode-note` annotations in the
`lifetime` namespace that caused `-verify` failures ("diagnostics
expected but not seen") under `-fexperimental-new-constant-interpreter`.

Fixes build breakages on `main` affecting pre-merge CI across subsequent
PRs.

Cc: @yronglin


  Commit: 367adb1b93018af34e3053a7cfd790152bfb27b3
      https://github.com/llvm/llvm-project/commit/367adb1b93018af34e3053a7cfd790152bfb27b3
  Author: Michael Jones <michaelrj at google.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M libcxx/utils/libcxx/test/features/misc.py

  Log Message:
  -----------
  [libcxx] Update libatomic check (#224162)

This PR is a proper fix for the libatomic workaround. The old system
just checked if adding `-latomic` succeeded, and added it if it worked.
After this change it checks if an example program works without
`-latomic` as well as with `-latomic`. It adds the flag only if the test
passes with `-latomic` and not without.

In short: the new version only adds `-latomic` if it's necessary.

Assisted-by: Automated tooling, human reviews.


  Commit: 116bd78a78845c94279893a175e77c82a8a7a21a
      https://github.com/llvm/llvm-project/commit/116bd78a78845c94279893a175e77c82a8a7a21a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M .github/workflows/libcxx-benchmark-commit.yml
    M .github/workflows/libcxx-pr-benchmark.yml
    M clang/include/clang/Basic/SourceLocation.h
    M clang/test/AST/ByteCode/records.cpp
    M clang/test/SemaCXX/aggregate-default-member-initializers.cpp
    M flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
    A flang/test/Lower/OpenMP/use-device-addr-performance.f90
    M libcxx/cmake/config-ix.cmake
    M libcxx/utils/ci/lnt/machines.json
    M libcxx/utils/ci/lnt/run-benchmarks
    M libcxx/utils/libcxx/test/features/misc.py
    M libcxx/utils/test-at-commit
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
    M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp
    M llvm/lib/Target/SPIRV/SPIRVInstrInfo.td
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/CodeGen/AArch64/avoid-ld4.ll
    M llvm/test/CodeGen/AArch64/vector-deinterleave-load.ll
    A llvm/test/CodeGen/Hexagon/hmx-attr-inline-compat.ll
    A llvm/test/CodeGen/Hexagon/hmx-attr-no-autohvx.ll
    M llvm/test/CodeGen/NVPTX/fmax3.ll
    M llvm/test/Transforms/InstCombine/NVPTX/nvvm-intrins.ll
    M llvm/test/Transforms/LoopVectorize/VPlan/vplan-printing-metadata.ll
    A llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-drop-schedule.ll
    A llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-trim-revert-cost.ll
    M llvm/tools/llvm-exegesis/lib/Assembler.cpp
    M llvm/tools/llvm-ir2vec/llvm-ir2vec.cpp
    M llvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
    M llvm/tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
    M llvm/tools/llvm-reduce/ReducerWorkItem.cpp
    M offload/include/omptarget.h
    M offload/libomptarget/exports
    M offload/libomptarget/interface.cpp
    A offload/test/offloading/fortran/target-use-device-addr-opt.f90
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  Merge branch 'main' into users/arsenm/codegen/revert-regpressure-lane-dead-defs


Compare: https://github.com/llvm/llvm-project/compare/9873cc8c9640...116bd78a7884

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