LLVM/project 7fec267libc/test/src/stdfix DiviFxTest.h

[libc][stdfix] Guard DiviFxTest shift edge cases against narrow IntType (#209970)

Fixes riscv32 buildbot failure from #206115.
DeltaFile
+4-2libc/test/src/stdfix/DiviFxTest.h
+4-21 files

FreeBSD/src 77a201busr.bin/ministat ministat.c

ministat: parse comma used as decimal delimiter

This allows to use output of '/usr/bin/time -ao foo' as direct input to
ministat(1).

While here make diagnostic message more verbose.
DeltaFile
+5-3usr.bin/ministat/ministat.c
+5-31 files

FreeBSD/src 56ac335sys/kern subr_witness.c

witness: fix operation without WITNESS_SKIPSPIN

Since malloc(9) even with M_NOWAIT is forbidden when we hold a spinlock,
we can't print detailed lock tree as the operation tries to allocate
memory.

Fixes:  fb4b0c91195195561560bb2fb2c1ba8da81f7ccf
DeltaFile
+2-1sys/kern/subr_witness.c
+2-11 files

FreeBSD/ports ecaf612x11/walker distinfo Makefile

x11/walker: Update to 2.17.0

Changelog: https://github.com/abenz1267/walker/releases/tag/v2.17.0

Reported by:    GitHub (watch releases)
DeltaFile
+3-3x11/walker/distinfo
+1-2x11/walker/Makefile
+1-0x11/walker/pkg-plist
+5-53 files

LLVM/project 718a361clang/lib/Analysis ThreadSafety.cpp

fix clang-format
DeltaFile
+1-3clang/lib/Analysis/ThreadSafety.cpp
+1-31 files

LLVM/project 464b46aclang/lib/CodeGen CGCall.cpp CodeGenTypes.h, clang/lib/CodeGen/Targets X86.cpp

[clang][CodeGen][X86_64] Honor per-function AVX ABI in C/C++ call paths, maintain old psABI for PlayStation. (#193298)

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

Wire per function x86 AVX ABI level into CodeGen arrangement methods so
__attribute(__target("avx"))) / __attribute(__target("avx512f"))) on
methods, ctors, and free-functions affects ABI lowering consistently.
    
Specifically:
- Added X86AVXABILevel member to CGFunctionInfo.
- Populated X86AVXABILevel member in CGFunctionInfo objects via
arrangement methods declared in CodeGenTypes.h.
- Respect CGFunctionInfo AVX Level in X86_64ABIInfo::computeInfo.
- Add/extend regression tests for:
- free-function target-attribute AVX ABI lowering
- C++ method/ctor target-attribute AVX ABI lowering
- PS4/PS5 legacy ABI behavior (no per-function AVX ABI change)

---------

Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
DeltaFile
+105-51clang/lib/CodeGen/CGCall.cpp
+128-15clang/unittests/CodeGen/CodeGenExternalTest.cpp
+121-0clang/test/CodeGenCXX/target-avx-method-abi.cpp
+71-0clang/test/CodeGen/target-avx-function-abi.c
+54-1clang/lib/CodeGen/Targets/X86.cpp
+24-13clang/lib/CodeGen/CodeGenTypes.h
+503-8022 files not shown
+626-12328 files

LLVM/project b9869c8llvm/lib/Target/AArch64 AArch64ISelLowering.cpp AArch64ISelLowering.h, llvm/test/CodeGen/AArch64 sve-fixed-length-masked-64-128bit-loads.ll sve-fixed-length-masked-64-128bit-stores.ll

