LLVM/project 3bb61e8llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll, llvm/test/CodeGen/RISCV clmul.ll

Merge branch 'main' into users/ziqingluo/PR-179150798
DeltaFile
+25,784-36,416llvm/test/CodeGen/RISCV/rvv/clmulh-sdnode.ll
+12,227-23,140llvm/test/CodeGen/RISCV/rvv/clmul-sdnode.ll
+12,991-3,310llvm/test/MC/AMDGPU/gfx13_asm_vop3_dpp16.s
+11,856-3,719llvm/test/MC/AMDGPU/gfx12_asm_vop3_dpp16.s
+4,004-11,142llvm/test/CodeGen/RISCV/clmul.ll
+6,940-6,782llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+73,802-84,5092,934 files not shown
+198,728-209,3352,940 files

LLVM/project c7e815bclang/lib/CodeGen CGExpr.cpp, clang/test/CodeGenHLSL/BasicFeatures OutArgLifetime.hlsl

[HLSL] Emit lifetime.start before copy-in for inout parameters (#191917)

For inout parameters, Clang was emitting lifetime.start after the
copy-in store that initializes the temporary. Per LLVM's lifetime
semantics, any access to memory outside its lifetime is undefined
behavior, so the copy-in store was technically UB and the value was
undefined after lifetime.start.

Move EmitLifetimeStart into EmitHLSLOutArgLValues so that it is emitted
before EmitInitializationToLValue, putting the copy-in store within the
lifetime of the temporary.

---------

Co-authored-by: Alexandre Isoard <alexandre.isoard at amd.com>
Co-authored-by: Deric C. <cheung.deric at gmail.com>
DeltaFile
+91-0clang/test/CodeGenHLSL/BasicFeatures/OutArgLifetime.hlsl
+5-2clang/lib/CodeGen/CGExpr.cpp
+96-22 files

LLVM/project 38df8cblldb/test/API/macosx/deny-attach main.c TestDenyAttach.py, lldb/tools/debugserver/source/MacOSX MachProcess.mm

[lldb] Survive ptrace(PT_DENY_ATTACH) when attaching (#204688) (#205198)

A process can opt out of being debugged with ptrace(PT_DENY_ATTACH). The
XNU kernel enforces this by delivering SIGSEGV to the *attaching*
process while it is still inside the ptrace(PT_ATTACHEXC) syscall. This
means debugserver gets killed before it can inspect the result. LLDB
only sees the dropped connection ("error: attach failed: lost
connection").

The condition can't be detected up front: the target's P_LNOATTACH flag
is not exposed to userspace. To work around this, install a temporary
SIGSEGV handler around the ptrace(PT_ATTACHEXC) call in AttachForDebug
and siglongjmp back out if it fires, turning the fatal signal into an
EPERM that propagates to lldb as a clear message:

```
error: attach failed: cannot attach to process N because it has
disabled debugging via ptrace(PT_DENY_ATTACH)
```

    [7 lines not shown]
DeltaFile
+87-5lldb/tools/debugserver/source/MacOSX/MachProcess.mm
+60-0lldb/test/API/macosx/deny-attach/main.c
+36-0lldb/test/API/macosx/deny-attach/TestDenyAttach.py
+3-0lldb/test/API/macosx/deny-attach/Makefile
+186-54 files

LLVM/project ff4bc6eclang/docs ReleaseNotes.rst, clang/lib/Sema SemaExpr.cpp

[Clang] Fix crash when comparing fixed point type with BitInt (#199912)

Fixes #196948

Added checks in `handleFixedPointConversion`: reject fixed point/BitInt
comparisons

Now clang properly emits an error instead of crashing.

---------

Co-authored-by: cry <2091136672 at foxmail.com>
DeltaFile
+6-1clang/test/SemaCXX/ext-int.cpp
+4-0clang/lib/Sema/SemaExpr.cpp
+1-0clang/docs/ReleaseNotes.rst
+11-13 files

LLVM/project febe8f0clang/test/Analysis/Scalable/PointerFlow entity-name-no-conflict.cpp benign-entity-name-conflict.cpp

Change 'benign-entity-name-conflict.cpp' to
'entity-name-no-conflict.cpp' because it is a USR generation bug even
though the erroneous behavior is benign in this example.
DeltaFile
+27-0clang/test/Analysis/Scalable/PointerFlow/entity-name-no-conflict.cpp
+0-24clang/test/Analysis/Scalable/PointerFlow/benign-entity-name-conflict.cpp
+27-242 files

LLVM/project bc4aadblldb/source/Plugins/ScriptInterpreter/Lua LuaState.cpp

[lldb] Fix LuaState after #205210 (#205219)
DeltaFile
+2-2lldb/source/Plugins/ScriptInterpreter/Lua/LuaState.cpp
+2-21 files

LLVM/project 0b46f55llvm/docs LangRef.md

Migrate 11 tables back from list-table to regular markdown tables
DeltaFile
+80-202llvm/docs/LangRef.md
+80-2021 files

LLVM/project a6986f0flang/lib/Semantics mod-file.cpp, flang/test/Semantics modfile84.f90

[flang][cuda][openacc] Emit an error when CUDA symbols are imported with CUDA disabled (#205207)
DeltaFile
+29-0flang/lib/Semantics/mod-file.cpp
+17-0flang/test/Semantics/modfile84.f90
+46-02 files

LLVM/project 2d0b2fblldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp ProcessGDBRemote.h

Revert "[lldb][Windows] Remember server's primary stop thread on gdb-remote stops" (#205220)

Reverts llvm/llvm-project#203525 because it breaks TestRealDefinition.py
DeltaFile
+0-9lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+0-3lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
+0-122 files

LLVM/project 97394f0llvm/docs LangRef.md

[docs] Rewrite LangRef.md as Markdown
DeltaFile
+14,624-17,431llvm/docs/LangRef.md
+14,624-17,4311 files

LLVM/project c2bc2accompiler-rt/lib/instrumentor-examples/flop-counter rt.h instrumentor_runtime.h, compiler-rt/test/instrumentor-examples lit.cfg.py

[Instrumentor] Add runtime examples: [1/N] A flop counter

This adds a instrumentor-examples folder into compiler RT to showcase
use cases of the instrumentor. The initial example is a program that,
via instrumentation, counts the number of flops performed.

Partially developped by Claude (AI), tested and verified by me.
DeltaFile
+295-0compiler-rt/lib/instrumentor-examples/flop-counter/rt.h
+295-0compiler-rt/lib/instrumentor-examples/flop-counter/instrumentor_runtime.h
+181-0compiler-rt/lib/instrumentor-examples/flop-counter/flop_counter_runtime.cpp
+107-0compiler-rt/lib/instrumentor-examples/flop-counter/README.md
+78-4llvm/lib/Transforms/IPO/Instrumentor.cpp
+70-0compiler-rt/test/instrumentor-examples/lit.cfg.py
+1,026-413 files not shown
+1,406-519 files

LLVM/project bb00708lldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp ProcessGDBRemote.h

Revert "[lldb][Windows] Remember server's primary stop thread on gdb-remote s…"

This reverts commit bd89ac741dff1a6edec15821b719a34ab5646f3f.
DeltaFile
+0-9lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+0-3lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
+0-122 files

LLVM/project c994d6b.github new-prs-labeler.yml, llvm/docs LangRef.md LangRef.rst

[docs] Rename LangRef.{rst|md}

Tracking issue: #201242

This commit does not use valid markdown, so the docs will not build, but they will be fixed in an immediate follow-up commit that does the migration.
DeltaFile
+33,097-0llvm/docs/LangRef.md
+0-33,097llvm/docs/LangRef.rst
+1-1.github/new-prs-labeler.yml
+1-1llvm/docs/AddingConstrainedIntrinsics.rst
+33,099-33,0994 files

OpenBSD/ports pUNHEyQnet/abaddon/patches patch-src_platform_cpp, security/libsodium/patches patch-src_libsodium_crypto_ipcrypt_ipcrypt_aesni_c patch-src_libsodium_crypto_ipcrypt_ipcrypt_armcrypto_c

   */*: remove empty patch files
VersionDeltaFile
1.3+0-0net/abaddon/patches/patch-src_platform_cpp
1.3+0-0security/libsodium/patches/patch-src_libsodium_crypto_ipcrypt_ipcrypt_aesni_c
1.3+0-0security/libsodium/patches/patch-src_libsodium_crypto_ipcrypt_ipcrypt_armcrypto_c
1.3+0-0security/libsodium/patches/patch-src_libsodium_crypto_ipcrypt_ipcrypt_soft_c
1.5+0-0sysutils/py-tsk/patches/patch-setup_py
+0-05 files

OpenBSD/ports hDNt7eMtextproc/cookcli crates.inc

   textproc/cookcli: rm garbage lines now treated as syntax error by make(1)
VersionDeltaFile
1.13+0-2textproc/cookcli/crates.inc
+0-21 files

LLVM/project a7263belldb/include/lldb/Breakpoint Breakpoint.h, lldb/source/Breakpoint Breakpoint.cpp

[lldb] Remove ConstString from Breakpoint::GetMatchingFileLine (#205210)
DeltaFile
+2-1lldb/source/Breakpoint/Breakpoint.cpp
+1-1lldb/include/lldb/Breakpoint/Breakpoint.h
+1-1lldb/source/Commands/CommandObjectBreakpoint.cpp
+4-33 files

LLVM/project e522c11clang/lib/CIR/CodeGen CIRGenExprScalar.cpp, clang/test/CIR/CodeGen unary-expr-or-type-trait-32bit.cpp

[CIR] Use the AST result type for sizeof/alignof constants (#203942)

On targets where `size_t` is narrower than 64 bits (e.g. `i686`), CIR
codegen for `sizeof`/`alignof`/`__builtin_vectorelements` crashes with a
type/value bitwidth mismatch.

The result of these expressions is `size_t`, but the emitted integer
constant was built with a hardcoded 64-bit type. `EvaluateKnownConstInt`
returns an `APSInt` with the width of the AST result type (32 bits on
this target), so it no longer matches the `IntAttr`'s type and trips the
`IntAttr` verifier.

  ### How to Reproduce
  ```c++
  using size_t = decltype(sizeof(int));
  size_t size_of_int() { return sizeof(int); }

  clang -cc1 -std=c++20 -triple i686-unknown-linux-gnu -fclangir \
    -emit-cir test.cpp -o test.cir

    [9 lines not shown]
DeltaFile
+38-0clang/test/CIR/CodeGen/unary-expr-or-type-trait-32bit.cpp
+5-3clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+43-32 files

LLVM/project 62a3a16llvm/lib/Target/AMDGPU AMDGPUISelLowering.cpp SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU s-barrier-signal-var-gep.ll

[AMDGPU] Fold constant offsets into named barrier addresses

Allow isOffsetFoldingLegal to fold a constant offset into an LDS
named-barrier global, and include the node offset when materializing the
LDS address in LowerGlobalAddress. s_barrier_signal_var on a GEP'd named
barrier now selects the immediate form, matching a bare global and GlobalISel.

Change-Id: I2ce500917c3d47cd3687473406decc7430d73361
Assisted-by: Cursor
DeltaFile
+11-5llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+12-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+1-2llvm/test/CodeGen/AMDGPU/s-barrier-signal-var-gep.ll
+24-83 files

LLVM/project 6c5b66bllvm/test/CodeGen/AMDGPU s-barrier-signal-var-gep.ll

[AMDGPU] Pre-commit test for constant-offset named barrier signal_var

A GEP into a named-barrier array (&bars[1]) lowers s_barrier_signal_var to
the dynamic m0 form on SelectionDAG, unlike the bare global and GlobalISel.

Change-Id: I8846eb200b1e28785adfdfcaa082390170f4ea2d
Assisted-by: Cursor
DeltaFile
+63-0llvm/test/CodeGen/AMDGPU/s-barrier-signal-var-gep.ll
+63-01 files

LLVM/project 9e80b89lldb/tools/debugserver/source RNBRemote.cpp

[lldb] Use heuristics to extend rather than replace error message (#205196)

When an attach fails, HandlePacket_A tries to explain why. The last two
checks are heuristics that discard any error debugserver already
produced for this specific failure.

The guess can be wrong, for example the PT_DENY_ATTACH test case from
#204688 is incorrectly reported as failing due to it running in a
non-interactive debug session on the bots.

Include debugserver's real error into the heuristic message, instead of
replacing it, so the real reason is never lost.
DeltaFile
+15-8lldb/tools/debugserver/source/RNBRemote.cpp
+15-81 files

LLVM/project d9a1ed0offload/test CMakeLists.txt

[offload] Add kernel replay tool to tests' dependencies (#205209)
DeltaFile
+4-2offload/test/CMakeLists.txt
+4-21 files

FreeBSD/src e8a3352stand/efi/loader efi_main.c

loader.efi: Fix a comment

Move a comment further up in the file. After the sethead() we need to
use efi_exit(), not after the performance measuring stuff.

Sponsored by:           Netflix
DeltaFile
+2-2stand/efi/loader/efi_main.c
+2-21 files

FreeBSD/src e985c62sys/contrib/edk2/Include/IndustryStandard Acpi61.h, sys/contrib/edk2/Include/Protocol AcpiSystemDescriptionTable.h AcpiTable.h

edk2: Bring in some more files from edk2-stable202502

These are needed for memdisk support, so import them separately.
These are from 202502, like all the other files here.

Sponsored by:           Netflix
DeltaFile
+2,442-0sys/contrib/edk2/Include/IndustryStandard/Acpi61.h
+263-0sys/contrib/edk2/Include/Protocol/AcpiSystemDescriptionTable.h
+121-0sys/contrib/edk2/Include/Protocol/AcpiTable.h
+100-0sys/contrib/edk2/Include/Protocol/RamDisk.h
+2,926-04 files

FreeBSD/src 7f5539dtools/qemu gen_sockopt.sh README.md

qemu: Add tools to generate useful tables from FreeBSD sources

This generates a table of all the socket options with fixed types
so that programs like qemu can use those tables rather than having
to free code thigs.

Sponsored by:           Netflix
DeltaFile
+108-0tools/qemu/gen_sockopt.sh
+6-0tools/qemu/README.md
+114-02 files

FreeBSD/src 198637ausr.bin/vgrind vfontedpr.c regexp.c

vgrind: Tear down vgrind support

vgrind has been disconnected from the build for a while.  Remove from
the build, and gc vgrid support in the few remaining places.

Reviewed by:            jhb
Sponsored by:           Netflix
Differential Revision:  https://reviews.freebsd.org/D57648
DeltaFile
+0-704usr.bin/vgrind/vfontedpr.c
+0-584usr.bin/vgrind/regexp.c
+0-239usr.bin/vgrind/vgrind.1
+0-167usr.bin/vgrind/vgrindefs.5
+0-153usr.bin/vgrind/vgrindefs.src
+0-128usr.bin/vgrind/vgrind.sh
+0-1,97515 files not shown
+5-2,21021 files

FreeBSD/src c7b1b95sys/contrib/edk2/Include/Guid ImageAuthentication.h, sys/contrib/edk2/Include/IndustryStandard Tpm12.h Tpm20.h

edk2: Fixup imported files line endings

Since these files were a direct commit, I don't have to fix the vendor
branch. Remove the DOS line endings. It doesn't matter one way or another,
but we should be consistent within the tree.

Sponsored by:           Netflix
DeltaFile
+2,165-2,165sys/contrib/edk2/Include/IndustryStandard/Tpm12.h
+1,813-1,813sys/contrib/edk2/Include/IndustryStandard/Tpm20.h
+1,220-1,220sys/contrib/edk2/Include/Pi/PiStatusCode.h
+722-722sys/contrib/edk2/Include/IndustryStandard/UefiTcgPlatform.h
+512-512sys/contrib/edk2/Include/Pi/PiHob.h
+385-385sys/contrib/edk2/Include/Guid/ImageAuthentication.h
+6,817-6,8179 files not shown
+7,921-7,92115 files

LLVM/project 3e414a3llvm/docs ProgrammersManual.md SourceLevelDebugging.md

[docs] Migrate 22 popular LLVM docs to MyST (#201244)

This was done with LLM assistance.

I rebuilt the LLVM docs, opened all 22 docs in a browser and scrolled
through them, and caught and fixed a few errors.

Tracking issue: #201242 
Migration guide docs:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines
RFC:
https://discourse.llvm.org/t/rfc-make-myst-markdown-the-llvm-docs-format-rip-rest/90840
DeltaFile
+2,000-2,303llvm/docs/ProgrammersManual.md
+1,306-1,457llvm/docs/SourceLevelDebugging.md
+1,240-1,267llvm/docs/WritingAnLLVMBackend.md
+873-1,057llvm/docs/CodeGenerator.md
+851-906llvm/docs/CodingStandards.md
+883-778llvm/docs/CMake.md
+7,153-7,76817 files not shown
+11,232-12,16523 files

LLVM/project 64d386ellvm/docs ProgrammersManual.md ProgrammersManual.rst

[docs] Rename 22 popular LLVM docs .rst -> .md (#201243)

Tracking issue: #201242
RFC: https://discourse.llvm.org/t/rfc-make-myst-markdown-the-llvm-docs-format-rip-rest/90840
Migration guide: https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines

Update filename references, but leave the docs with reST syntax to
ensure rename detection works.

This intentionally breaks the documentation build, but I will immediately follow up by merging the PR that fixes it.
DeltaFile
+4,257-0llvm/docs/ProgrammersManual.md
+0-4,257llvm/docs/ProgrammersManual.rst
+0-2,502llvm/docs/CodeGenerator.rst
+2,502-0llvm/docs/CodeGenerator.md
+0-2,490llvm/docs/SourceLevelDebugging.rst
+2,490-0llvm/docs/SourceLevelDebugging.md
+9,249-9,24948 files not shown
+23,162-23,16254 files

NetBSD/pkgsrc VndpcOvdoc CHANGES-2026

   doc: Updated editors/vim-share to 9.2.0707
VersionDeltaFile
1.3925+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc J9AySdbeditors/vim-share distinfo PLIST

   Update to version 9.2.0707.

   Changes:
   - patch 9.2.0707: completion: popup misplaced when text before it is concealed
   - runtime(doc): document Solaris as supported OS
   - runtime(dtrace): handle DTrace probe highlighting before action blocks
   - patch 9.2.0706: tests: test_terminal3 may fail when $SHELL is zsh
   - runtime(beancount): Add support for non-ASCII account names
   - patch 9.2.0705: :delete # silently fails to update "# and clobbers "0
   - patch 9.2.0704: GTK4: not handling mouse events
   - patch 9.2.0703: session file does not store relative Vim9 autoload imports
   - patch 9.2.0702: :windo and :tabdo create an extra window with 'winfixbuf'
   - runtime(fennel): Update Last Update header
   - runtime(fennel): add more ";" comment leaders to 'comments'
   - patch 9.2.0701: tests: test_terminal.vim does not wait for job to finish
   - patch 9.2.0700: configure: -lrt requirement for timer_create not detected
   - nsis: Remove NSIS Installer Code
   - patch 9.2.0699: [security]: possible code execution with python complete
   - patch 9.2.0698: [security]: Out-of-bounds write with soundfold()

    [122 lines not shown]
VersionDeltaFile
1.240+4-4editors/vim-share/distinfo
1.92+7-0editors/vim-share/PLIST
1.176+2-2editors/vim-share/version.mk
+13-63 files