LLVM/project 5798791llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/test/Transforms/InstCombine select-cmpxchg.ll

[InstCombine] Allow simplifying FP selects of cmpxchg instructions. (#181977)

We already simplify selects that test the flag returned by a cmpxchg and
select between the value the cmpxchg loaded and the compare operand.

This patch extends the fold to FP (and vector) compare-exchange
operations, where the compare operand and loaded value are bitcast.
DeltaFile
+67-0llvm/test/Transforms/InstCombine/select-cmpxchg.ll
+26-2llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+93-22 files

LLVM/project 44a15dcclang/lib/Analysis/LifetimeSafety Origins.cpp FactsGenerator.cpp, clang/test/Sema warn-lifetime-safety-suggestions.cpp

lambda and captured this
DeltaFile
+8-5clang/lib/Analysis/LifetimeSafety/Origins.cpp
+11-0clang/test/Sema/warn-lifetime-safety-suggestions.cpp
+3-2clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+22-73 files

FreeBSD/src a31127esys/sys syscallsubr.h

sys/syscallsubr.h: assorted tidying

- gc unused struct kevent
- sort kern_frmdirat, kern_funlinkat, kern_kexec_load, and kern_kqueue
- put user_ functions in their own section

Effort:         CHERI upstreaming
Reviewed by:    kib
Sponsored by:   Innovate UK
Differential Revision:  https://reviews.freebsd.org/D55309
DeltaFile
+15-15sys/sys/syscallsubr.h
+15-151 files

FreeBSD/src 1e18927.github/workflows cross-bootstrap-tools.yml

.github: support all stable branches

If this eventually poses a problem for unsupported branches we can fix
them directly.

Sponsored by:   Innovate UK

Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D53838
DeltaFile
+1-1.github/workflows/cross-bootstrap-tools.yml
+1-11 files

FreeBSD/src 2adc3f0include stddef.h, sys/sys _offsetof.h stddef.h

stddef.h: centralize definition of offsetof()

Move to sys/_offsetof.h and use __builtin_offsetof() instead of
__offsetof to avoid reintroducing sys/cdefs.h polution in stddef.h.

This has the side effect of allowing sys/stddef.h to be included after
stddef.h which can happen in compatability headers.

Effort:         CHERI upstreaming
Sponsored by:   DARPA, AFRL
Reviewed by:    imp, kib
Differential Revision:  https://reviews.freebsd.org/D55307
DeltaFile
+19-0sys/sys/_offsetof.h
+1-4include/stddef.h
+1-2sys/sys/stddef.h
+21-63 files

FreeBSD/src 89c3ae5tools/build stddef.h Makefile

build: add stddef.h to define ptraddr_t as required

Effort:         CHERI upstreaming
Sponsored by:   Innovate UK
Reviewed by:    kib
Co-authored-by: Alfredo Mazzinghi <am2419 at cl.cam.ac.uk>
Co-authored-by: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
Differential Revision:  https://reviews.freebsd.org/D55308
DeltaFile
+49-0tools/build/stddef.h
+3-0tools/build/Makefile
+52-02 files

FreeBSD/src cb59eecinclude stddef.h

stddef.h: add ptraddr_t

I'd missed that stddef.h is standalone and isn't a copy of sys/stddef.h
in my initial merge.

Effort:         CHERI upstreaming
Reviewed by:    kib
Sponsored by:   Innovate UK
Fixes:          dca634d1544b ("new type: ptraddr_t")
Differential Revision:  https://reviews.freebsd.org/D55305
DeltaFile
+7-0include/stddef.h
+7-01 files

FreeBSD/src 6d5a428usr.sbin/virtual_oss/virtual_bt_speaker bt_speaker.c, usr.sbin/virtual_oss/virtual_equalizer equalizer.c

virtual_oss: Add SPDX-License-Identifier tags

Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
DeltaFile
+2-0usr.sbin/virtual_oss/virtual_equalizer/equalizer.c
+2-0usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c
+2-0usr.sbin/virtual_oss/virtual_oss/audio_delay.c
+2-0usr.sbin/virtual_oss/virtual_oss/backend.h
+2-0usr.sbin/virtual_oss/virtual_oss/compressor.c
+2-0usr.sbin/virtual_oss/virtual_oss/ctl.c
+12-010 files not shown
+32-016 files

FreeBSD/src d6bec77usr.sbin/yppush yppush_extern.h

yppush: Add SPDX-License-Identifier tag

Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
DeltaFile
+2-0usr.sbin/yppush/yppush_extern.h
+2-01 files

LLVM/project c29779fllvm/lib/Target/SPIRV SPIRVGlobalRegistry.cpp SPIRVGlobalRegistry.h

rename
DeltaFile
+94-84llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
+4-4llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
+98-882 files

LLVM/project 5a5e2bfllvm/lib/Target/SPIRV SPIRVGlobalRegistry.cpp SPIRVGlobalRegistry.h

[NFC][SPIRV] Remove last uses of SPIRVType and do some renaming for consistency
DeltaFile
+50-47llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
+7-5llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
+4-4llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
+0-6llvm/lib/Target/SPIRV/SPIRVTypeInst.h
+61-624 files

LLVM/project 3c31c0fllvm/lib/Target/SPIRV SPIRVGlobalRegistry.h SPIRVTypeInst.h

[NFC][SPIRV] Replace `SPIRVType` with `SPIRVTypeInst`
DeltaFile
+4-4llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
+1-1llvm/lib/Target/SPIRV/SPIRVTypeInst.h
+1-1llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
+6-63 files

LLVM/project 0e2fac0mlir/docs/DefiningDialects Operations.md AttributesAndTypes.md, mlir/lib/TableGen AttrOrTypeDef.cpp

[MLIR][TableGen] Add inheritableExtraClassDeclaration/Definition for Op and AttrOrTypeDef
DeltaFile
+98-0mlir/test/mlir-tblgen/op-decl-and-defs.td
+82-0mlir/test/mlir-tblgen/attrdefs.td
+82-0mlir/test/mlir-tblgen/typedefs.td
+42-0mlir/lib/TableGen/AttrOrTypeDef.cpp
+39-0mlir/docs/DefiningDialects/Operations.md
+24-0mlir/docs/DefiningDialects/AttributesAndTypes.md
+367-07 files not shown
+432-413 files

LLVM/project 3239246llvm/include/llvm/CodeGen Rematerializer.h, llvm/lib/CodeGen Rematerializer.cpp CMakeLists.txt

[CodeGen] Introduce MIR-level target-independent rematerialization helper (#177080)

This introduces a `Rematerializer` class that identifies register
rematerialization opportunities within a machine function and provides
an API to easily perform those rematerializations with a high level of
control. Its key feature is its ability to model relationships between
rematerializable registers and rematerialize arbitrarily complex groups
of registers at once to specific locations. The class comment describes
the underlying model in details.

This includes unit tests for the class to both verify its correct
behavior and showcase its current rematerialization capabilities.

This hopefully can be a step toward addressing long-standing
rematerialization limitations in LLVM backends. In the future, the goal
is to pair this support with generic or target-dependent strategies for
picking the best rematerialization opportunities to perform to achieve
some kind of objective (e.g., a specific register pressure target in
scheduling regions). As a concrete example, I intend to use this in the
AMDGPU scheduler to help in reducing spilling and/or increasing
occupancy in kernels.
DeltaFile
+789-0llvm/lib/CodeGen/Rematerializer.cpp
+592-0llvm/unittests/CodeGen/RematerializerTest.cpp
+475-0llvm/include/llvm/CodeGen/Rematerializer.h
+1-0llvm/lib/CodeGen/CMakeLists.txt
+1-0llvm/unittests/CodeGen/CMakeLists.txt
+1,858-05 files

LLVM/project 87eee80clang/test/CodeGenHIP printf.cpp printf_nonhostcall.cpp, llvm/lib/Transforms/Utils AMDGPUEmitPrintf.cpp

[AMDGPUEmitPrintf] Use CreatePtrDiff() (#182283)

Use CreatePtrDiff() to emit the pointer subtraction, which will use
ptrtoaddr instead of ptrtoint.

Add a conservative cast to i64 as the return value of CreatePtrDiff is
no longer guaranteed to be a i64.
DeltaFile
+20-20clang/test/CodeGenHIP/printf.cpp
+18-18clang/test/CodeGenHIP/printf_nonhostcall.cpp
+2-3llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
+40-413 files

LLVM/project e24526cllvm/lib/Target/NVPTX NVPTXCtorDtorLowering.cpp, llvm/test/CodeGen/NVPTX lower-ctor-dtor.ll

[NVPTXCtorDtorLowering] Removing unnecessary pointer arithmetic (#182269)

This code was computing `begin + ((end - begin) exact/ 8) * 8`, which is
a very complicated way to spell `end`.
DeltaFile
+3-10llvm/lib/Target/NVPTX/NVPTXCtorDtorLowering.cpp
+1-6llvm/test/CodeGen/NVPTX/lower-ctor-dtor.ll
+4-162 files

FreeBSD/ports a77e464audio/subtui distinfo Makefile

audio/subtui: Update to 2.5.0

Changelog: https://github.com/MattiaPun/SubTUI/releases/tag/v2.5.0
DeltaFile
+5-5audio/subtui/distinfo
+1-1audio/subtui/Makefile
+6-62 files

FreeBSD/ports 81470fdnet/haproxy33 distinfo Makefile

net/haproxy33: update to version 3.3.4.
DeltaFile
+3-3net/haproxy33/distinfo
+1-1net/haproxy33/Makefile
+4-42 files

FreeBSD/ports dea6754net/haproxy30 distinfo Makefile

net/haproxy30: update to version 3.0.17.
DeltaFile
+3-3net/haproxy30/distinfo
+1-1net/haproxy30/Makefile
+4-42 files

FreeBSD/ports a187616net/haproxy distinfo Makefile

net/haproxy: update to version 3.2.13.
DeltaFile
+3-3net/haproxy/distinfo
+1-1net/haproxy/Makefile
+4-42 files

LLVM/project 418ba6eclang/lib/CodeGen CGDebugInfo.cpp, clang/test/DebugInfo/CXX callsite-edges.cpp callsite-derived.cpp

[clang][DebugInfo] Add virtuality call-site target information in DWARF. (#167666)

Given the test case:

  struct CBase {
    virtual void foo();
  };

  void bar(CBase *Base) {
    Base->foo();
  }

and using '-emit-call-site-info' with llc, the following DWARF
is produced for the indirect call 'Base->foo()':

1$: DW_TAG_structure_type "CBase"
      ...
2$:   DW_TAG_subprogram "foo"
        ...

    [18 lines not shown]
DeltaFile
+93-0clang/test/DebugInfo/CXX/callsite-edges.cpp
+71-0cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/callsite-dwarf.cpp
+58-0clang/test/DebugInfo/CXX/callsite-derived.cpp
+48-0clang/test/DebugInfo/CXX/callsite-base.cpp
+28-1llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+17-0clang/lib/CodeGen/CGDebugInfo.cpp
+315-118 files not shown
+380-2324 files

LLVM/project 1b0c975llvm/test/Transforms/InstSimplify/ConstProp vector-type-constant-folding.ll

Use named values in tests. (#182102)

Address
https://github.com/llvm/llvm-project/pull/181695#discussion_r2821774068.
DeltaFile
+5-5llvm/test/Transforms/InstSimplify/ConstProp/vector-type-constant-folding.ll
+5-51 files

LLVM/project fa84bdcmlir/include/mlir/TableGen AttrOrTypeDef.h, mlir/lib/TableGen AttrOrTypeDef.cpp Operator.cpp

[MLIR][TableGen] Add inheritableExtraClassDeclaration/Definition for Op and AttrOrTypeDef
DeltaFile
+98-0mlir/test/mlir-tblgen/op-decl-and-defs.td
+82-0mlir/test/mlir-tblgen/attrdefs.td
+82-0mlir/test/mlir-tblgen/typedefs.td
+42-0mlir/lib/TableGen/AttrOrTypeDef.cpp
+14-0mlir/include/mlir/TableGen/AttrOrTypeDef.h
+11-0mlir/lib/TableGen/Operator.cpp
+329-05 files not shown
+369-411 files

LLVM/project f04d3a2mlir/lib/Dialect/Transform/Interfaces TransformInterfaces.cpp

[MLIR] Apply clang-tidy fixes for performance-unnecessary-value-param in TransformInterfaces.cpp (NFC)
DeltaFile
+4-1mlir/lib/Dialect/Transform/Interfaces/TransformInterfaces.cpp
+4-11 files

FreeBSD/ports 4c6fee1editors/zed distinfo Makefile.crates, editors/zed/files patch-Cargo.lock patch-crates_zed_Cargo.toml

editors/zed: Update to 0.224.6

Changelog:
- https://github.com/zed-industries/zed/releases/tag/v0.224.4
- https://github.com/zed-industries/zed/releases/tag/v0.224.5
- https://github.com/zed-industries/zed/releases/tag/v0.224.6

Reported by:    GitHub (watch releases)
DeltaFile
+69-67editors/zed/distinfo
+33-32editors/zed/Makefile.crates
+8-8editors/zed/files/patch-Cargo.lock
+3-3editors/zed/files/patch-crates_zed_Cargo.toml
+2-2editors/zed/files/patch-crates_zed_src_zed.rs
+2-2editors/zed/files/patch-crates_gpui_src_platform.rs
+117-1141 files not shown
+118-1167 files

LLVM/project 6ca0e29mlir/lib/Dialect/Tosa/IR TosaOps.cpp, mlir/test/Dialect/Tosa tosa-infer-shapes.mlir

[mlir][tosa] Refactor convolution infer return type (#178869)

Lots of logic was repeated for Conv2D, Conv3D and Conv2DBlockScaled ops.
This commit factors out common logic to reduce code duplication.

In doing so, a bug in calculating the bias shape was also fixed. Since
DepthwiseConv2D and TransposeConv2D were fixed independently, this
commit fixes #175765.
DeltaFile
+249-190mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
+20-2mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
+269-1922 files

LLVM/project df05694llvm/lib/Target/AMDGPU VOPCInstructions.td, llvm/test/MC/AMDGPU gfx12_asm_vopcx.s gfx12_asm_vopc.s

[AMDGPU] Add VOPC to gfx13
DeltaFile
+1,246-1,232llvm/test/MC/AMDGPU/gfx12_asm_vopcx.s
+737-721llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vopcx.txt
+186-181llvm/lib/Target/AMDGPU/VOPCInstructions.td
+78-50llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+68-28llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vopc.txt
+4-25llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3c.txt
+2,319-2,23723 files not shown
+2,391-2,25329 files

LLVM/project 62d1536llvm/lib/Target/PowerPC PPCInstrInfo.td P10InstrResources.td, llvm/test/MC/Disassembler/PowerPC ppc64le-encoding.txt ppc64-encoding.txt

[PowerPC] Add support for MSGSNDP instruction (#180974)

Message Send Privileged X-form

`msgsndp RB`
```
opcode : 0-5 (5bits)  ===> 31    
RB     : 16-20 (5 bits) 
xo     : 21-30 (10 bits)   ==> 142  

```

---------

Co-authored-by: Tony Varghese <tony.varghese at ibm.com>
DeltaFile
+10-1llvm/lib/Target/PowerPC/PPCInstrInfo.td
+5-0llvm/test/MC/PowerPC/ppc64-encoding.s
+3-0llvm/test/MC/Disassembler/PowerPC/ppc64le-encoding.txt
+2-1llvm/lib/Target/PowerPC/P10InstrResources.td
+2-1llvm/lib/Target/PowerPC/P9InstrResources.td
+3-0llvm/test/MC/Disassembler/PowerPC/ppc64-encoding.txt
+25-31 files not shown
+26-37 files

LLVM/project cc704f8llvm/test/CodeGen/SystemZ fp-sincos-01.ll patchable-function-entry.ll

[SystemZ] Fix duplicate RUN lines in tests (#182273)

DeltaFile
+0-1llvm/test/CodeGen/SystemZ/fp-sincos-01.ll
+0-1llvm/test/CodeGen/SystemZ/patchable-function-entry.ll
+0-22 files

NetBSD/pkgsrc-wip 0555281picom distinfo PLIST

wip/picom: update to 13

v13 (2026-Feb-07)
Bug fixes

    Crash if blur-opacity goes negative. (#1493)
DeltaFile
+3-3picom/distinfo
+2-0picom/PLIST
+1-1picom/Makefile
+6-43 files