[all-commits] [llvm/llvm-project] 5c21b1: [clang-tidy] Support find for string-like classes ...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Sun Sep 21 14:49:51 PDT 2025


  Branch: refs/heads/users/arichardson/spr/constantfolding-avoid-use-of-isnonintegralpointertype
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c21b1b6dcc808795d1596ea2e29f94314488026
      https://github.com/llvm/llvm-project/commit/5c21b1b6dcc808795d1596ea2e29f94314488026
  Author: Nicolas van Kempen <nvankemp at gmail.com>
  Date:   2025-09-20 (Sat, 20 Sep 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/ContainerContainsCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/readability/container-contains.rst
    M clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/string
    M clang-tools-extra/test/clang-tidy/checkers/readability/container-contains.cpp

  Log Message:
  -----------
  [clang-tidy] Support find for string-like classes in readability-container-contains (#157243)

Fix #109327. Small parts taken from #110351.

Removed the type checking between `contains` and `count`/`find`
arguments for simplicity. Because of overloads, this type-checking is
tricky. The same strategy is used in `modernize-use-starts-ends-with`.

Co-authored-by: dl8sd11 <gcchen at google.com>


  Commit: 70529dfbfe0be9ddac2cecc8c1de5ce63d39a1c6
      https://github.com/llvm/llvm-project/commit/70529dfbfe0be9ddac2cecc8c1de5ce63d39a1c6
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-09-20 (Sat, 20 Sep 2025)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/reduction-inloop.ll

  Log Message:
  -----------
  [LV] Regenerate check lines without dce/instcombine.

Remove dce,instcombine from run lines from test to make it easier to
check the output generated by LV.


  Commit: c506c28ec0cd600ca2785b9d8f41d8e94921ce6b
      https://github.com/llvm/llvm-project/commit/c506c28ec0cd600ca2785b9d8f41d8e94921ce6b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-09-20 (Sat, 20 Sep 2025)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/AArch64/replicating-load-store-costs.ll

  Log Message:
  -----------
  [LV] Add additional tests for scalar load costs of addresses.


  Commit: 2ed7b9f29b1e0e0a14e3d427610ab43cb65e6f6d
      https://github.com/llvm/llvm-project/commit/2ed7b9f29b1e0e0a14e3d427610ab43cb65e6f6d
  Author: Baranov Victor <bar.victor.2002 at gmail.com>
  Date:   2025-09-20 (Sat, 20 Sep 2025)

  Changed paths:
    M .github/workflows/issue-write.yml
    A .github/workflows/pr-code-lint.yml
    A llvm/utils/git/code-lint-helper.py
    A llvm/utils/git/requirements_linting.txt
    A llvm/utils/git/requirements_linting.txt.in

  Log Message:
  -----------
  [GitHub][CI] Add clang-tidy premerge workflow (#154829)

**KEY POINTS**

- MVP workflow to automatically lint C++ files, located **only** in
`clang-tools-extra/clang-tidy`. It's chosen this way as
`clang-tools-extra/clang-tidy` is almost 100% `clang-tidy` complaint,
thus we would automatically enforce a [high quality standard for
clang-tidy source
code](https://discourse.llvm.org/t/rfc-create-hardened-clang-tidy-config-for-clang-tidy-directory/87247).
(https://github.com/llvm/llvm-project/pull/147793)
- Implementation is very similar to code-format job, but without the
ability to run `code-lint-helper.py` locally.

**FOUND ISSUES** + open questions

- Speed: it takes ~ 1m40sec to download and unpack `clang-tidy` plus
additional ~4 mins to configure and CodeGen targets. I see that
`premerge.yaml` runs on special `llvm-premerge-linux-runners` runners
which can use `sccache` for speed. Can we use the same runners for this
job? Exact timings can be found
[here](https://github.com/llvm/llvm-project/actions/runs/17135749067/job/48611150680?pr=154223).

**TO DO**
 
- Place common components from `code-lint-helper.py` and
`code-format-helper.py` into a separate file and reuse it in both CI's.
- Compute CodeGen targets based on `projects_to_build`, for now
`clang-tablegen-targets` is hardcoded for `clang-tools-extra/`.
- Automatically generate and upload `.yaml` for
`clang-apply-replacements`
- Create an RFC with a plan how to enable `clang-tidy` in other projects
so that Maintainers of LLVM components could choose if they want
`clang-tidy` or not.
- Add more linters like `pylint`, `ruff` in the future.


  Commit: 678dcf13d8fa9c1e5086864ff998e068cbb3160c
      https://github.com/llvm/llvm-project/commit/678dcf13d8fa9c1e5086864ff998e068cbb3160c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-09-20 (Sat, 20 Sep 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/MemoryLocation.h
    M llvm/include/llvm/CodeGenTypes/MachineValueType.h
    M llvm/include/llvm/IR/DerivedTypes.h
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/utils/TableGen/Common/DAGISelMatcher.h

  Log Message:
  -----------
  [IR] Fix a few implicit conversions from TypeSize to uint64_t. NFC (#159894)


  Commit: d263150db59281473a38abcc5fe2c15be2f776b7
      https://github.com/llvm/llvm-project/commit/d263150db59281473a38abcc5fe2c15be2f776b7
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/llvm/UseRangesCheck.cpp

  Log Message:
  -----------
  [clang-tidy][NFC] add comment in llvm-use-ranges for add_new_check.py (#159927)

`add_new_check.py` deps on heuristic method (find special words) to
detect whether check support auto fix.
This PR wants to add comment in `llvm-use-ranges` to make it work.


  Commit: a36a1ec0546c59917c7b40a8733b1d3f8b5df8f3
      https://github.com/llvm/llvm-project/commit/a36a1ec0546c59917c7b40a8733b1d3f8b5df8f3
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-09-20 (Sat, 20 Sep 2025)

  Changed paths:
    M llvm/include/llvm/ADT/Hashing.h

  Log Message:
  -----------
  [ADT] Simplify hash_combine (NFC) (#159938)

We just started using a C++17 fold expression inside combine
(#159901).  We still carry the style that was suitable for recursive
calls of combine_data.  Specifically, we keep passing several state
variables as parameters of combine_data.

Now that we no longer use recursion, this patch simplifies
hash_combine_recursive_helper by making buffer_ptr, buffer_end, and
length member variables while dropping the return value from
hash_combine.  This patch also names hash_combine_recursive_helper to
hash_combine_helper.

I will follow up to update comments that still mention "recursion".


  Commit: b5c658861426e01828b9f92ed767eaa1c83cb812
      https://github.com/llvm/llvm-project/commit/b5c658861426e01828b9f92ed767eaa1c83cb812
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-09-20 (Sat, 20 Sep 2025)

  Changed paths:
    M llvm/include/llvm/ADT/fallible_iterator.h

  Log Message:
  -----------
  [ADT] Simplify enable_if_struct_deref_supported (NFC) (#159939)

This patch simplifies enable_if_struct_deref_supported by using a
default template parameter as a temporary type alias.  This way, we do
not have to repeat decltype(...).


  Commit: 1cb8afb2587d2fddf8120f98b7646a681da18cff
      https://github.com/llvm/llvm-project/commit/1cb8afb2587d2fddf8120f98b7646a681da18cff
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-09-20 (Sat, 20 Sep 2025)

  Changed paths:
    M llvm/include/llvm/Testing/ADT/StringMapEntry.h

  Log Message:
  -----------
  [Testing] Use is_detected for StringMapEntry ostream check (NFC) (#159954)

This patch replaces a std::void_t-based detection of the streaming
(<<) operator with a llvm::is_detected-based detection.  This way, we
don't have to roll our own SFINAE logic and fallback mechanism.


  Commit: a997e91a2c315c0d6d2956a7a375eda1d3d08131
      https://github.com/llvm/llvm-project/commit/a997e91a2c315c0d6d2956a7a375eda1d3d08131
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-09-20 (Sat, 20 Sep 2025)

  Changed paths:
    M llvm/docs/DeveloperPolicy.rst

  Log Message:
  -----------
  [llvm] Proofread DeveloperPolicy.rst (#159955)


  Commit: e8e0108a873c1efd7f614251f22de67b16a05c8c
      https://github.com/llvm/llvm-project/commit/e8e0108a873c1efd7f614251f22de67b16a05c8c
  Author: yonghong-song <yhs at fb.com>
  Date:   2025-09-20 (Sat, 20 Sep 2025)

  Changed paths:
    M llvm/lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h

  Log Message:
  -----------
  [BPF] Avoid generating .comment section (#159958)

The kernel libbpf does not need .comment section. If not filtering out
in llvm, the section will be filtered out in libbpf. So let us filter it
out as early as possible which is in llvm.

The following is an example.

  $ cat t.c
  int test() { return 5; }

Without this change:

  $ llvm-readelf -S t.o
  [Nr] Name              Type            Address          Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            0000000000000000 000000 000000 00      0   0  0
  [ 1] .strtab           STRTAB          0000000000000000 000110 000047 00      0   0  1
  [ 2] .text             PROGBITS        0000000000000000 000040 000010 00  AX  0   0  8
  [ 3] .comment          PROGBITS        0000000000000000 000050 000072 01  MS  0   0  1
  [ 4] .note.GNU-stack   PROGBITS        0000000000000000 0000c2 000000 00      0   0  1
  [ 5] .llvm_addrsig     LLVM_ADDRSIG    0000000000000000 000110 000000 00   E  6   0  1
  [ 6] .symtab           SYMTAB          0000000000000000 0000c8 000048 18      1   2  8

With this change:

  $ llvm-readelf -S t.o
  [Nr] Name              Type            Address          Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            0000000000000000 000000 000000 00      0   0  0
  [ 1] .strtab           STRTAB          0000000000000000 000098 00003e 00      0   0  1
  [ 2] .text             PROGBITS        0000000000000000 000040 000010 00  AX  0   0  8
  [ 3] .note.GNU-stack   PROGBITS        0000000000000000 000050 000000 00      0   0  1
  [ 4] .llvm_addrsig     LLVM_ADDRSIG    0000000000000000 000098 000000 00   E  5   0  1
  [ 5] .symtab           SYMTAB          0000000000000000 000050 000048 18      1   2  8


  Commit: 7d748a9ceb3716a216a8b586b1d31e046bdee039
      https://github.com/llvm/llvm-project/commit/7d748a9ceb3716a216a8b586b1d31e046bdee039
  Author: Alan Zhao <ayzhao at google.com>
  Date:   2025-09-20 (Sat, 20 Sep 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp

  Log Message:
  -----------
  [InstCombine][nfc] Fix assert failure with function entry count equal to zero

We were hitting an assert discovered in https://github.com/llvm/llvm-project/pull/157768#issuecomment-3315359832


  Commit: 22e17a6383ebdc7f2b4563f2716ded478a2dc1f5
      https://github.com/llvm/llvm-project/commit/22e17a6383ebdc7f2b4563f2716ded478a2dc1f5
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-09-20 (Sat, 20 Sep 2025)

  Changed paths:
    M .github/workflows/pr-code-lint.yml

  Log Message:
  -----------
  [Github] Test pr-code-lint workflow on changes to workflow (#159968)

This patch ensures that the pr-code-lint workflow is run for testing
whenever the workflow file is changed. This will not catch actual
functionality issues on most changes but does ensure that the workflow
is not completely broken.


  Commit: 906f934b46f675d25ca0b076fc7b7b8066f85f31
      https://github.com/llvm/llvm-project/commit/906f934b46f675d25ca0b076fc7b7b8066f85f31
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-09-20 (Sat, 20 Sep 2025)

  Changed paths:
    M llvm/utils/profcheck-xfail.txt

  Log Message:
  -----------
  [ProfCheck] Add three new tests to XFail List (#159969)

We have not gotten to LoopVectorize or SROA yet. The phase ordering pass
issue is probably the result of another pass that we have not gotten to
yet.


  Commit: 54662112676976b57fdb67a806d4d471be0d4aa9
      https://github.com/llvm/llvm-project/commit/54662112676976b57fdb67a806d4d471be0d4aa9
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M llvm/include/llvm/ADT/Hashing.h

  Log Message:
  -----------
  Revert "[ADT] Use a C++17 fold expression in hash_combine (NFC) (#159901)"

This has a negative impact on compile times.

This reverts commit a36a1ec0546c59917c7b40a8733b1d3f8b5df8f3.
This reverts commit b3c7d25422355949227a12ded7515f5114db5bda.


  Commit: 7dd9b3d81450b29bf2cddb8270081f61080bddc0
      https://github.com/llvm/llvm-project/commit/7dd9b3d81450b29bf2cddb8270081f61080bddc0
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/replicating-load-store-costs.ll

  Log Message:
  -----------
  [LV] Also handle non-uniform scalarized loads when processing AddrDefs.

Loads of addresses are scalarized and have their costs computed w/o
scalarization overhead. Consistently apply this logic also to
non-uniform loads that are already scalarized, to ensure their costs are
consistent with other scalarized lodas that are used as addresses.


  Commit: 4cabd1efb9cb13aba5b25e0714b9d8a72378633f
      https://github.com/llvm/llvm-project/commit/4cabd1efb9cb13aba5b25e0714b9d8a72378633f
  Author: Aleksandr Platonov <platonov.aleksandr at huawei.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M clang-tools-extra/clangd/FeatureModule.cpp
    M clang-tools-extra/clangd/FeatureModule.h
    M clang-tools-extra/clangd/tool/ClangdMain.cpp
    M clang-tools-extra/clangd/unittests/CMakeLists.txt
    A clang-tools-extra/clangd/unittests/FeatureModulesRegistryTests.cpp

  Log Message:
  -----------
  Reland "[clangd] Add feature modules registry" (#154836)

Reland #153756

LLVM_INSTANTIATE_REGISTRY(..) and FeatureModuleRegistry::entries() were
in different translation units, that rises a warning when compiling with
clang and leads to compilation failure if -Werror flag is set.
Instead of iterating directly in the main function, a static method
FeatureModuleSet::fromRegistry() was added and it is called in the main
function.


  Commit: 26192f04cf873758532c39bfa936139a78311f52
      https://github.com/llvm/llvm-project/commit/26192f04cf873758532c39bfa936139a78311f52
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M llvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 4cabd1efb9cb


  Commit: a46edff2066af49c4d11687a3f9325c59c313544
      https://github.com/llvm/llvm-project/commit/a46edff2066af49c4d11687a3f9325c59c313544
  Author: Pragyansh Chaturvedi <76248539+r41k0u at users.noreply.github.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/knownbits-abs.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-abs.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.abs.ll

  Log Message:
  -----------
  [GlobalISel] Add G_ABS computeKnownBits (#154413)

The code is taken from `SelectionDAG::computeKnownBits`.
This ticks off ABS from #150515


  Commit: b716d353885c9a12bc14a3d42a5018a9833fb03c
      https://github.com/llvm/llvm-project/commit/b716d353885c9a12bc14a3d42a5018a9833fb03c
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

  Log Message:
  -----------
  [VPlanPatternMatch] Introduce m_ConstantInt (#159558)


  Commit: 90a6b0002d1ba7d6cbfe67942bf7499f1f011d65
      https://github.com/llvm/llvm-project/commit/90a6b0002d1ba7d6cbfe67942bf7499f1f011d65
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/test/SemaTemplate/destructor-template.cpp

  Log Message:
  -----------
  [Clang] Fix an error-recovery crash after d1a80dea (#159976)

d1a80dea tried to ensure a TypeSourceInfo for a destructor name.
However, we don't actually have one during error recovery, so we should
bail in that case.

No release note, since it's a regression and a backport could improve
the stability of clangd.

Fixes https://github.com/llvm/llvm-project/issues/159630


  Commit: addfdb5273170901ed4fec5dac421e0559466ffb
      https://github.com/llvm/llvm-project/commit/addfdb5273170901ed4fec5dac421e0559466ffb
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/RISCV/divrem.ll

  Log Message:
  -----------
  [LV] Skip select cost for invariant divisors in legacy cost model.

For UDiv/SDiv with invariant divisors, the created selects will be
hoisted out. Don't compute their cost for each iteration, to match the
more accurate VPlan-based cost modeling.

Fixes https://github.com/llvm/llvm-project/issues/159402.


  Commit: 69affe790e50eb3b8637b123f105000995bf39a8
      https://github.com/llvm/llvm-project/commit/69affe790e50eb3b8637b123f105000995bf39a8
  Author: Alexandre Ganea <alex_toresh at yahoo.fr>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/DependenceAnalysis.h
    M llvm/lib/Analysis/DependenceAnalysis.cpp

  Log Message:
  -----------
  [llvm][Analysis] Silence warning when building with MSVC

When building an assert-enabled target, silence the following:
```
C:\git\llvm-project\llvm\include\llvm/Analysis/DependenceAnalysis.h(290): warning C4018: '<=': signed/unsigned mismatch
```


  Commit: 105fc90b6b96e0edb7529062fcba513a3a347820
      https://github.com/llvm/llvm-project/commit/105fc90b6b96e0edb7529062fcba513a3a347820
  Author: Alexandre Ganea <alex_toresh at yahoo.fr>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M lld/MachO/Driver.cpp

  Log Message:
  -----------
  [LLD][MachO] Silence warning when building with MSVC

Silence the following warning with latest MSVC:
```
C:\git\llvm-project\lld\MachO\Driver.cpp(358): warning C4189: 't': local variable is initialized but not referenced
```


  Commit: 6f188056b3acf6a98d321f514e3d802e483a1990
      https://github.com/llvm/llvm-project/commit/6f188056b3acf6a98d321f514e3d802e483a1990
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M llvm/test/CodeGen/ARM/ha-alignstack-call.ll

  Log Message:
  -----------
  [ARM] ha-alignstack-call.ll - regenerate test checks (#159988)


  Commit: 398f6c271d4b408f7e783c29d5bfcd5413eae76d
      https://github.com/llvm/llvm-project/commit/398f6c271d4b408f7e783c29d5bfcd5413eae76d
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M clang/lib/AST/JSONNodeDumper.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/test/AST/ast-dump-decl.cpp
    M clang/test/AST/ast-dump-template-json-win32-mangler-crash.cpp
    A clang/test/AST/ast-dump-templates-pattern.cpp
    M clang/test/AST/ast-dump-templates.cpp
    M clang/test/AST/attr-lifetime-capture-by.cpp
    M clang/test/ASTSYCL/ast-dump-sycl-kernel-call-stmt.cpp
    M clang/test/ASTSYCL/ast-dump-sycl-kernel-entry-point.cpp
    M clang/test/ParserHLSL/hlsl_resource_class_attr.hlsl
    M clang/test/ParserHLSL/hlsl_resource_handle_attrs.hlsl
    M clang/test/SemaTemplate/deduction-guide.cpp

  Log Message:
  -----------
  [clang] ast-dump: use template pattern for `instantiated_from` (#159952)

This changes the instiantiated_from field to use
`getTemplateInstantiationPattern`, which makes this field work for all
template specialization kinds, not just member templates.

Also adds this field to variables, and adds equivalents for the JSON
dumper as well.


  Commit: 49605a472792745f30940bd7ebd87db111350f20
      https://github.com/llvm/llvm-project/commit/49605a472792745f30940bd7ebd87db111350f20
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/replicating-load-store-costs.ll

  Log Message:
  -----------
  [LV] Set correct costs for interleave group members.

This ensures each scalarized member has an accurate cost, matching the
cost it would have if it would not have been considered for an
interleave group.


  Commit: 8b52d62d426d31169cad2e78b2463a775a97a8b0
      https://github.com/llvm/llvm-project/commit/8b52d62d426d31169cad2e78b2463a775a97a8b0
  Author: Matthias Springer <me at m-sp.org>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Func/Transforms/FuncConversions.h
    M mlir/lib/Dialect/Func/Transforms/FuncConversions.cpp

  Log Message:
  -----------
  [mlir] Expose optional `PatternBenefit` to `func` populate functions (NFC) (#159986)

Pattern benefit allows users to give priority to a pattern.


  Commit: f65d5a7a56c31aaa982d3d4717481d739f2f9ecb
      https://github.com/llvm/llvm-project/commit/f65d5a7a56c31aaa982d3d4717481d739f2f9ecb
  Author: Abhishek Kaushik <abhishek.kaushik at intel.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/combine-storetomstore.ll

  Log Message:
  -----------
  [DAG] Skip `mstore` combine for `<1 x ty>` vectors (#159915)

Fixes #159912


  Commit: 290f5b5639717d12765401c2f51311d47c894990
      https://github.com/llvm/llvm-project/commit/290f5b5639717d12765401c2f51311d47c894990
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    M clang/test/SemaCXX/cxx20-using-enum.cpp

  Log Message:
  -----------
  [clang] fix using enum redecl in template regression (#159996)

This fixes a regression reported here:
https://github.com/llvm/llvm-project/pull/155313#issuecomment-3315883183

Since this regression was never released, there are no release notes.


  Commit: e764e190ee0197bc1e03e3f20dc20b6cca81b3dc
      https://github.com/llvm/llvm-project/commit/e764e190ee0197bc1e03e3f20dc20b6cca81b3dc
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M .github/workflows/pr-code-format.yml
    M .github/workflows/pr-code-lint.yml

  Log Message:
  -----------
  [Github] Remove separate tools checkout from pr-code workflows (#159967)

These separate checkouts I believe were originally carried over from
when we were using pull_request_target. We needed two checkouts to
ensure we were not executing user supplied code. We kept them to ensure
we were using the latest version of the tools, but this was born mostly
out of a misunderstanding of how Github Actions works. All PRs directly
against main are executed as if merged into main, so already are using
the latest version of the tools no matter the branch point. Stacked PRs
still need to be rebased for changes to propagate but these files have
been pretty stable for the past two years or so and I can't imagine any
changes needed to keep things running on release/stacked PR branches.


  Commit: 370e00774048aa6e30819886735754724ee816e0
      https://github.com/llvm/llvm-project/commit/370e00774048aa6e30819886735754724ee816e0
  Author: Florian Mayer <fmayer at google.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M llvm/test/Transforms/IndVarSimplify/X86/overflow-intrinsics.ll

  Log Message:
  -----------
  [NFC] [IndVarSimplify] Add non-overflowing usub test (#159683)

We would reenter the loop with %i.04 being 0, so the usub would
overflow to -1. This was the only test in this file that had
an overflow in the loop, the other ones did not.


  Commit: c12f08f645f31305f6a288befd7d379b963ab874
      https://github.com/llvm/llvm-project/commit/c12f08f645f31305f6a288befd7d379b963ab874
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Linux/coverage-missing.cpp
    M compiler-rt/test/asan/TestCases/Linux/local_alias.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr-violation.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr-vtable.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr_c_test.c
    M compiler-rt/test/asan/TestCases/Linux/preinit_test.cpp
    M compiler-rt/test/asan/TestCases/Posix/coverage-module-unloaded.cpp
    M compiler-rt/test/asan/TestCases/Posix/coverage-reset.cpp
    M compiler-rt/test/asan/TestCases/Posix/coverage.cpp
    M compiler-rt/test/asan/TestCases/Posix/interception-in-shared-lib-test.cpp
    M compiler-rt/test/asan/TestCases/suppressions-library.cpp
    M compiler-rt/test/cfi/cross-dso-diagnostic.cpp
    M compiler-rt/test/cfi/cross-dso/icall/diag.cpp
    M compiler-rt/test/cfi/cross-dso/icall/icall-from-dso.cpp
    M compiler-rt/test/cfi/cross-dso/icall/icall.cpp
    M compiler-rt/test/cfi/cross-dso/simple-fail.cpp
    M compiler-rt/test/cfi/cross-dso/simple-pass.cpp
    M compiler-rt/test/cfi/target_uninstrumented.cpp
    M compiler-rt/test/fuzzer/coverage.test
    M compiler-rt/test/fuzzer/dso.test
    M compiler-rt/test/fuzzer/full-coverage.test
    M compiler-rt/test/lit.common.cfg.py
    M compiler-rt/test/tsan/on_initialize_finalize_hooks.cpp
    M compiler-rt/test/ubsan/TestCases/Misc/no-interception.cpp
    M compiler-rt/test/ubsan/TestCases/TypeCheck/Function/function.cpp
    M compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp

  Log Message:
  -----------
  Reapply "[compiler-rt] Remove %T from shared object substitutions (#155302)"

This reverts commit 05e31438ac9491cfc72c48664480796de874c860.

There was quite a bit of churn with this patch, everytime related to the executable
no longer being in the same directory as the shared objects. This reland ensures
that all of the executables in the tests touched are in the same directory as the
shared objects in the substitutions.


  Commit: e8665872bf76ed8147a4fae1cf9acb8bb5e148b1
      https://github.com/llvm/llvm-project/commit/e8665872bf76ed8147a4fae1cf9acb8bb5e148b1
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M .github/workflows/issue-write.yml
    M .github/workflows/pr-code-format.yml
    A .github/workflows/pr-code-lint.yml
    M clang-tools-extra/clang-tidy/llvm/UseRangesCheck.cpp
    M clang-tools-extra/clang-tidy/readability/ContainerContainsCheck.cpp
    M clang-tools-extra/clangd/FeatureModule.cpp
    M clang-tools-extra/clangd/FeatureModule.h
    M clang-tools-extra/clangd/tool/ClangdMain.cpp
    M clang-tools-extra/clangd/unittests/CMakeLists.txt
    A clang-tools-extra/clangd/unittests/FeatureModulesRegistryTests.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/readability/container-contains.rst
    M clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/string
    M clang-tools-extra/test/clang-tidy/checkers/readability/container-contains.cpp
    M clang/lib/AST/JSONNodeDumper.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/test/AST/ast-dump-decl.cpp
    M clang/test/AST/ast-dump-template-json-win32-mangler-crash.cpp
    A clang/test/AST/ast-dump-templates-pattern.cpp
    M clang/test/AST/ast-dump-templates.cpp
    M clang/test/AST/attr-lifetime-capture-by.cpp
    M clang/test/ASTSYCL/ast-dump-sycl-kernel-call-stmt.cpp
    M clang/test/ASTSYCL/ast-dump-sycl-kernel-entry-point.cpp
    M clang/test/ParserHLSL/hlsl_resource_class_attr.hlsl
    M clang/test/ParserHLSL/hlsl_resource_handle_attrs.hlsl
    M clang/test/SemaCXX/cxx20-using-enum.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp
    M clang/test/SemaTemplate/destructor-template.cpp
    M compiler-rt/test/asan/TestCases/Linux/coverage-missing.cpp
    M compiler-rt/test/asan/TestCases/Linux/local_alias.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr-violation.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr-vtable.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr_c_test.c
    M compiler-rt/test/asan/TestCases/Linux/preinit_test.cpp
    M compiler-rt/test/asan/TestCases/Posix/coverage-module-unloaded.cpp
    M compiler-rt/test/asan/TestCases/Posix/coverage-reset.cpp
    M compiler-rt/test/asan/TestCases/Posix/coverage.cpp
    M compiler-rt/test/asan/TestCases/Posix/interception-in-shared-lib-test.cpp
    M compiler-rt/test/asan/TestCases/suppressions-library.cpp
    M compiler-rt/test/cfi/cross-dso-diagnostic.cpp
    M compiler-rt/test/cfi/cross-dso/icall/diag.cpp
    M compiler-rt/test/cfi/cross-dso/icall/icall-from-dso.cpp
    M compiler-rt/test/cfi/cross-dso/icall/icall.cpp
    M compiler-rt/test/cfi/cross-dso/simple-fail.cpp
    M compiler-rt/test/cfi/cross-dso/simple-pass.cpp
    M compiler-rt/test/cfi/target_uninstrumented.cpp
    M compiler-rt/test/fuzzer/coverage.test
    M compiler-rt/test/fuzzer/dso.test
    M compiler-rt/test/fuzzer/full-coverage.test
    M compiler-rt/test/lit.common.cfg.py
    M compiler-rt/test/tsan/on_initialize_finalize_hooks.cpp
    M compiler-rt/test/ubsan/TestCases/Misc/no-interception.cpp
    M compiler-rt/test/ubsan/TestCases/TypeCheck/Function/function.cpp
    M compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp
    M lld/MachO/Driver.cpp
    M llvm/docs/DeveloperPolicy.rst
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/ADT/Hashing.h
    M llvm/include/llvm/ADT/fallible_iterator.h
    M llvm/include/llvm/Analysis/DependenceAnalysis.h
    M llvm/include/llvm/Analysis/MemoryLocation.h
    M llvm/include/llvm/CodeGenTypes/MachineValueType.h
    M llvm/include/llvm/IR/DataLayout.h
    M llvm/include/llvm/IR/DerivedTypes.h
    M llvm/include/llvm/Testing/ADT/StringMapEntry.h
    M llvm/lib/Analysis/DependenceAnalysis.cpp
    M llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/IR/DataLayout.cpp
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/knownbits-abs.mir
    M llvm/test/CodeGen/AArch64/combine-storetomstore.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-abs.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.abs.ll
    M llvm/test/CodeGen/ARM/ha-alignstack-call.ll
    M llvm/test/Transforms/IndVarSimplify/X86/overflow-intrinsics.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/inttoptr-gep-index-width.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/replicating-load-store-costs.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/divrem.ll
    M llvm/test/Transforms/LoopVectorize/reduction-inloop.ll
    M llvm/test/Transforms/SimplifyCFG/nonintegral.ll
    M llvm/unittests/IR/DataLayoutTest.cpp
    M llvm/utils/TableGen/Common/DAGISelMatcher.h
    A llvm/utils/git/code-lint-helper.py
    A llvm/utils/git/requirements_linting.txt
    A llvm/utils/git/requirements_linting.txt.in
    M llvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn
    M llvm/utils/profcheck-xfail.txt
    M mlir/include/mlir/Dialect/Func/Transforms/FuncConversions.h
    M mlir/lib/Dialect/Func/Transforms/FuncConversions.cpp

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.8-beta.1

[skip ci]


  Commit: 7005664f9a2b5a7793bf9d7907677296cb475473
      https://github.com/llvm/llvm-project/commit/7005664f9a2b5a7793bf9d7907677296cb475473
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M .github/workflows/issue-write.yml
    M .github/workflows/pr-code-format.yml
    A .github/workflows/pr-code-lint.yml
    M clang-tools-extra/clang-tidy/llvm/UseRangesCheck.cpp
    M clang-tools-extra/clang-tidy/readability/ContainerContainsCheck.cpp
    M clang-tools-extra/clangd/FeatureModule.cpp
    M clang-tools-extra/clangd/FeatureModule.h
    M clang-tools-extra/clangd/tool/ClangdMain.cpp
    M clang-tools-extra/clangd/unittests/CMakeLists.txt
    A clang-tools-extra/clangd/unittests/FeatureModulesRegistryTests.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/readability/container-contains.rst
    M clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/string
    M clang-tools-extra/test/clang-tidy/checkers/readability/container-contains.cpp
    M clang/lib/AST/JSONNodeDumper.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/test/AST/ast-dump-decl.cpp
    M clang/test/AST/ast-dump-template-json-win32-mangler-crash.cpp
    A clang/test/AST/ast-dump-templates-pattern.cpp
    M clang/test/AST/ast-dump-templates.cpp
    M clang/test/AST/attr-lifetime-capture-by.cpp
    M clang/test/ASTSYCL/ast-dump-sycl-kernel-call-stmt.cpp
    M clang/test/ASTSYCL/ast-dump-sycl-kernel-entry-point.cpp
    M clang/test/ParserHLSL/hlsl_resource_class_attr.hlsl
    M clang/test/ParserHLSL/hlsl_resource_handle_attrs.hlsl
    M clang/test/SemaCXX/cxx20-using-enum.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp
    M clang/test/SemaTemplate/destructor-template.cpp
    M compiler-rt/test/asan/TestCases/Linux/coverage-missing.cpp
    M compiler-rt/test/asan/TestCases/Linux/local_alias.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr-violation.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr-vtable.cpp
    M compiler-rt/test/asan/TestCases/Linux/odr_c_test.c
    M compiler-rt/test/asan/TestCases/Linux/preinit_test.cpp
    M compiler-rt/test/asan/TestCases/Posix/coverage-module-unloaded.cpp
    M compiler-rt/test/asan/TestCases/Posix/coverage-reset.cpp
    M compiler-rt/test/asan/TestCases/Posix/coverage.cpp
    M compiler-rt/test/asan/TestCases/Posix/interception-in-shared-lib-test.cpp
    M compiler-rt/test/asan/TestCases/suppressions-library.cpp
    M compiler-rt/test/cfi/cross-dso-diagnostic.cpp
    M compiler-rt/test/cfi/cross-dso/icall/diag.cpp
    M compiler-rt/test/cfi/cross-dso/icall/icall-from-dso.cpp
    M compiler-rt/test/cfi/cross-dso/icall/icall.cpp
    M compiler-rt/test/cfi/cross-dso/simple-fail.cpp
    M compiler-rt/test/cfi/cross-dso/simple-pass.cpp
    M compiler-rt/test/cfi/target_uninstrumented.cpp
    M compiler-rt/test/fuzzer/coverage.test
    M compiler-rt/test/fuzzer/dso.test
    M compiler-rt/test/fuzzer/full-coverage.test
    M compiler-rt/test/lit.common.cfg.py
    M compiler-rt/test/tsan/on_initialize_finalize_hooks.cpp
    M compiler-rt/test/ubsan/TestCases/Misc/no-interception.cpp
    M compiler-rt/test/ubsan/TestCases/TypeCheck/Function/function.cpp
    M compiler-rt/test/ubsan/TestCases/TypeCheck/vptr-non-unique-typeinfo.cpp
    M lld/MachO/Driver.cpp
    M llvm/docs/DeveloperPolicy.rst
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/ADT/Hashing.h
    M llvm/include/llvm/ADT/fallible_iterator.h
    M llvm/include/llvm/Analysis/DependenceAnalysis.h
    M llvm/include/llvm/Analysis/MemoryLocation.h
    M llvm/include/llvm/CodeGenTypes/MachineValueType.h
    M llvm/include/llvm/IR/DataLayout.h
    M llvm/include/llvm/IR/DerivedTypes.h
    M llvm/include/llvm/Testing/ADT/StringMapEntry.h
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/Analysis/DependenceAnalysis.cpp
    M llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/IR/Constants.cpp
    M llvm/lib/IR/DataLayout.cpp
    M llvm/lib/IR/Instructions.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/knownbits-abs.mir
    M llvm/test/CodeGen/AArch64/combine-storetomstore.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-abs.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.abs.ll
    M llvm/test/CodeGen/ARM/ha-alignstack-call.ll
    M llvm/test/Transforms/IndVarSimplify/X86/overflow-intrinsics.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/replicating-load-store-costs.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/divrem.ll
    M llvm/test/Transforms/LoopVectorize/reduction-inloop.ll
    M llvm/test/Transforms/SimplifyCFG/nonintegral.ll
    M llvm/unittests/IR/DataLayoutTest.cpp
    M llvm/utils/TableGen/Common/DAGISelMatcher.h
    A llvm/utils/git/code-lint-helper.py
    A llvm/utils/git/requirements_linting.txt
    A llvm/utils/git/requirements_linting.txt.in
    M llvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn
    M llvm/utils/profcheck-xfail.txt
    M mlir/include/mlir/Dialect/Func/Transforms/FuncConversions.h
    M mlir/lib/Dialect/Func/Transforms/FuncConversions.cpp

  Log Message:
  -----------
  fix unused variable

Created using spr 1.3.8-beta.1


Compare: https://github.com/llvm/llvm-project/compare/cccf6db60b4b...7005664f9a2b

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