[AArch64][SVE] Support lowering masked loads/stores of <4 x bf16> and <8 x bf16> (#208744)

Add support for lowering masked loads/stores of <4 x bf16> and <8 x
bf16> when target features contain "+sve" and "+bf16".

Fixes: #201149
DeltaFile
+148-0llvm/test/CodeGen/AArch64/sve-fixed-length-masked-64-128bit-loads.ll
+143-0llvm/test/CodeGen/AArch64/sve-fixed-length-masked-64-128bit-stores.ll
+13-7llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+4-1llvm/lib/Target/AArch64/AArch64ISelLowering.h
+308-84 files

NetBSD/src izbaMPjsys/kern subr_disk_4bsd.c

   Don't bother with the "no disk label" message.  It's not particularly
   useful, and is downright confusing if the disk has some other sort of
   partition scheme (such at GPT).
VersionDeltaFile
1.2+6-4sys/kern/subr_disk_4bsd.c
+6-41 files

LLVM/project 3e1948ellvm/unittests/IR MetadataTest.cpp

Add expression validation tests for DW_OP_swap (#210184)

Add DIExpression validation tests for DW_OP_swap that we noticed were
missing. The tests are based on the existing expression tests for
DW_OP_stack_value.

Tested via make check.

Assisted by AI.
DeltaFile
+2-0llvm/unittests/IR/MetadataTest.cpp
+2-01 files

NetBSD/src yiVgBqxsys/kern files.kern

   Elide subr_interrupt.c on non-MP configurations.
VersionDeltaFile
1.62+2-2sys/kern/files.kern
+2-21 files

LLVM/project a07b91dlldb/examples/python/templates scripted_stackframe_recognizer.py, lldb/source/Plugins/ScriptInterpreter/Python ScriptInterpreterPython.cpp

[lldb/script] Migrate frame recognizers onto ScriptedPythonInterface  (#209805)

Give `frame recognizer add -l` a formal
ScriptedStackFrameRecognizerInterface, matching the architecture already
used by ScriptedProcess, ScriptedBreakpoint, etc.: a C++ interface
header, a Python-backed implementation built on
ScriptedPythonInterface's CreatePluginObject/Dispatch machinery,
PluginManager registration, and a generatable Python ABC template
(scripted_stackframe_recognizer.py).

get_recognized_arguments' documented contract returns a plain list of
lldb.SBValue (not an lldb.SBValueList), so it bypasses the generic
Dispatch<ValueObjectListSP>() extractor and calls the SWIG bridge
directly, matching the legacy behavior exactly.

ScriptedStackFrameRecognizer now holds a single interface object created
once in its constructor and reused across every RecognizeFrame() call,
same lifecycle as before.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+102-0lldb/examples/python/templates/scripted_stackframe_recognizer.py
+97-0lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedStackFrameRecognizerPythonInterface.cpp
+5-86lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+48-13lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
+57-0lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedStackFrameRecognizerPythonInterface.h
+39-11lldb/source/Target/StackFrameRecognizer.cpp
+348-11017 files not shown
+485-21223 files

LLVM/project 37e99d2clang/lib/Analysis ThreadSafety.cpp, clang/test/SemaCXX warn-thread-safety-analysis.cpp

[ThreadSafety] Add two-state semantics for handleCall in beta mode

Previous contributions added alias analysis and strengthened soundness by
invalidating out-parameters in beta mode. The latter feature introduced a
distinction between the contexts before and after a function call, because the
invalidation assumes that an argument passed by pointer or reference may be
changed by the function.

This requires two-state semantics for handling function attributes.
Specifically, AcquireCapability and AssertCapability, which both ensure that
some locks are held after the call, should be associated with the post-state.
Other function attributes, like RequireCapability or ReleaseCapability, are
associated with the pre-state.

This commit implements these semantics. This change only affects beta mode.

A previous discussion about these semantics:
https://github.com/llvm/llvm-project/pull/190154
DeltaFile
+113-17clang/lib/Analysis/ThreadSafety.cpp
+60-0clang/test/SemaCXX/warn-thread-safety-analysis.cpp
+173-172 files

FreeBSD/ports b5cf6f3sysutils/elephant distinfo Makefile

sysutils/elephant: Update to 2.22.0

Changelog: https://github.com/abenz1267/elephant/releases/tag/v2.22.0

Reported by:    GitHub (watch releases)
DeltaFile
+5-5sysutils/elephant/distinfo
+4-5sysutils/elephant/Makefile
+9-102 files

LLVM/project 9f839a4llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

[SLP][NFC]Fix non-determinism in pointers comparison, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/210216
DeltaFile
+13-8llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+13-81 files

LLVM/project 398f211clang/test/Analysis/Scalable/ssaf-linker static-library-create.test static-library-help.test, clang/test/Analysis/Scalable/ssaf-linker/Outputs libtwo.json

[clang][ssaf] Add static-library create subcommand (#208799)

This change adds `clang-ssaf-linker static-library create` for bundling
TU summaries into a StaticLibrary archive. The linker has been
refactored to dispatch on `cl::SubCommand`; invocations without a
subcommand still run the existing linker pipeline unchanged for backward
compatibility.

rdar://181930526
DeltaFile
+640-0clang/test/Analysis/Scalable/ssaf-linker/Outputs/libtwo.json
+191-0clang/tools/clang-ssaf-linker/StaticLibraryCreateCLI.cpp
+106-27clang/tools/clang-ssaf-linker/SSAFLinker.cpp
+114-0clang/test/Analysis/Scalable/ssaf-linker/static-library-create.test
+103-0clang/tools/clang-ssaf-linker/StaticLibraryCreateCLI.h
+24-0clang/test/Analysis/Scalable/ssaf-linker/static-library-help.test
+1,178-279 files not shown
+1,301-3215 files

LLVM/project 6b99290bolt/docs profiles.md, bolt/include/bolt/Profile DataReader.h

[BOLT] Add fdata symbols mode (#209932)

Add a new fdata profile mode accepting symbol names as-is.

It addresses the UX gap surfaced by #208313 that all methods of selecting
functions to process (symbolized profile types, `-funcs*` options) expect
disambiguated local symbols. 

Introduce fdata mode activated by a `symbols` header line, where each subsequent
line is a (mangled) symbol name. The names are matched against restored function
names (with disambiguation suffix stripped), and every matching function gets an
execution count of 1. 

This can be used to drive selective instrumentation (`--instrument-hot-only`) or
basic linker-script style optimizations.

Symbols are stored as branch entry data so matching reuses the existing default
branch profile path.

Test Plan:
Update docs/profiles.md and add profile-symbols-mode.s
DeltaFile
+71-0bolt/test/X86/profile-symbols-mode.s
+51-5bolt/lib/Profile/DataReader.cpp
+22-0bolt/docs/profiles.md
+11-1bolt/include/bolt/Profile/DataReader.h
+155-64 files

LLVM/project 5658411clang/lib/CodeGen/Targets SPIR.cpp, clang/test/CodeGenHLSL/resources RWBuffer-imageformat.hlsl

[SPIRV] Pack 64-bit vec2 typed buffers into 4x32-bit images (#208626)
DeltaFile
+43-14llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+26-0llvm/test/CodeGen/SPIRV/hlsl-resources/SignedBufferLoadStore.ll
+26-0llvm/test/CodeGen/SPIRV/hlsl-resources/UnsignedBufferLoadStore.ll
+11-0clang/lib/CodeGen/Targets/SPIR.cpp
+2-2clang/test/CodeGenHLSL/resources/RWBuffer-imageformat.hlsl
+108-165 files

LLVM/project eafc387orc-rt/include CMakeLists.txt, orc-rt/include/orc-rt CCallback.h

[orc-rt] Add asCCallback utility -- C callbacks for methods. (#210048)

Adds orc_rt::asCCallback<&Class::method>, which produces a C-ABI
function pointer that forwards to the given member function. The first
parameter of the generated trampoline is an opaque context pointer (
void * for non-const methods, const void * for const methods) that is
cast back to the class type and used as the receiver:

  struct Counter {
    void inc(int N) { Count += N; }
    int Count = 0;
  };

  Counter C;
  void (*CB)(void *, int) = asCCallback<&Counter::inc>;
  CB(asCCallbackContext<&Counter::inc>(C), 2); // C.Count == 2

asCCallbackContext produces the matching context pointer via
static_cast, so any base-class offset is applied and const-ness is

    [9 lines not shown]
DeltaFile
+129-0orc-rt/test/unit/CCallbackTest.cpp
+122-0orc-rt/include/orc-rt/CCallback.h
+1-0orc-rt/include/CMakeLists.txt
+1-0orc-rt/test/unit/CMakeLists.txt
+253-04 files

FreeBSD/src f5f2964sys/kern kern_exec.c

kern_execve.c: simplify execve_block_wait()

(cherry picked from commit 8a365723923e4eadad962d9c7e8162dfbfe3e78c)
DeltaFile
+2-8sys/kern/kern_exec.c
+2-81 files

FreeBSD/ports e50589edevel/libunicode-contour distinfo Makefile, devel/libunicode-contour/files patch-src_libunicode_CMakeLists.txt

devel/libunicode-contour: Update to 0.9.1

Changelog: https://github.com/contour-terminal/libunicode/releases/tag/v0.9.1

Reported by:    GitHub (watch releases)
DeltaFile
+0-14devel/libunicode-contour/files/patch-src_libunicode_CMakeLists.txt
+3-3devel/libunicode-contour/distinfo
+1-1devel/libunicode-contour/Makefile
+4-183 files

LLVM/project a45ae4clibc/src/__support/FPUtil Hypot.h, libc/src/__support/math hypot.h

[libc][math] Fix double-rounding errors with denormal inputs for hypot function. (#208247)

The issue was reported by Paul Zimmermann.

Solution: for denormal inputs, we use 1.0 + x trick after proper scaling
to mimick rounding at denormal scale.
DeltaFile
+111-6libc/src/__support/math/hypot.h
+17-8libc/src/__support/FPUtil/Hypot.h
+13-0libc/test/src/math/smoke/hypot_test.cpp
+141-143 files

FreeBSD/ports 7144dd2deskutils/syncthingtray Makefile pkg-plist

deskutils/syncthingtray: Update 2.1.1 => 2.1.3

Changelogs:
https://github.com/Martchus/syncthingtray/releases/tag/v2.1.2
https://github.com/Martchus/syncthingtray/releases/tag/v2.1.3

PR:             296843
Sponsored by:   UNIS Labs
DeltaFile
+18-11deskutils/syncthingtray/Makefile
+24-0deskutils/syncthingtray/pkg-plist
+11-11deskutils/syncthingtray/distinfo
+53-223 files

LLVM/project 611d015llvm/utils/gn README.rst, llvm/utils/gn/build BUILDCONFIG.gn

gn build: Support building debug binaries from a release build directory.

This change makes it so that all binaries in `bin` have a corresponding
debug binary target `$TARGET.dbg` that will build a debug binary in
`bin.dbg/$TARGET`. This is implemented using a separate toolchain for
the debug builds. This has the following advantages over a separate
debug build directory:

1. Can use release mode tblgen to generate code for the debug build
   binaries, which speeds up the build because it can run tblgen faster as
   well as being able to reuse the tblgen binary from the release build.

2. Can reuse runtimes built in the release mode clang's resource
   directory, avoiding the need to build them again with a slow debug
   build of clang.

Assisted-by: gemini

Reviewers: aeubanks, nico

    [3 lines not shown]
DeltaFile
+408-402llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
+50-42llvm/utils/gn/secondary/BUILD.gn
+37-28llvm/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn
+41-14llvm/utils/gn/build/toolchain/BUILD.gn
+23-13llvm/utils/gn/build/BUILDCONFIG.gn
+16-5llvm/utils/gn/README.rst
+575-50424 files not shown
+616-53230 files

LLVM/project 03ab16cbolt/docs BOLTAArch64OptimizationStatus.md GettingStarted.md

[docs] Finish MyST migration for BOLT docs (#210199)

Tracking issue: #201242
See the [migration guide] for more information. 

[migration guide]:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines
This is a stacked PR based on #210198, which will be a standalone commit
that
renames *.rst -> *.md before this PR lands for history preservation
purposes.

This was prepared with rst2myst plus LLM-assisted cleanup. I paged
through all the generated HTML looking for migration artifacts, and all
of the differences I could find appear to be formatting error
corrections. Please spot check my work and approve if it looks good. You
can use the HTML links below to confirm it renders properly.

-----

    [18 lines not shown]
DeltaFile
+116-116bolt/docs/BOLTAArch64OptimizationStatus.md
+86-103bolt/docs/GettingStarted.md
+32-31bolt/docs/index.md
+234-2503 files

LLVM/project 565ef24llvm/lib/Target/WebAssembly WebAssemblyCleanCodeAfterTrap.cpp WebAssembly.h

[WebAssembly] Port WebAssemblyCleanCodeAfterTrapPass

Standard NewPM pass porting.

Reviewers: sbc100, dschuff, aheejin

Pull Request: https://github.com/llvm/llvm-project/pull/209892
DeltaFile
+23-7llvm/lib/Target/WebAssembly/WebAssemblyCleanCodeAfterTrap.cpp
+10-2llvm/lib/Target/WebAssembly/WebAssembly.h
+2-2llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+2-0llvm/lib/Target/WebAssembly/WebAssemblyPassRegistry.def
+1-1llvm/lib/Target/WebAssembly/WebAssemblyCodeGenPassBuilder.cpp
+38-125 files

LLVM/project 49a1341clang/docs DebuggingCoroutines.rst DebuggingCoroutines.md, llvm/test/CodeGen/AArch64 sve-fixed-length-fp-extend-bf16.ll sve-fixed-length-fp-extend-trunc-bf16.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+0-1,295clang/docs/DebuggingCoroutines.rst
+1,270-0clang/docs/DebuggingCoroutines.md
+852-327llvm/test/Transforms/LoopIdiom/cyclic-redundancy-check.ll
+0-1,007clang/docs/BoundsSafety.rst
+994-0llvm/test/CodeGen/AArch64/sve-fixed-length-fp-extend-bf16.ll
+0-994llvm/test/CodeGen/AArch64/sve-fixed-length-fp-extend-trunc-bf16.ll
+3,116-3,6231,102 files not shown
+37,381-16,6241,108 files

LLVM/project d0dd060llvm/test/CodeGen/AMDGPU llvm.amdgcn.intersect_ray.ll llvm.amdgcn.exp.compr.ll, llvm/test/CodeGen/AMDGPU/GlobalISel llvm.amdgcn.intersect_ray.ll

[NFC] Use new target triple for some tests (#210202)

They were mistakenly reverted back to the old ones.
DeltaFile
+15-15llvm/test/CodeGen/AMDGPU/llvm.amdgcn.intersect_ray.ll
+6-6llvm/test/CodeGen/AMDGPU/llvm.amdgcn.exp.compr.ll
+5-5llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.intersect_ray.ll
+4-4llvm/test/CodeGen/AMDGPU/llvm.amdgcn.dual_intersect_ray.ll
+2-2llvm/test/CodeGen/AMDGPU/s-wakeup-barrier.ll
+2-2llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tanh.ll
+34-341 files not shown
+35-357 files

LLVM/project 2494e80llvm/lib/Target/WebAssembly WebAssemblyFixBrTableDefaults.cpp WebAssembly.h

[WebAssembly] Port WebAssemblyFixBrTableDefaultsPass

Standard NewPM pass porting.

Reviewers: dschuff, sbc100, aheejin

Pull Request: https://github.com/llvm/llvm-project/pull/209882
DeltaFile
+22-7llvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp
+10-2llvm/lib/Target/WebAssembly/WebAssembly.h
+3-3llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+1-1llvm/lib/Target/WebAssembly/WebAssemblyCodeGenPassBuilder.cpp
+2-0llvm/lib/Target/WebAssembly/WebAssemblyPassRegistry.def
+38-135 files

Linux/linux fce2dfafs/smb/client smb2ops.c smb2misc.c

Merge tag 'v7.2-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6

Pull smb client fixes from Steve French:

 - fallocate fixes

 - unit test fixes

 - fix allocation size after duplicate extents

 - fix check for overlapping data areas

* tag 'v7.2-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
  smb/client: flush dirty data before punching a hole
  smb/client: Use EXPORT_SYMBOL_IF_KUNIT() to export symbols in SMB2
  smb/client: Use EXPORT_SYMBOL_IF_KUNIT() to export symbols
  smb: client: reject overlapping data areas in SMB2 responses
  smb/client: refresh allocation after EOF-extending fallocate
  smb/client: emulate small EOF-extending mode 0 fallocate ranges

    [4 lines not shown]
DeltaFile
+161-22fs/smb/client/smb2ops.c
+25-9fs/smb/client/smb2misc.c
+12-12fs/smb/client/smb1maperror.c
+19-0fs/smb/client/smb2pdu.c
+6-6fs/smb/client/smb2maperror.c
+7-3fs/smb/client/cifsfs.c
+230-525 files not shown
+240-5611 files

LLVM/project 0fc03f0bolt/docs GettingStarted.md GettingStarted.rst

[bolt][docs] Rename BOLT docs to Markdown (#210198)

Tracking issue: #201242
See the [migration guide] for more information. 

[migration guide]:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines

This is the initial straight rename commit. It will probably break the
docs build, but it has to be a separate PR for blame preservation
purposes.
DeltaFile
+255-0bolt/docs/GettingStarted.md
+0-255bolt/docs/GettingStarted.rst
+145-0bolt/docs/BOLTAArch64OptimizationStatus.md
+0-145bolt/docs/BOLTAArch64OptimizationStatus.rst
+0-46bolt/docs/index.rst
+46-0bolt/docs/index.md
+446-4466 files