[all-commits] [llvm/llvm-project] 42b608: [lldb] Skip tests on older versions of clang

Steven Wu via All-commits all-commits at lists.llvm.org
Tue Nov 4 08:33:17 PST 2025


  Branch: refs/heads/users/cachemeifyoucan/spr/cas-add-llvm-cas-tools-to-inspect-on-disk-llvmcas-2
  Home:   https://github.com/llvm/llvm-project
  Commit: 42b608cdd6cd96e4fab7e4311731d6b0956376ad
      https://github.com/llvm/llvm-project/commit/42b608cdd6cd96e4fab7e4311731d6b0956376ad
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py
    M lldb/test/API/lang/cpp/libcxx-internals-recognizer/TestLibcxxInternalsRecognizer.py
    M lldb/test/API/lang/objc/modules-auto-import/TestModulesAutoImport.py
    M lldb/test/API/lang/objc/modules-objc-property/TestModulesObjCProperty.py

  Log Message:
  -----------
  [lldb] Skip tests on older versions of clang


  Commit: 009706ff6295882a17fb2af1a1eebdfe7c476114
      https://github.com/llvm/llvm-project/commit/009706ff6295882a17fb2af1a1eebdfe7c476114
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M .github/workflows/llvm-bugs.yml

  Log Message:
  -----------
  [Github] Use truncated body in llvm-bugs.yml

