[all-commits] [llvm/llvm-project] 30b021: [llvm-size] Add --exclude-pagezero option for Mach...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Sep 29 20:29:55 PDT 2025


  Branch: refs/heads/users/MaskRay/spr/elf-rename-relocationscpp-functions-and-rewrite-the-file-level-comment-nfc
  Home:   https://github.com/llvm/llvm-project
  Commit: 30b0215519428ef264d010c60e36dbfea2ab107c
      https://github.com/llvm/llvm-project/commit/30b0215519428ef264d010c60e36dbfea2ab107c
  Author: Ryan Mansfield <ryan_mansfield at apple.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-size.rst
    A llvm/test/tools/llvm-size/macho-pagezero.test
    M llvm/tools/llvm-size/Opts.td
    M llvm/tools/llvm-size/llvm-size.cpp

  Log Message:
  -----------
  [llvm-size] Add --exclude-pagezero option for Mach-O to exclude __PAGEZERO size. (#159574)

Do not include the ``__PAGEZERO`` segment when calculating size information
for Mach-O files when `--exclude-pagezero` is used. The ``__PAGEZERO``
segment is a virtual memory region used for memory protection that does not
contribute to actual size, and excluding can provide a better representation of
actual size.

Fixes #86644


  Commit: 2dd743187655261815a95477d3956051e7cf5b04
      https://github.com/llvm/llvm-project/commit/2dd743187655261815a95477d3956051e7cf5b04
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/lib/Frontend/ModuleDependencyCollector.cpp
    M llvm/include/llvm/Support/FileCollector.h

  Log Message:
  -----------
  [clang] Use the VFS in `ModuleDependencyCollector` (#160944)

This PR starts using the correct VFS in `ModuleDependencyCollector`
instead of using the real FS directly. This matches compiler's behavior
for other input files.


  Commit: 3e54505b439923a34fe5cbf27743d883fb62ad9f
      https://github.com/llvm/llvm-project/commit/3e54505b439923a34fe5cbf27743d883fb62ad9f
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/include/llvm/ADT/EquivalenceClasses.h
    M llvm/unittests/ADT/EquivalenceClassesTest.cpp

  Log Message:
  -----------
  [ADT] Fix a bug in EquivalenceClasses::erase (#161121)

This patch fixes a bug in EquivalenceClasses::erase, where we lose a
leader bit in a certain scenario.

Here is some background.  In EquivalenceClasses, each equivalence
class is maintained as a singly linked list over its members.  When we
join two classes, we concatenate the two singly linked lists.  To
support path compression, each member points to the leader (through
lazy updates).  This is implemented with the two members:

  class ECValue {
    mutable const ECValue *Leader, *Next;
    :
  };

Each member stores its leader in Leader and its sibling in Next.  Now,
the leader uses the Leader field to to point the last element of the
singly linked list to accommodate the list concatenation.  We use the
LSB of the Next field to indicate whether a given member is a leader
or not.

Now, imagine we have an equivalence class:

  Elem 1 -> Elem 2 -> nullptr
  Leader

and wish to remove Elem 2.  We would like to end up with:

  Elem 1 -> nullptr
  Leader

but we mistakenly drop the leader bit when we update the Next field of
Elem 1 with:

  Pre->Next = nullptr;

This makes Elem 1 the end of the singly linked list, as intended, but
mistakenly clears its leader bit stored in the LSB of Next, so we end
up with an equivalence class with no leader.

This patch fixes the problem by preserving the leader bit:

  Pre->Next = reinterpret_cast<const ECValue *>(
      static_cast<intptr_t>(Pre->isLeader()));

The unit test closely follows the scenario above.


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

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/dereferenceable-info-from-assumption-constant-size.ll

  Log Message:
  -----------
  [LV] Add test for more precise no-free checks.


  Commit: 44f392e999dcf6718d7dceaa7ccb39306b1c1feb
      https://github.com/llvm/llvm-project/commit/44f392e999dcf6718d7dceaa7ccb39306b1c1feb
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    R offload/DeviceRTL/CMakeLists.txt
    M openmp/device/CMakeLists.txt

  Log Message:
  -----------
  [OpenMP] Fix 'libc' configuration when building OpenMP

Summary:
Forgot to port this option's old handling from offload. It's not way
easier since they're built in the same CMake project. Also delete the
leftover directory that's not used anymore, don't know how that was
still there.


  Commit: 47b8bc46989b99dc3f68ee5e3ab1d9887bbbd076
      https://github.com/llvm/llvm-project/commit/47b8bc46989b99dc3f68ee5e3ab1d9887bbbd076
  Author: Chaitanya Koparkar <ckoparkar at gmail.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/lib/Headers/avxintrin.h
    M clang/test/CodeGen/X86/avx-builtins.c

  Log Message:
  -----------
  [Headers][X86] Allow AVX1 fixed extraction intrinsics to be used in constexpr (#161218)

Fixes #161204.


  Commit: 0fc972d242f732766b2dc0590d9f241f47427578
      https://github.com/llvm/llvm-project/commit/0fc972d242f732766b2dc0590d9f241f47427578
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/lib/Support/VirtualFileSystem.cpp
    M llvm/unittests/Support/VirtualFileSystemTest.cpp

  Log Message:
  -----------
  [llvm] Use the underlying VFS when constructing `RedirectingFileSystem` (#160942)

When the root node of the `RedirectingFileSystem` is to be resolved to
the current working directory, we previously consulted the real FS
instead of the provided underlying VFS. This PR fixes that issue.


  Commit: e5d925faa931174b8e415448cc80e8b4b3e55621
      https://github.com/llvm/llvm-project/commit/e5d925faa931174b8e415448cc80e8b4b3e55621
  Author: SunilKuravinakop <98882378+SunilKuravinakop at users.noreply.github.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/for_reduction_codegen.cpp

  Log Message:
  -----------
  [clang][OpenMP] Support for reduction clause with array elements as modifier (#160846)

Changes to support for array elements in reduction clause e.g.
"reduction (+:a[1])"

---------

Co-authored-by: Sunil Kuravinakop <kuravina at pe31.hpc.amslabs.hpecorp.net>


  Commit: 0251fd9a72c550bcab4906d9223c96aeb593ce57
      https://github.com/llvm/llvm-project/commit/0251fd9a72c550bcab4906d9223c96aeb593ce57
  Author: jiang1997 <jieke at live.cn>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp

  Log Message:
  -----------
   [clang][x86][bytecode] Refactor BMI intrinsic wrappers to use interp__builtin_elementwise_int_binop (#160362)

Fixes #160281


  Commit: 782ab835dcc8f6b55c6053cc38dd299830e4ffed
      https://github.com/llvm/llvm-project/commit/782ab835dcc8f6b55c6053cc38dd299830e4ffed
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/test/CIR/CodeGen/lang-c-cpp.cpp
    A clang/test/CIR/CodeGen/module-filename.cpp
    M clang/test/CIR/CodeGen/opt-info-attr.cpp

  Log Message:
  -----------
  [CIR] Set the module name to the input filename (#160934)

This sets the MLIR module name to the main filename (according to the
SourceManager), if one is available. The module name gets used when
creating global init functions, so we will need it to be set.


  Commit: 38953f4d66a43a6a09b3c782e9efd12d2ca4d0d2
      https://github.com/llvm/llvm-project/commit/38953f4d66a43a6a09b3c782e9efd12d2ca4d0d2
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/include/clang/CIR/MissingFeatures.h
    M clang/lib/CIR/CodeGen/CIRGenExprCXX.cpp
    M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.h
    A clang/test/CIR/CodeGen/delete.cpp

  Log Message:
  -----------
  [CIR] Add initial support for operator delete (#160574)

This adds basic operator delete handling in CIR. This does not yet
handle destroying delete or array delete, which will be added later. It
also does not insert non-null checks when not optimizing for size.


  Commit: 87bd7825902ec378d4f6372c2463e51f5df69fc3
      https://github.com/llvm/llvm-project/commit/87bd7825902ec378d4f6372c2463e51f5df69fc3
  Author: Marcos Maronas <marcos.maronas at intel.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/include/llvm/TextAPI/SymbolSet.h
    M llvm/lib/CAS/InMemoryCAS.cpp

  Log Message:
  -----------
  [LLVM][NFC] Fix Rule of Three/Five issues. (#160851)

Fix Rule of Three/Five issues reported by static analysis tool.


  Commit: 301259a6b1c8146a185e7c1bea46ec02d028243e
      https://github.com/llvm/llvm-project/commit/301259a6b1c8146a185e7c1bea46ec02d028243e
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/CodeGen/RISCV/and-negpow2-cmp.ll

  Log Message:
  -----------
  [RISCV] Teach getIntImmCostInst about (X & -(1 << C1) & 0xffffffff) == C2 << C1 (#160163)

We can rewrite this to (srai(w)/srli X, C1) == C2 so the AND immediate
is free. This transform is done by performSETCCCombine in
RISCVISelLowering.cpp.

This fixes the opaque constant case mentioned in #157416.


  Commit: 0457644dfb0465cde08d25f4bd704b4b8e7a355c
      https://github.com/llvm/llvm-project/commit/0457644dfb0465cde08d25f4bd704b4b8e7a355c
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    A llvm/test/Transforms/SLPVectorizer/X86/xor-combined-opcode.ll

  Log Message:
  -----------
  [SLP][NFC]Add a test with the incorrect combination of Xor/Mul vector instructions, NFC


  Commit: f7352505ca32d05d3e219bc86e7241bbb8687f21
      https://github.com/llvm/llvm-project/commit/f7352505ca32d05d3e219bc86e7241bbb8687f21
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/test/lit.cfg.py
    M llvm/utils/profcheck-xfail.txt

  Log Message:
  -----------
  [profcheck] Exclude LoopVectorize, temporarily (#161243)

LV is under active development, new tests are added. Bulk-excluding it
from `profcheck`​, for the moment.



Issue #161235 (see also its parent)


  Commit: 8d48d69911c1c9a212a0f129a15fc92e803b135e
      https://github.com/llvm/llvm-project/commit/8d48d69911c1c9a212a0f129a15fc92e803b135e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vector-shuffle-combining-sse41.ll

  Log Message:
  -----------
  [X86] canCreateUndefOrPoisonForTargetNode/isGuaranteedNotToBeUndefOrPoisonForTargetNode - add X86ISD::INSERTPS handling (#161234)

X86ISD::INSERTPS shuffles can't create undef/poison itself, allowing us to fold freeze(insertps(x,y,i)) -> insertps(freeze(x),freeze(y),i)


  Commit: 68c3b5363d64b15962be18ebb3a59e7713437922
      https://github.com/llvm/llvm-project/commit/68c3b5363d64b15962be18ebb3a59e7713437922
  Author: Joseph Bak <36170953+josephbak at users.noreply.github.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M mlir/docs/Tutorials/Toy/Ch-6.md

  Log Message:
  -----------
  [mlir][doc] Fix typo in Ch6 tutorial: 'toy.cpp' → 'toyc.cpp' (NFC) (#161245)

This patch fixes a documentation typo in the MLIR Toy tutorial (Ch6).
The tutorial currently refers to `examples/toy/Ch6/toy.cpp`, but the
correct
file name is `examples/toy/Ch6/toyc.cpp`.


  Commit: 7b96dfbb7d8cdadc2caf04fecc1060b9eeb1f4e3
      https://github.com/llvm/llvm-project/commit/7b96dfbb7d8cdadc2caf04fecc1060b9eeb1f4e3
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/lib/Support/Mustache.cpp
    M llvm/unittests/Support/MustacheTest.cpp

  Log Message:
  -----------
  [llvm][mustache] Align standalone partial indentation with spec (#159185)

The current implementaion did not correctly handle indentation for
standalone partial tags. It was only applied to lines following a
newline, instead of the first line of a partial's content. This was
fixed by updating the AddIndentation implementaion to prepend the
indentation to the first line of the partial.


  Commit: 1f82553e385f449efee92da3dca43facb4a1ee66
      https://github.com/llvm/llvm-project/commit/1f82553e385f449efee92da3dca43facb4a1ee66
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/xor-combined-opcode.ll

  Log Message:
  -----------
  [SLP]Fix mixing xor instructions in the same opcode analysis

Xor with 0 operand should not be compatible with multiplications-based
instructions, only with or/xor/add/sub.

Fixes #161140


  Commit: df77a86f9b491afd9816277bcff60c1c9014631d
      https://github.com/llvm/llvm-project/commit/df77a86f9b491afd9816277bcff60c1c9014631d
  Author: Sam Elliott <aelliott at qti.qualcomm.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.h

  Log Message:
  -----------
  [RISCV][NFC] Rename getOppositeBranchCondition (#160972)


  Commit: 8dde784135afcbbf4aaca64db163f3e726cff339
      https://github.com/llvm/llvm-project/commit/8dde784135afcbbf4aaca64db163f3e726cff339
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/test/Transforms/LoopVectorize/dereferenceable-info-from-assumption-constant-size.ll

  Log Message:
  -----------
  [LV] Add test for more precise no-free checks w/o nosync attribute.

Also filter out uninteresting parts from check lines.


  Commit: 2522a953546dbbf1cc4ad45c3e5218b8c08c0620
      https://github.com/llvm/llvm-project/commit/2522a953546dbbf1cc4ad45c3e5218b8c08c0620
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/unittests/Support/MustacheTest.cpp

  Log Message:
  -----------
  [llvm][mustache] Precommit test for Set Delimiter (#159186)

Adds a new unit test for the Mustache Set Delimiter feature.

This test is written with inverted logic (`EXPECT_NE`) so that it
passes with the current implementation, which does not support
the feature. Once the feature is implemented, this test will fail,
signaling that the test logic should be flipped to `EXPECT_EQ`.


  Commit: 0f70b440160fb92be3536d26d6d97f4c61de23bd
      https://github.com/llvm/llvm-project/commit/0f70b440160fb92be3536d26d6d97f4c61de23bd
  Author: Jorge Gorbe Moya <jgorbe at google.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/test/tools/llvm-dwarfdump/verify_stmt_seq.yaml

  Log Message:
  -----------
  [DWARFVerifier] Fix test verify_stmt_seq.yaml to write output files to temp directory. (#161247)


  Commit: 5da28bd331b243b62f30a211927b4e33b8dd943b
      https://github.com/llvm/llvm-project/commit/5da28bd331b243b62f30a211927b4e33b8dd943b
  Author: Victor Chernyakin <chernyakin.victor.j at outlook.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/android/ComparisonInTempFailureRetryCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/AssertSideEffectCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/ExceptionEscapeCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/ExceptionEscapeCheck.h
    M clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp
    M clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h
    M clang-tools-extra/clang-tidy/modernize/UseNullptrCheck.cpp
    M clang-tools-extra/clang-tidy/openmp/ExceptionEscapeCheck.cpp
    M clang-tools-extra/clang-tidy/openmp/ExceptionEscapeCheck.h

  Log Message:
  -----------
  [clang-tidy][NFC] Make a few `std::string`s into `StringRef`s (#160961)

Following up 12cb540. Also, that commit left behind a few cases where a
temporary `StringRef` was being constructed from those variables just to
use its `.split()` function, so this PR cleans those up too.


  Commit: 7de73c4e9d5ee1ec00bb57427ac04746ce858c3c
      https://github.com/llvm/llvm-project/commit/7de73c4e9d5ee1ec00bb57427ac04746ce858c3c
  Author: Abhinav Gaba <abhinav.gaba at intel.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M offload/libomptarget/omptarget.cpp

  Log Message:
  -----------
  [OpenMP][Offload] Support `PRIVATE | ATTACH` maps for corresponding-pointer-initialization. (#160760)

`PRIVATE | ATTACH` maps can be used to represent firstprivate pointers
that should be initialized by doing doing the pointee's device address,
if its lookup succeeds, or retain the original host pointee's address
otherwise.

With this, for a test like the following:

  ```f90
  integer, pointer :: p(:)
  !$omp target map(p(1))
  ... print*, p(1)
  !$omp end target
  ```

The codegen can look like:
  ```llvm
   ; maps for p:
   ; &p(1),       &p(1), sizeof(p(1)),       TO|FROM              //(1)
   ; &ref_ptr(p), &p(1), sizeof(ref_ptr(p)), ATTACH               //(2)
   ; &ref_ptr(p), &p(1), sizeof(ref_ptr(p)), PRIVATE|ATTACH|PARAM //(3)
   call... @__omp_outlined...(ptr %ref_ptr_of_p)
  ```

* `(1)` maps the pointee `p(1)`.
* `(2)` attaches it to the (previously) mapped `ref_ptr(p)`, if present.
  It can be controlled via OpenMP 6.1's `attach(auto/always/never)`
  map-type modifiers.
* `(3)` privatizes and initializes the local `ref_ptr(p)`, which gets
passed
  in as the kernel argument `%ref_ptr_of_p`. Can be skipped if p is not
  referenced directly within the region.

While similar mapping can be used for C/C++, it's more important/useful
for Fortran as we can avoid creating another argument for passing the
descriptor, and use that to initialize the private copy in the body of
the kernel.


  Commit: 74aa2b7ad59466a12c5e3e4d0bfd5b1dcec8232b
      https://github.com/llvm/llvm-project/commit/74aa2b7ad59466a12c5e3e4d0bfd5b1dcec8232b
  Author: Amr Hesham <amr96 at programmer.net>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
    M clang/test/CIR/CodeGen/complex.cpp

  Log Message:
  -----------
  [CIR] Implement UO real on result from imag with type promotion (#160996)

Implement UO real on the result from imag with type promotion

Issue: https://github.com/llvm/llvm-project/issues/141365


  Commit: 62e7e8d66d1aa54d231b3005fb0d842ede2cce7b
      https://github.com/llvm/llvm-project/commit/62e7e8d66d1aa54d231b3005fb0d842ede2cce7b
  Author: Amr Hesham <amr96 at programmer.net>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
    M clang/test/CIR/CodeGen/vector-ext.cpp
    M clang/test/CIR/CodeGen/vector.cpp

  Log Message:
  -----------
  [CIR] Upstream UnaryExtension for Scalar Expr (#160997)

Upstream UnaryExtension for Scalar Expr


  Commit: b54250940c2cd70f911386b02239b50c165e5354
      https://github.com/llvm/llvm-project/commit/b54250940c2cd70f911386b02239b50c165e5354
  Author: Akira Hatanaka <ahatanak at gmail.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M compiler-rt/test/builtins/Unit/fixunstfdi_test.c
    M compiler-rt/test/builtins/Unit/multc3_test.c

  Log Message:
  -----------
  [compiler-rt] Fix declarations of builtins in test files (#161222)

Replace `long double` and `long double _Complex` with `fp_t` and
`Qcomplex` in the test files.

This prepares for reapplying 656707086e5f6fccd2eb57f5aaf987c328c0f4f1
and running tests on targets where `fp_t` is not `long double`.


  Commit: 7e4678270fa90aacacb21efb93775754bfd04bf1
      https://github.com/llvm/llvm-project/commit/7e4678270fa90aacacb21efb93775754bfd04bf1
  Author: Corentin Jabot <corentinjabot at gmail.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/CodeGenCXX/gh56652.cpp
    M clang/test/SemaCXX/decltype.cpp

  Log Message:
  -----------
  [Clang] Instantiate variables referenced in `decltype` with an undeduced type. (#161231)

Fixes #160497
Fixes #56652
Fixes #116319
Fixes #161196


  Commit: 786358a3d70561f2b2cf7d7ec239c1058818236b
      https://github.com/llvm/llvm-project/commit/786358a3d70561f2b2cf7d7ec239c1058818236b
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M offload/tools/deviceinfo/llvm-offload-device-info.cpp

  Log Message:
  -----------
  [Offload] Fix incorrect size used in llvm-offload-device-info tool

Summary:
This was not using the size previously queried and would fail when the
implementation actually verified it.


  Commit: 38a4c9c639f6067c3aa4c88a7578d55efd236819
      https://github.com/llvm/llvm-project/commit/38a4c9c639f6067c3aa4c88a7578d55efd236819
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M libc/src/string/memory_utils/op_generic.h
    M libc/test/UnitTest/FEnvSafeTest.cpp

  Log Message:
  -----------
  [libc][msvc] fix mathlib build on WoA (#161258)

Fix build errors encountered when building math library on WoA.

1. Skip FEnv equality check for MSVC
2. Provide a placeholder type for vector types.


  Commit: 2936a2c882d76c719f9a96e443ad3f75b366bc8f
      https://github.com/llvm/llvm-project/commit/2936a2c882d76c719f9a96e443ad3f75b366bc8f
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    A llvm/include/llvm/CAS/FileOffset.h
    A llvm/include/llvm/CAS/OnDiskTrieRawHashMap.h
    M llvm/lib/CAS/CMakeLists.txt
    A llvm/lib/CAS/DatabaseFile.cpp
    A llvm/lib/CAS/DatabaseFile.h
    A llvm/lib/CAS/OnDiskTrieRawHashMap.cpp
    M llvm/unittests/CAS/CMakeLists.txt
    A llvm/unittests/CAS/OnDiskTrieRawHashMapTest.cpp

  Log Message:
  -----------
  [CAS] Add OnDiskTrieRawHashMap (#114100)

Add OnDiskTrieRawHashMap. This is a on-disk persistent hash map that
uses a Trie data structure that is similar to TrieRawHashMap.
OnDiskTrieRawHashMap is thread safe and process safe. It is mostly lock
free, except it internally coordinates cross process creation and
closing using file lock.


  Commit: eef7a7663d2701c4fb073f749a6b9b7da1adc9b8
      https://github.com/llvm/llvm-project/commit/eef7a7663d2701c4fb073f749a6b9b7da1adc9b8
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    A lldb/test/Shell/SymbolFile/DWARF/incomplete-member-beyond-parent-bounds.yaml
    A lldb/test/Shell/SymbolFile/DWARF/member-beyond-parent-bounds.yaml
    A lldb/test/Shell/SymbolFile/DWARF/member-on-parent-bounds.yaml
    M lldb/test/Shell/SymbolFile/DWARF/union-types-no-member-location.yaml
    A lldb/test/Shell/SymbolFile/DWARF/zero-sized-member-in-parent-bounds.yaml

  Log Message:
  -----------
  [lldb][DWARFASTParserClang] Simplify obsolete error condition for malformed array member type offsets (#160132)

First time check was introduced in
`fa3ab4599d717feedbb83e08e7f654913942520b` to work around a debug-info
generation bug in Clang. This bug was fixed in Clang-4. The check has
since been adjusted (first in
`808ff186f6a6ba1fd38cc7e00697cd82f4afe540`, and then most recently in
`370db9c62910195e664e82dde6f0adb3e255a4fd`).

This check is getting quite convoluted, and all it does is turn an
`array[1]` into an `array[0]` type when it is deemed correct. At this
point the workaround probably never fires, apart from actually valid
codegen. This patch removes the special conditions and emits the error
specifically in those cases where we know the DWARF is malformed.

Added some shell tests for the error case.


  Commit: b629981a6daf397375ff1fcadad286883dcaf0ea
      https://github.com/llvm/llvm-project/commit/b629981a6daf397375ff1fcadad286883dcaf0ea
  Author: Morris Hafner <mmha at users.noreply.github.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenClass.cpp
    M clang/test/CIR/CodeGen/vbase.cpp

  Log Message:
  -----------
  [CIR] Add virtual base support to getAddressOfBaseClass (#159162)

This patch enables calling virtual functions of virtual base classes of
a derived class.


  Commit: 0fcce4fb7b85ed42feb2f2291405fe4a2292b2b4
      https://github.com/llvm/llvm-project/commit/0fcce4fb7b85ed42feb2f2291405fe4a2292b2b4
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M offload/test/mapping/lambda_by_value.cpp
    M offload/test/mapping/map_back_race.cpp
    M offload/test/mapping/map_both_pointer_pointee.c
    M offload/test/mapping/map_ptr_and_star_local.c
    M offload/test/mapping/map_structptr_and_member_global.c
    M offload/test/mapping/map_structptr_and_member_local.c
    M offload/test/offloading/CUDA/basic_launch_multi_arg.cu
    M offload/test/offloading/bug51781.c
    M offload/test/offloading/fortran/declare-target-automap.f90
    M offload/test/offloading/interop.c
    M offload/test/offloading/single_threaded_for_barrier_hang_1.c
    M offload/test/offloading/single_threaded_for_barrier_hang_2.c
    M offload/test/offloading/spmdization.c
    M offload/test/sanitizer/ptr_outside_alloc_1.c
    M offload/test/sanitizer/ptr_outside_alloc_2.c
    M offload/test/sanitizer/use_after_free_1.c
    M offload/test/sanitizer/use_after_free_2.c

  Log Message:
  -----------
  [OpenMP] Mark problematic tests as XFAIL / UNSUPPORTED (#161267)

Summary:
Several of these tests have been failing for literal years. Ideally we
make efforts to fix this, but keeping these broken has had serious
consequences on our testing infrastructure where failures are the norm
so almost all test failures are disregarded. I made a tracking issue for
the ones that have been disabled.

https://github.com/llvm/llvm-project/issues/161265


  Commit: 9df1099ba7d92f921333753941360a9b9f5ed0e6
      https://github.com/llvm/llvm-project/commit/9df1099ba7d92f921333753941360a9b9f5ed0e6
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/lib/CAS/OnDiskTrieRawHashMap.cpp

  Log Message:
  -----------
  [CAS] Fix a build failure on 32 bit system from #114100 (#161268)

Fix a build failure on 32 bit system that caused by a warning of
narrowing `uint64_t` to `size_t`.


  Commit: 045e09f22b6149bb8288e458a465f1b16cb88b77
      https://github.com/llvm/llvm-project/commit/045e09f22b6149bb8288e458a465f1b16cb88b77
  Author: Alan Zhao <ayzhao at google.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/include/llvm/IR/ProfDataUtils.h
    M llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
    M llvm/lib/IR/ProfDataUtils.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/preserve-profile.ll
    M llvm/utils/profcheck-xfail.txt

  Log Message:
  -----------
  [InstCombine] Set !prof metadata on Selects identified by add.ll test (#158743)

These select instructions are created from non-branching instructions,
so their branch weights are unknown.

Tracking issue: #147390


  Commit: 07f8f088b4b3d1c58e73f13a288ff2c088d15ad6
      https://github.com/llvm/llvm-project/commit/07f8f088b4b3d1c58e73f13a288ff2c088d15ad6
  Author: David Salinas <dsalinas at amd.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-readelf.rst
    M llvm/docs/CommandGuide/llvm-readobj.rst
    M llvm/include/llvm/Object/OffloadBundle.h
    M llvm/lib/Object/OffloadBundle.cpp
    A llvm/test/tools/llvm-readobj/ELF/AMDGPU/offloading-fail.test
    A llvm/test/tools/llvm-readobj/ELF/AMDGPU/offloading.test
    M llvm/tools/llvm-readobj/ObjDumper.cpp
    M llvm/tools/llvm-readobj/ObjDumper.h
    M llvm/tools/llvm-readobj/Opts.td
    M llvm/tools/llvm-readobj/llvm-readobj.cpp

  Log Message:
  -----------
  Add --offoading option to llvm-readobj (#143342)

Utilize new extensions to LLVM Offloading API to
handle offloading fatbin Bundles.

The tool will output a list of available offload bundles
using URI syntax.

---------

Co-authored-by: dsalinas_amdeng <david.salinas at amd.com>


  Commit: 12a5854a51c99635dd72b26a73d6ff89d6a5bc81
      https://github.com/llvm/llvm-project/commit/12a5854a51c99635dd72b26a73d6ff89d6a5bc81
  Author: Akira Hatanaka <ahatanak at gmail.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M compiler-rt/test/builtins/Unit/fixunstfdi_test.c
    M compiler-rt/test/builtins/Unit/multc3_test.c

  Log Message:
  -----------
  [compiler-rt] Disable tests for unavailable builtins (#161275)

The builtins `__fixunstfdi` and `__multc3` may be removed by the
preprocessor depending on configuration flags. When this happens, the
corresponding tests fail at link time due to missing definitions.

Disable these tests when the builtins are not available.

Also remove the XFAILs for aarch64 windows. As this test now became a
no-op on platforms that lack CRT_HAS_128BIT or CRT_HAS_F128 (aarch64
windows lacks the latter), it no longer fails.

This reapplies e9e166e54354330c474457711a8e7a7ca2efd731 and
656707086e5f6fccd2eb57f5aaf987c328c0f4f1 after fixing declarations of
the builtins in the tests in b54250940c2cd70f911386b02239b50c165e5354.

rdar://159705803
rdar://159705705

---------

Co-authored-by: Martin Storsjö <martin at martin.st>


  Commit: cbfe89f0ecf6c9dfc047b39f3b12f0532d8ddeb2
      https://github.com/llvm/llvm-project/commit/cbfe89f0ecf6c9dfc047b39f3b12f0532d8ddeb2
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M llvm/include/llvm/Transforms/Instrumentation/GCOVProfiler.h
    M llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp

  Log Message:
  -----------
  [llvm][clang] Use the VFS in `GCOVProfilerPass` (#161260)

This PR starts using the correct VFS in `GCOVProfilerPass` instead of
using the real FS directly. This matches compiler's behavior for other
input files.


  Commit: af5c1a696cffb48712526cc862dc1cafc9ce6e3c
      https://github.com/llvm/llvm-project/commit/af5c1a696cffb48712526cc862dc1cafc9ce6e3c
  Author: Maksim Levental <maksim.levental at gmail.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenStmt.cpp

  Log Message:
  -----------
  [CIR] fix enumeration value 'OMPFuseDirectiveClass' not handled in switch (#161278)


  Commit: d481e5f9b7f4bde74fc4909a8a67bbd758991b33
      https://github.com/llvm/llvm-project/commit/d481e5f9b7f4bde74fc4909a8a67bbd758991b33
  Author: Alex Voicu <alexandru.voicu at amd.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
    M clang/test/CodeGenCXX/builtin-amdgcn-atomic-inc-dec.cpp
    M clang/test/CodeGenCXX/builtin-amdgcn-fence.cpp
    M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn.cl

  Log Message:
  -----------
  [AMDGPU][SPIRV] Use SPIR-V syncscopes for some AMDGCN BIs (#154867)

AMDGCN flavoured SPIR-V allows AMDGCN specific builtins, including those
for scoped fences and some specific RMWs. However, at present we don't
map syncscopes to their SPIR-V equivalents, but rather use the AMDGCN
ones. This ends up pessimising the resulting code as system scope is
used instead of device (agent) or subgroup (wavefront), so we correct
the behaviour, to ensure that we do the right thing during reverse
translation.


  Commit: 63e45504abebeccb93365e089916abea1bd53eae
      https://github.com/llvm/llvm-project/commit/63e45504abebeccb93365e089916abea1bd53eae
  Author: Vladimir Vuksanovic <109677816+vvuksanovic at users.noreply.github.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang-tools-extra/clang-reorder-fields/ReorderFieldsAction.cpp
    A clang-tools-extra/test/clang-reorder-fields/FlexibleArrayMember.c

  Log Message:
  -----------
  [clang-reorder-fields] Check for flexible array member (#160262)

A flexible array member must remain the last field in the struct.


  Commit: 0ab9ffe1bf557cd3a7ebb0c03beb3cb45dcbe077
      https://github.com/llvm/llvm-project/commit/0ab9ffe1bf557cd3a7ebb0c03beb3cb45dcbe077
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/lib/CAS/CMakeLists.txt

  Log Message:
  -----------
  [CAS][CMake] Fix rhel bots missing symbol failure from #114100 (#161283)

Link LLVM_PTHREAD_LIB from LLVMCAS library to fix rhel bots.


  Commit: d28c07b7550af47ff7adc068d6078388cdeed61d
      https://github.com/llvm/llvm-project/commit/d28c07b7550af47ff7adc068d6078388cdeed61d
  Author: Naveen Seth Hanig <naveen.hanig at outlook.com>
  Date:   2025-09-30 (Tue, 30 Sep 2025)

  Changed paths:
    M clang/tools/clang-scan-deps/ClangScanDeps.cpp

  Log Message:
  -----------
  [clang-scan-deps] Remove const from ModuleDeps loop to enable move. (#161109)

This changes the iteration from const to non-const so that std::move
results in a true move rather than a copy.


  Commit: 5d739cf4186e333770a11d1376eb2ea947cc70e8
      https://github.com/llvm/llvm-project/commit/5d739cf4186e333770a11d1376eb2ea947cc70e8
  Author: Renaud Kauffmann <rkauffmann at nvidia.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
    A mlir/test/Dialect/GPU/memref-to-llvm.mlir

  Log Message:
  -----------
  Create function declaration in the proper module (#161281)

Using `memref.dealloc` in the gpu module would add a function definition
for `@free` in the the top level module instead of the gpu module. The
fix is to do what is already done for memref.alloc which is to use
`op->getParentWithTrait<OpTrait::SymbolTable>()` instead of
`op->getParentOfType<ModuleOp>()` to create the call in the proper
module.


  Commit: d23f78175ca64ce4b6d92dead490970e64ca2f4c
      https://github.com/llvm/llvm-project/commit/d23f78175ca64ce4b6d92dead490970e64ca2f4c
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M lld/test/wasm/archive-export.test
    M lld/test/wasm/comdats.ll
    M lld/test/wasm/visibility-hidden.ll
    M lld/wasm/Driver.cpp

  Log Message:
  -----------
  [lld][WebAssembly] Fix visibility of `__stack_pointer` global (#161284)

The stack pointer should be global, not hidden / dso-local. Marking it
as global allows it to be exported from the main module and imported
into side modules.


  Commit: 1d614a9702973aa9b099a61a6a5992c1de1d8de1
      https://github.com/llvm/llvm-project/commit/1d614a9702973aa9b099a61a6a5992c1de1d8de1
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
    A clang/test/CIR/IR/global-init.cir

  Log Message:
  -----------
  [CIR] Add GlobalOp ctor and dtor regions (#160779)

This adds support for ctor and dtor regions in cir::GlobalOp. These
regions are used to capture the code that initializes and cleans up the
variable, keeping this initialization and cleanup code with the variable
definition.

This change only adds the CIR dialect support for these regions. Support
for generating the code in these regions from source and lowering these
to LLVM IR will be added in a later change, as will LoweringPrepare
support to move the code into the __cxx_global_var_init() function.


  Commit: 7166bc7dbf299b92de193424edfb8d1841fd1ea0
      https://github.com/llvm/llvm-project/commit/7166bc7dbf299b92de193424edfb8d1841fd1ea0
  Author: Oleksandr T. <oleksandr.tarasiuk at outlook.com>
  Date:   2025-09-30 (Tue, 30 Sep 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/lib/Parse/ParseExprCXX.cpp
    M clang/test/Parser/cxx2b-lambdas-ext-warns.cpp

  Log Message:
  -----------
  [Clang] Avoid null deref in lambda attribute compat warning (#161096)

Fixes #161070

---

This PR addresses the issue in `ext_decl_attrs_on_lambda` by using
`%0`=_attribute name_ and `%1`=_selector_, which prevents a null
`IdentifierInfo*`.


https://github.com/llvm/llvm-project/blob/48a6f2f85c8269d8326c185016801a4eb8d5dfd6/clang/lib/Parse/ParseExprCXX.cpp#L1299-L1302


https://github.com/llvm/llvm-project/blob/48a6f2f85c8269d8326c185016801a4eb8d5dfd6/clang/include/clang/Basic/DiagnosticParseKinds.td#L1143-L1145


https://github.com/llvm/llvm-project/blob/48a6f2f85c8269d8326c185016801a4eb8d5dfd6/clang/include/clang/Basic/DiagnosticParseKinds.td#L1149-L1152


  Commit: 18136c249610ce8bb1e4b2b543a605b1221730bd
      https://github.com/llvm/llvm-project/commit/18136c249610ce8bb1e4b2b543a605b1221730bd
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M lld/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [lld][macho][NFC] Add release note for #158720 (#161295)

I forgot to add a release note for
https://github.com/llvm/llvm-project/pull/158720 so I'll add it here.


  Commit: 1fcf481631b5521732d99963bcb69a81d19e9f79
      https://github.com/llvm/llvm-project/commit/1fcf481631b5521732d99963bcb69a81d19e9f79
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/lib/Support/Mustache.cpp
    M llvm/unittests/Support/MustacheTest.cpp
    M llvm/utils/llvm-test-mustache-spec/llvm-test-mustache-spec.cpp

  Log Message:
  -----------
  [llvm][mustache] Support setting delimiters in templates (#159187)

The base mustache spec allows setting custom delimiters, which slightly
change parsing of partials. This patch implements that feature by adding
a new token type, and changing the tokenizer's behavior to allow setting
custom delimiters.


  Commit: 39f292ffa13d7ca0d1edff27ac8fd55024bb4d19
      https://github.com/llvm/llvm-project/commit/39f292ffa13d7ca0d1edff27ac8fd55024bb4d19
  Author: Jin Huang <jinhuang1102 at gmail.com>
  Date:   2025-09-30 (Tue, 30 Sep 2025)

  Changed paths:
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    M llvm/test/Transforms/AggressiveInstCombine/memchr.ll

  Log Message:
  -----------
  [profcheck] Add unknown branch weight for inlined memchr calls. (#160964)

The memchr inliner creates new switch branches but was failling to add
profile metada. This patch fixes the issue by explicitly adding unknown
branch weights to these branches.

Issue [#147390](https://github.com/llvm/llvm-project/issues/147390)


  Commit: 6ffacae996b7eecf3859d7c83c95e7d7d95bc03f
      https://github.com/llvm/llvm-project/commit/6ffacae996b7eecf3859d7c83c95e7d7d95bc03f
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M llvm/lib/Support/Mustache.cpp

  Log Message:
  -----------
  [llvm][mustache] Refactor tokenizer for clarity (#159188)

This patch refactors the Mustache tokenizer by breaking the logic up
with helper functions to improve clarity and simplify the code.


  Commit: dc6e4e97fe5b9414b9597587670b5dfdd7c49b55
      https://github.com/llvm/llvm-project/commit/dc6e4e97fe5b9414b9597587670b5dfdd7c49b55
  Author: ZhaoQi <zhaoqi01 at loongson.cn>
  Date:   2025-09-30 (Tue, 30 Sep 2025)

  Changed paths:
    A llvm/test/CodeGen/LoongArch/lasx/ir-instruction/shuffle-as-xvinsve0.ll

  Log Message:
  -----------
  [LoongArch][NFC] Pre-commit tests for `xvinsve0.{w/d}` (#160829)


  Commit: d2e3389abb3a2e4ee27e40f353c5eec476a229f6
      https://github.com/llvm/llvm-project/commit/d2e3389abb3a2e4ee27e40f353c5eec476a229f6
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
    M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h
    M mlir/test/Conversion/GPUToROCDL/gpu-to-rocdl-hip.mlir

  Log Message:
  -----------
  [mlir][GPU] Generalize gpu.printf to not need gpu.module (#161266)

In order to make the gpu.printf => [various LLVM calls] passes less
order-dependent and to allow downstreams that don't use gpu.module to
use gpu.printf, allow the flowerings for such prints to target the
nearest `SymbolTable` instead.


  Commit: 781baf76fb4d9fbfc24bafe5f46946043c265074
      https://github.com/llvm/llvm-project/commit/781baf76fb4d9fbfc24bafe5f46946043c265074
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-09-30 (Tue, 30 Sep 2025)

  Changed paths:
    M llvm/lib/Support/Mustache.cpp

  Log Message:
  -----------
  [llvm][mustache] Refactor template rendering (#159189)

Move the rendering logic into the ASTNode, and break the logic down into
individual methods.


  Commit: 0f80f18977060cdb315f50d0365507d8497a1a03
      https://github.com/llvm/llvm-project/commit/0f80f18977060cdb315f50d0365507d8497a1a03
  Author: ZhaoQi <zhaoqi01 at loongson.cn>
  Date:   2025-09-30 (Tue, 30 Sep 2025)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
    M llvm/test/CodeGen/LoongArch/lasx/ir-instruction/shuffle-as-xvinsve0.ll

  Log Message:
  -----------
  [LoongArch] Custom legalize vector_shuffle to `xvinsve0.{w/d}` when possible (#161156)


  Commit: a8034d1809cb39c977f47bb25e190c04b243dfd2
      https://github.com/llvm/llvm-project/commit/a8034d1809cb39c977f47bb25e190c04b243dfd2
  Author: Kelvin Li <kli at ca.ibm.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-multi-file-diagnostics.c.sarif
    M clang/test/Analysis/lit.local.cfg

  Log Message:
  -----------
  [analyzer] Use sed from the ToolBox on AIX (NFC) (#161242)

The change in commit 30402c7 breaks the tests on AIX. This patch 
is to change to use the `sed` from AIX Toolbox instead of the default 
one which does not support `-r` and `-E`.


  Commit: 6b23f4fc4d7cf035dbf9a1af419148b991ddaf2c
      https://github.com/llvm/llvm-project/commit/6b23f4fc4d7cf035dbf9a1af419148b991ddaf2c
  Author: wanglei <wanglei at loongson.cn>
  Date:   2025-09-30 (Tue, 30 Sep 2025)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp
    M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
    M llvm/lib/Target/LoongArch/AsmParser/LoongArchAsmParser.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCAsmInfo.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCCodeEmitter.cpp
    M llvm/test/MC/LoongArch/Macros/macros-la.s

  Log Message:
  -----------
  [LoongArch] Add R_LARCH_MARK_LA relocation for la.abs

Match gas behavior: generate `R_LARCH_MARK_LA` relocation for `la.abs`.

Reviewers: heiher, SixWeining

Reviewed By: SixWeining, heiher

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


  Commit: 978644c29f40536909b4ecabb58468e25fe6d14d
      https://github.com/llvm/llvm-project/commit/978644c29f40536909b4ecabb58468e25fe6d14d
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2025-09-30 (Tue, 30 Sep 2025)

  Changed paths:
    M llvm/lib/Support/Mustache.cpp

  Log Message:
  -----------
  [llvm][mustache] Remove out parameters from processTags() (#159190)

We can construct the return values directly and simplify the interface.


  Commit: eb1960c4812ca8ed4ef0e413f9b68178789c0f7a
      https://github.com/llvm/llvm-project/commit/eb1960c4812ca8ed4ef0e413f9b68178789c0f7a
  Author: woruyu <1214539920 at qq.com>
  Date:   2025-09-30 (Tue, 30 Sep 2025)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
    M compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp

  Log Message:
  -----------
  [sanitizer] Handle nullptr name in prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME) (#160824)

### Summary
This PR resolves https://github.com/llvm/llvm-project/issues/160562


  Commit: d96c32cdaf588903917a9e7db172729759e34c9d
      https://github.com/llvm/llvm-project/commit/d96c32cdaf588903917a9e7db172729759e34c9d
  Author: Luo, Yuanke <lyk_03 at hotmail.com>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/SemaCUDA/vararg.cu

  Log Message:
  -----------
  [CUDA] Enable variadic argument support in front-end (#161305)

Variadice argument for NVPTX as been support in

https://github.com/llvm/llvm-project/commit/486d00eca6b6ab470e8324b52cdf9f32023c1c9a
We can enable it in front-end.

Co-authored-by: Yuanke Luo <ykluo at birentech.com>


  Commit: 0d2754143c16c10726d684a72894ddeb64b820d9
      https://github.com/llvm/llvm-project/commit/0d2754143c16c10726d684a72894ddeb64b820d9
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-09-29 (Mon, 29 Sep 2025)

  Changed paths:
    M clang-tools-extra/clang-reorder-fields/ReorderFieldsAction.cpp
    M clang-tools-extra/clang-tidy/android/ComparisonInTempFailureRetryCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/AssertSideEffectCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/ExceptionEscapeCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/ExceptionEscapeCheck.h
    M clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp
    M clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h
    M clang-tools-extra/clang-tidy/modernize/UseNullptrCheck.cpp
    M clang-tools-extra/clang-tidy/openmp/ExceptionEscapeCheck.cpp
    M clang-tools-extra/clang-tidy/openmp/ExceptionEscapeCheck.h
    A clang-tools-extra/test/clang-reorder-fields/FlexibleArrayMember.c
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/include/clang/CIR/MissingFeatures.h
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/lib/CIR/CodeGen/CIRGenClass.cpp
    M clang/lib/CIR/CodeGen/CIRGenExprCXX.cpp
    M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.h
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/lib/CIR/CodeGen/CIRGenStmt.cpp
    M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
    M clang/lib/Frontend/ModuleDependencyCollector.cpp
    M clang/lib/Headers/avxintrin.h
    M clang/lib/Parse/ParseExprCXX.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-multi-file-diagnostics.c.sarif
    M clang/test/Analysis/lit.local.cfg
    M clang/test/CIR/CodeGen/complex.cpp
    A clang/test/CIR/CodeGen/delete.cpp
    M clang/test/CIR/CodeGen/lang-c-cpp.cpp
    A clang/test/CIR/CodeGen/module-filename.cpp
    M clang/test/CIR/CodeGen/opt-info-attr.cpp
    M clang/test/CIR/CodeGen/vbase.cpp
    M clang/test/CIR/CodeGen/vector-ext.cpp
    M clang/test/CIR/CodeGen/vector.cpp
    A clang/test/CIR/IR/global-init.cir
    M clang/test/CodeGen/X86/avx-builtins.c
    M clang/test/CodeGenCXX/builtin-amdgcn-atomic-inc-dec.cpp
    M clang/test/CodeGenCXX/builtin-amdgcn-fence.cpp
    A clang/test/CodeGenCXX/gh56652.cpp
    M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
    M clang/test/OpenMP/for_reduction_codegen.cpp
    M clang/test/Parser/cxx2b-lambdas-ext-warns.cpp
    M clang/test/SemaCUDA/vararg.cu
    M clang/test/SemaCXX/decltype.cpp
    M clang/tools/clang-scan-deps/ClangScanDeps.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
    M compiler-rt/test/builtins/Unit/fixunstfdi_test.c
    M compiler-rt/test/builtins/Unit/multc3_test.c
    M compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp
    M libc/src/string/memory_utils/op_generic.h
    M libc/test/UnitTest/FEnvSafeTest.cpp
    M lld/ELF/Relocations.cpp
    M lld/docs/ReleaseNotes.rst
    M lld/test/wasm/archive-export.test
    M lld/test/wasm/comdats.ll
    M lld/test/wasm/visibility-hidden.ll
    M lld/wasm/Driver.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    A lldb/test/Shell/SymbolFile/DWARF/incomplete-member-beyond-parent-bounds.yaml
    A lldb/test/Shell/SymbolFile/DWARF/member-beyond-parent-bounds.yaml
    A lldb/test/Shell/SymbolFile/DWARF/member-on-parent-bounds.yaml
    M lldb/test/Shell/SymbolFile/DWARF/union-types-no-member-location.yaml
    A lldb/test/Shell/SymbolFile/DWARF/zero-sized-member-in-parent-bounds.yaml
    M llvm/docs/CommandGuide/llvm-readelf.rst
    M llvm/docs/CommandGuide/llvm-readobj.rst
    M llvm/docs/CommandGuide/llvm-size.rst
    M llvm/include/llvm/ADT/EquivalenceClasses.h
    A llvm/include/llvm/CAS/FileOffset.h
    A llvm/include/llvm/CAS/OnDiskTrieRawHashMap.h
    M llvm/include/llvm/IR/ProfDataUtils.h
    M llvm/include/llvm/Object/OffloadBundle.h
    M llvm/include/llvm/Support/FileCollector.h
    M llvm/include/llvm/TextAPI/SymbolSet.h
    M llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
    M llvm/include/llvm/Transforms/Instrumentation/GCOVProfiler.h
    M llvm/lib/CAS/CMakeLists.txt
    A llvm/lib/CAS/DatabaseFile.cpp
    A llvm/lib/CAS/DatabaseFile.h
    M llvm/lib/CAS/InMemoryCAS.cpp
    A llvm/lib/CAS/OnDiskTrieRawHashMap.cpp
    M llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp
    M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
    M llvm/lib/IR/ProfDataUtils.cpp
    M llvm/lib/Object/OffloadBundle.cpp
    M llvm/lib/Support/Mustache.cpp
    M llvm/lib/Support/VirtualFileSystem.cpp
    M llvm/lib/Target/LoongArch/AsmParser/LoongArchAsmParser.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCAsmInfo.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCCodeEmitter.cpp
    M llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.h
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/CodeGen/LoongArch/lasx/ir-instruction/shuffle-as-xvinsve0.ll
    M llvm/test/CodeGen/RISCV/and-negpow2-cmp.ll
    M llvm/test/CodeGen/X86/vector-shuffle-combining-sse41.ll
    M llvm/test/MC/LoongArch/Macros/macros-la.s
    M llvm/test/Transforms/AggressiveInstCombine/memchr.ll
    M llvm/test/Transforms/InstCombine/preserve-profile.ll
    M llvm/test/Transforms/LoopVectorize/dereferenceable-info-from-assumption-constant-size.ll
    A llvm/test/Transforms/SLPVectorizer/X86/xor-combined-opcode.ll
    M llvm/test/lit.cfg.py
    M llvm/test/tools/llvm-dwarfdump/verify_stmt_seq.yaml
    A llvm/test/tools/llvm-readobj/ELF/AMDGPU/offloading-fail.test
    A llvm/test/tools/llvm-readobj/ELF/AMDGPU/offloading.test
    A llvm/test/tools/llvm-size/macho-pagezero.test
    M llvm/tools/llvm-readobj/ObjDumper.cpp
    M llvm/tools/llvm-readobj/ObjDumper.h
    M llvm/tools/llvm-readobj/Opts.td
    M llvm/tools/llvm-readobj/llvm-readobj.cpp
    M llvm/tools/llvm-size/Opts.td
    M llvm/tools/llvm-size/llvm-size.cpp
    M llvm/unittests/ADT/EquivalenceClassesTest.cpp
    M llvm/unittests/CAS/CMakeLists.txt
    A llvm/unittests/CAS/OnDiskTrieRawHashMapTest.cpp
    M llvm/unittests/Support/MustacheTest.cpp
    M llvm/unittests/Support/VirtualFileSystemTest.cpp
    M llvm/utils/llvm-test-mustache-spec/llvm-test-mustache-spec.cpp
    M llvm/utils/profcheck-xfail.txt
    M mlir/docs/Tutorials/Toy/Ch-6.md
    M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
    M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h
    M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
    M mlir/test/Conversion/GPUToROCDL/gpu-to-rocdl-hip.mlir
    A mlir/test/Dialect/GPU/memref-to-llvm.mlir
    R offload/DeviceRTL/CMakeLists.txt
    M offload/libomptarget/omptarget.cpp
    M offload/test/mapping/lambda_by_value.cpp
    M offload/test/mapping/map_back_race.cpp
    M offload/test/mapping/map_both_pointer_pointee.c
    M offload/test/mapping/map_ptr_and_star_local.c
    M offload/test/mapping/map_structptr_and_member_global.c
    M offload/test/mapping/map_structptr_and_member_local.c
    M offload/test/offloading/CUDA/basic_launch_multi_arg.cu
    M offload/test/offloading/bug51781.c
    M offload/test/offloading/fortran/declare-target-automap.f90
    M offload/test/offloading/interop.c
    M offload/test/offloading/single_threaded_for_barrier_hang_1.c
    M offload/test/offloading/single_threaded_for_barrier_hang_2.c
    M offload/test/offloading/spmdization.c
    M offload/test/sanitizer/ptr_outside_alloc_1.c
    M offload/test/sanitizer/ptr_outside_alloc_2.c
    M offload/test/sanitizer/use_after_free_1.c
    M offload/test/sanitizer/use_after_free_2.c
    M offload/tools/deviceinfo/llvm-offload-device-info.cpp
    M openmp/device/CMakeLists.txt

  Log Message:
  -----------
  .

Created using spr 1.3.5-bogner


Compare: https://github.com/llvm/llvm-project/compare/0dc1ef35cb7b...0d2754143c16

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