\#166081 forgot to actually use this as the body.


  Commit: dccced25a01478c339e37fd7ef30c0958cb43742
      https://github.com/llvm/llvm-project/commit/dccced25a01478c339e37fd7ef30c0958cb43742
  Author: Adrian Vogelsgesang <avogelsgesang at salesforce.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M libcxx/docs/TestingLibcxx.rst

  Log Message:
  -----------
  [libc++][docs] Fix documentation of `REQUIRES: std-at-least-*` (#166226)

Due to me not double-checking my PR, an overly eager AI auto-completion
made it into my previous PR :/


  Commit: f02b661054547b423177c9498cdb554f5036a3e0
      https://github.com/llvm/llvm-project/commit/f02b661054547b423177c9498cdb554f5036a3e0
  Author: Adrian Vogelsgesang <avogelsgesang at salesforce.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M libcxx/include/__exception/exception_ptr.h
    M libcxx/modules/std/exception.inc
    M libcxx/test/std/language.support/support.exception/propagation/exception_ptr.pass.cpp
    A libcxx/test/std/language.support/support.exception/propagation/exception_ptr_move_assignment.pass.cpp
    A libcxx/test/std/language.support/support.exception/propagation/exception_ptr_move_ctr.pass.cpp
    A libcxx/test/std/language.support/support.exception/propagation/exception_ptr_swap.pass.cpp

  Log Message:
  -----------
  [libc++] Add move constructor & assignment to `exception_ptr` (#164281)

This commit adds move constructor, move assignment and `swap`
to `exception_ptr`. Adding those operators allows us to avoid
unnecessary calls to `__cxa_{inc,dec}rement_refcount`.

Performance results (from libc++'s CI):

```
Benchmark                               Baseline    Candidate    Difference    % Difference
------------------------------------  ----------  -----------  ------------  --------------
bm_exception_ptr_copy_assign_nonnull        9.77         9.94          0.18           1.79%
bm_exception_ptr_copy_assign_null          10.29        10.65          0.35           3.42%
bm_exception_ptr_copy_ctor_nonnull          7.02         7.01         -0.01          -0.13%
bm_exception_ptr_copy_ctor_null            10.54        10.60          0.06           0.56%
bm_exception_ptr_move_assign_nonnull       16.92        13.76         -3.16         -18.70%
bm_exception_ptr_move_assign_null          10.61        10.76          0.14           1.36%
bm_exception_ptr_move_ctor_nonnull         13.31        10.25         -3.06         -23.02%
bm_exception_ptr_move_ctor_null            10.28         7.30         -2.98         -28.95%
bm_exception_ptr_swap_nonnull              19.22         0.63        -18.59         -96.74%
bm_exception_ptr_swap_null                 20.02         7.79        -12.23         -61.07%
```

As expected, the `bm_exception_ptr_copy_*` benchmarks are not influenced by
this change. `bm_exception_ptr_move_*` benefits between 18% and 30%. The
`bm_exception_ptr_swap_*` tests show the biggest improvements since multiple
calls to the copy constructor are replaced by a simple pointer swap.

While `bm_exception_ptr_move_assign_null` did not show a regression in the CI
measurements, local measurements showed a regression from 3.98 to 4.71, i.e. by
18%. This is due to the additional `__tmp` inside `operator=`. The destructor
of `__other` is a no-op after the move because `__other.__ptr` will be a
nullptr. However, the compiler does not realize this, since the destructor is
not inlined and is lacking a fast-path. As such, the swap-based implementation
leads to an additional destructor call. `bm_exception_ptr_move_assign_nonnull`
still benefits because the swap-based move constructor avoids unnecessary
__cxa_{in,de}crement_refcount calls. As soon as we inline the destructor, this
regression should disappear again.

Works towards #44892


  Commit: ccc473254fd2d0da01921e8402fbd4f678ff46f1
      https://github.com/llvm/llvm-project/commit/ccc473254fd2d0da01921e8402fbd4f678ff46f1
  Author: Doug Wyatt <doug at sonosphere.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M clang/lib/Sema/SemaFunctionEffects.cpp
    M clang/test/Sema/attr-nonblocking-constraints.cpp

  Log Message:
  -----------
  [Clang] FunctionEffects: properly extract the type of a bound member member function from a CallExpr. (#166101)

There's a bug illustrated by this example:

```
template <typename T>
struct Holder {
	T value;
	
	T& operator*() { return value; }
};

struct X {
	using Dispatch = float (X::*)() [[clang::nonblocking]];
    
	void fails(Holder<Dispatch>& holder) [[clang::nonblocking]]
	{
		(this->*(*holder))();   <<< the expression is incorrectly determined not to be nonblocking
	}

	void succeeds(Holder<Dispatch>& holder) [[clang::nonblocking]]
	{
		auto func = *holder;
		(this->*func)();
	}
};
```

In both cases we have a `CXXMemberCallExpr`. In `succeeds`, the
expression refers to a `Decl` (`func`) and gets a useful PTMF type. In
`fails`, the expression does not refer to a `Decl` and its type is
special, printed as `bound member function`. `Expr` provides a method
for extracting the true type so we can use that in this situation.

---------

Co-authored-by: Doug Wyatt <dwyatt at apple.com>
Co-authored-by: Sirraide <aeternalmail at gmail.com>


  Commit: c081fb058831cedce8466809e0d15daadd3ccad2
      https://github.com/llvm/llvm-project/commit/c081fb058831cedce8466809e0d15daadd3ccad2
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h

  Log Message:
  -----------
  [RISCV] Removed unused OPERAND_SIMM8. NFC (#166215)


  Commit: 0623497a0fcdb8cd32139c184c9f0d70dcd690f1
      https://github.com/llvm/llvm-project/commit/0623497a0fcdb8cd32139c184c9f0d70dcd690f1
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
    A llvm/test/CodeGen/RISCV/rv64-stackmap-fp.ll

  Log Message:
  -----------
  [RISCV] Mark FLH as canFoldAsLoad. (#165974)


  Commit: ca00234c09e03bdb3471c83a24f1b8bc1fdb31f9
      https://github.com/llvm/llvm-project/commit/ca00234c09e03bdb3471c83a24f1b8bc1fdb31f9
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rv64-stackmap.ll

  Log Message:
  -----------
  [RISCV] Correct comments in rv64-stackmap.ll to not use X86 register name. NFC (#165912)

Note, X86 forces a frame pointer for stackmaps/patchpoint. So they use
RBP where we use SP.


  Commit: 68c4c83bcbf9612a02074b946fe6bb73054183ef
      https://github.com/llvm/llvm-project/commit/68c4c83bcbf9612a02074b946fe6bb73054183ef
  Author: Artem Kroviakov <71938912+akroviakov at users.noreply.github.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPU.h
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
    M mlir/include/mlir/Dialect/XeGPU/Transforms/Passes.td
    M mlir/lib/Conversion/XeGPUToXeVM/XeGPUToXeVM.cpp
    M mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
    M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
    M mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
    M mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp
    M mlir/test/Dialect/XeGPU/invalid.mlir
    M mlir/test/Dialect/XeGPU/subgroup-distribute.mlir
    M mlir/test/lib/Dialect/XeGPU/TestXeGPUTransforms.cpp

  Log Message:
  -----------
  [MLIR][XeGPU] Matrix load/store subgroup distribution (#165008)


  Commit: 346da3dfd3e70ca82a7df968c79666ff0b8c77c5
      https://github.com/llvm/llvm-project/commit/346da3dfd3e70ca82a7df968c79666ff0b8c77c5
  Author: Kewen Meng <Kewen.Meng at amd.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M libc/src/stdio/CMakeLists.txt
    M libc/src/stdio/asprintf.cpp
    M libc/src/stdio/baremetal/CMakeLists.txt
    M libc/src/stdio/baremetal/printf.cpp
    M libc/src/stdio/baremetal/vprintf.cpp
    M libc/src/stdio/generic/CMakeLists.txt
    M libc/src/stdio/generic/fprintf.cpp
    M libc/src/stdio/generic/printf.cpp
    M libc/src/stdio/generic/vfprintf.cpp
    M libc/src/stdio/generic/vprintf.cpp
    M libc/src/stdio/printf_core/CMakeLists.txt
    M libc/src/stdio/printf_core/core_structs.h
    R libc/src/stdio/printf_core/error_mapper.h
    R libc/src/stdio/printf_core/generic/CMakeLists.txt
    R libc/src/stdio/printf_core/generic/error_mapper.h
    R libc/src/stdio/printf_core/linux/CMakeLists.txt
    R libc/src/stdio/printf_core/linux/error_mapper.h
    M libc/src/stdio/printf_core/printf_main.h
    M libc/src/stdio/printf_core/vasprintf_internal.h
    M libc/src/stdio/printf_core/vfprintf_internal.h
    M libc/src/stdio/printf_core/write_int_converter.h
    M libc/src/stdio/printf_core/writer.h
    M libc/src/stdio/snprintf.cpp
    M libc/src/stdio/sprintf.cpp
    M libc/src/stdio/vasprintf.cpp
    M libc/src/stdio/vsnprintf.cpp
    M libc/src/stdio/vsprintf.cpp
    M libc/src/stdlib/CMakeLists.txt
    M libc/src/stdlib/strfromd.cpp
    M libc/src/stdlib/strfromf.cpp
    M libc/src/stdlib/strfroml.cpp
    M libc/src/time/strftime_core/strftime_main.h
    M libc/test/src/stdio/CMakeLists.txt
    M libc/test/src/stdio/fprintf_test.cpp
    M libc/test/src/stdio/printf_core/converter_test.cpp
    M libc/test/src/stdio/printf_core/writer_test.cpp
    M libc/test/src/stdio/snprintf_test.cpp
    M libc/test/src/stdio/vfprintf_test.cpp
    M libc/test/src/stdlib/StrfromTest.h

  Log Message:
  -----------
  Revert "[libc] Add printf error handling" (#166232)


  Commit: 04d95fab755cb8cab2cc06c386ff5a74b698ff90
      https://github.com/llvm/llvm-project/commit/04d95fab755cb8cab2cc06c386ff5a74b698ff90
  Author: Kewen Meng <Kewen.Meng at amd.com>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M .github/workflows/llvm-bugs.yml
    M clang/lib/Sema/SemaFunctionEffects.cpp
    M clang/test/Sema/attr-nonblocking-constraints.cpp
    M libc/src/stdio/CMakeLists.txt
    M libc/src/stdio/asprintf.cpp
    M libc/src/stdio/baremetal/CMakeLists.txt
    M libc/src/stdio/baremetal/printf.cpp
    M libc/src/stdio/baremetal/vprintf.cpp
    M libc/src/stdio/generic/CMakeLists.txt
    M libc/src/stdio/generic/fprintf.cpp
    M libc/src/stdio/generic/printf.cpp
    M libc/src/stdio/generic/vfprintf.cpp
    M libc/src/stdio/generic/vprintf.cpp
    M libc/src/stdio/printf_core/CMakeLists.txt
    M libc/src/stdio/printf_core/core_structs.h
    R libc/src/stdio/printf_core/error_mapper.h
    R libc/src/stdio/printf_core/generic/CMakeLists.txt
    R libc/src/stdio/printf_core/generic/error_mapper.h
    R libc/src/stdio/printf_core/linux/CMakeLists.txt
    R libc/src/stdio/printf_core/linux/error_mapper.h
    M libc/src/stdio/printf_core/printf_main.h
    M libc/src/stdio/printf_core/vasprintf_internal.h
    M libc/src/stdio/printf_core/vfprintf_internal.h
    M libc/src/stdio/printf_core/write_int_converter.h
    M libc/src/stdio/printf_core/writer.h
    M libc/src/stdio/snprintf.cpp
    M libc/src/stdio/sprintf.cpp
    M libc/src/stdio/vasprintf.cpp
    M libc/src/stdio/vsnprintf.cpp
    M libc/src/stdio/vsprintf.cpp
    M libc/src/stdlib/CMakeLists.txt
    M libc/src/stdlib/strfromd.cpp
    M libc/src/stdlib/strfromf.cpp
    M libc/src/stdlib/strfroml.cpp
    M libc/src/time/strftime_core/strftime_main.h
    M libc/test/src/stdio/CMakeLists.txt
    M libc/test/src/stdio/fprintf_test.cpp
    M libc/test/src/stdio/printf_core/converter_test.cpp
    M libc/test/src/stdio/printf_core/writer_test.cpp
    M libc/test/src/stdio/snprintf_test.cpp
    M libc/test/src/stdio/vfprintf_test.cpp
    M libc/test/src/stdlib/StrfromTest.h
    M libcxx/docs/TestingLibcxx.rst
    M libcxx/include/__exception/exception_ptr.h
    M libcxx/modules/std/exception.inc
    M libcxx/test/std/language.support/support.exception/propagation/exception_ptr.pass.cpp
    A libcxx/test/std/language.support/support.exception/propagation/exception_ptr_move_assignment.pass.cpp
    A libcxx/test/std/language.support/support.exception/propagation/exception_ptr_move_ctr.pass.cpp
    A libcxx/test/std/language.support/support.exception/propagation/exception_ptr_swap.pass.cpp
    M lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py
    M lldb/test/API/lang/cpp/libcxx-internals-recognizer/TestLibcxxInternalsRecognizer.py
    M lldb/test/API/lang/objc/modules-auto-import/TestModulesAutoImport.py
    M lldb/test/API/lang/objc/modules-objc-property/TestModulesObjCProperty.py
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
    A llvm/test/CodeGen/RISCV/rv64-stackmap-fp.ll
    M llvm/test/CodeGen/RISCV/rv64-stackmap.ll
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPU.h
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
    M mlir/include/mlir/Dialect/XeGPU/Transforms/Passes.td
    M mlir/lib/Conversion/XeGPUToXeVM/XeGPUToXeVM.cpp
    M mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
    M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
    M mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
    M mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp
    M mlir/test/Dialect/XeGPU/invalid.mlir
    M mlir/test/Dialect/XeGPU/subgroup-distribute.mlir
    M mlir/test/lib/Dialect/XeGPU/TestXeGPUTransforms.cpp

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

Created using spr 1.3.7

[skip ci]


  Commit: c3bb3789535ebb29e6b7bacb32f85d74840b9b64
      https://github.com/llvm/llvm-project/commit/c3bb3789535ebb29e6b7bacb32f85d74840b9b64
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M .github/workflows/llvm-bugs.yml
    M clang/lib/Sema/SemaFunctionEffects.cpp
    M clang/test/Sema/attr-nonblocking-constraints.cpp
    M libc/src/stdio/CMakeLists.txt
    M libc/src/stdio/asprintf.cpp
    M libc/src/stdio/baremetal/CMakeLists.txt
    M libc/src/stdio/baremetal/printf.cpp
    M libc/src/stdio/baremetal/vprintf.cpp
    M libc/src/stdio/generic/CMakeLists.txt
    M libc/src/stdio/generic/fprintf.cpp
    M libc/src/stdio/generic/printf.cpp
    M libc/src/stdio/generic/vfprintf.cpp
    M libc/src/stdio/generic/vprintf.cpp
    M libc/src/stdio/printf_core/CMakeLists.txt
    M libc/src/stdio/printf_core/core_structs.h
    R libc/src/stdio/printf_core/error_mapper.h
    R libc/src/stdio/printf_core/generic/CMakeLists.txt
    R libc/src/stdio/printf_core/generic/error_mapper.h
    R libc/src/stdio/printf_core/linux/CMakeLists.txt
    R libc/src/stdio/printf_core/linux/error_mapper.h
    M libc/src/stdio/printf_core/printf_main.h
    M libc/src/stdio/printf_core/vasprintf_internal.h
    M libc/src/stdio/printf_core/vfprintf_internal.h
    M libc/src/stdio/printf_core/write_int_converter.h
    M libc/src/stdio/printf_core/writer.h
    M libc/src/stdio/snprintf.cpp
    M libc/src/stdio/sprintf.cpp
    M libc/src/stdio/vasprintf.cpp
    M libc/src/stdio/vsnprintf.cpp
    M libc/src/stdio/vsprintf.cpp
    M libc/src/stdlib/CMakeLists.txt
    M libc/src/stdlib/strfromd.cpp
    M libc/src/stdlib/strfromf.cpp
    M libc/src/stdlib/strfroml.cpp
    M libc/src/time/strftime_core/strftime_main.h
    M libc/test/src/stdio/CMakeLists.txt
    M libc/test/src/stdio/fprintf_test.cpp
    M libc/test/src/stdio/printf_core/converter_test.cpp
    M libc/test/src/stdio/printf_core/writer_test.cpp
    M libc/test/src/stdio/snprintf_test.cpp
    M libc/test/src/stdio/vfprintf_test.cpp
    M libc/test/src/stdlib/StrfromTest.h
    M libcxx/docs/TestingLibcxx.rst
    M libcxx/include/__exception/exception_ptr.h
    M libcxx/modules/std/exception.inc
    M libcxx/test/std/language.support/support.exception/propagation/exception_ptr.pass.cpp
    A libcxx/test/std/language.support/support.exception/propagation/exception_ptr_move_assignment.pass.cpp
    A libcxx/test/std/language.support/support.exception/propagation/exception_ptr_move_ctr.pass.cpp
    A libcxx/test/std/language.support/support.exception/propagation/exception_ptr_swap.pass.cpp
    M lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py
    M lldb/test/API/lang/cpp/libcxx-internals-recognizer/TestLibcxxInternalsRecognizer.py
    M lldb/test/API/lang/objc/modules-auto-import/TestModulesAutoImport.py
    M lldb/test/API/lang/objc/modules-objc-property/TestModulesObjCProperty.py
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
    M llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
    A llvm/test/CodeGen/RISCV/rv64-stackmap-fp.ll
    M llvm/test/CodeGen/RISCV/rv64-stackmap.ll
    M llvm/tools/llvm-cas/CMakeLists.txt
    A llvm/tools/llvm-cas/Options.td
    M llvm/tools/llvm-cas/llvm-cas.cpp
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPU.h
    M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
    M mlir/include/mlir/Dialect/XeGPU/Transforms/Passes.td
    M mlir/lib/Conversion/XeGPUToXeVM/XeGPUToXeVM.cpp
    M mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
    M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
    M mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
    M mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp
    M mlir/test/Dialect/XeGPU/invalid.mlir
    M mlir/test/Dialect/XeGPU/subgroup-distribute.mlir
    M mlir/test/lib/Dialect/XeGPU/TestXeGPUTransforms.cpp

  Log Message:
  -----------
  move llvm-cas to OptTable

Created using spr 1.3.7


Compare: https://github.com/llvm/llvm-project/compare/76fbb642c630...c3bb3789535e

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