LLVM/project 627bb2aclang-tools-extra/clang-tidy/bugprone PointerArithmeticOnPolymorphicObjectCheck.cpp, clang-tools-extra/docs ReleaseNotes.md

[clang-tidy] Fix crash on pointer arithmetic with an incomplete type in bugprone-pointer-arithmetic-on-polymorphic-object (#215724)

This commit fixes a crash in clangd / clang-tidy: running
the `bugprone-pointer-arithmetic-on-polymorphic-object` check on code
that does pointer arithmetic on a pointer to an **incomplete type** (a
type that is forward-declared but never defined) makes the matcher hit
an assertion and abort.

AI note: Used AI tools for code analysis and wording polish.
DeltaFile
+10-0clang-tools-extra/test/clang-tidy/checkers/bugprone/pointer-arithmetic-on-polymorphic-object-decl-only.cpp
+10-0clang-tools-extra/test/clang-tidy/checkers/bugprone/pointer-arithmetic-on-polymorphic-object-all.cpp
+6-2clang-tools-extra/clang-tidy/bugprone/PointerArithmeticOnPolymorphicObjectCheck.cpp
+4-0clang-tools-extra/docs/ReleaseNotes.md
+30-24 files

LLVM/project a992451llvm/lib/Target/RISCV RISCVPassRegistry.def RISCVExpandPseudoInsts.cpp, llvm/test/CodeGen/RISCV O3-newpm-pipeline.ll O1-newpm-pipeline.ll

[RISCV] Rename riscv-pre-ra-expand-pseudo (#218106)

From riscv-prera-expand-psuedo. Makes the name more consistent with
other targets (e.g., AMDGPU uses pre-ra) and with our hyphenation in
general.
DeltaFile
+4-4llvm/test/CodeGen/RISCV/prera-expand-pseudo.mir
+2-2llvm/test/CodeGen/RISCV/mir-target-flags.ll
+1-1llvm/test/CodeGen/RISCV/O3-newpm-pipeline.ll
+1-1llvm/test/CodeGen/RISCV/O1-newpm-pipeline.ll
+1-1llvm/lib/Target/RISCV/RISCVPassRegistry.def
+1-1llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
+10-106 files

FreeBSD/src a209aaclibexec/nuageinit nuageinit

nuageinit: root should be allowed to log in when disable_root is false

PermitRootLogin is "no" by default and that stopped root from logging in
even though disable_root was set to false during initialization.

Reviewed by:    bapt
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D59101
DeltaFile
+2-0libexec/nuageinit/nuageinit
+2-01 files

LLVM/project 0836f71llvm/lib/Target/RISCV RISCVExpandPseudoInsts.cpp RISCV.h

[RISCV][NewPM] Fix Up PreRAExpandPseudo (#218105)

- Add missing MFPropsModifier
- Mark pass as required
DeltaFile
+1-1llvm/lib/Target/RISCV/RISCV.h
+1-0llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
+2-12 files

LLVM/project 1e0f480llvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp, llvm/test/CodeGen/AArch64/GlobalISel legalize-extracts.mir

[AArch64][GlobalISel] Use a integer type for extract narrowing. (#216254)
DeltaFile
+4-4llvm/test/CodeGen/AArch64/GlobalISel/legalize-extracts.mir
+1-1llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
+1-1llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+6-63 files

LLVM/project c86dbf2llvm/lib/Target/RISCV RISCVTargetMachine.cpp RISCV.h

[RISCV][NFC] Avoid PassPass in RISCVCodeGenPrepare (#218081)
DeltaFile
+8-8llvm/lib/Target/RISCV/RISCVCodeGenPrepare.cpp
+1-1llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+1-1llvm/lib/Target/RISCV/RISCV.h
+10-103 files

LLVM/project eef6a98llvm/include/llvm/IR VPIntrinsics.def, llvm/lib/CodeGen/SelectionDAG MatchContext.h LegalizeVectorOps.cpp

[DAG] Remove trivial VP SDNodes. NFC

This removes the codegen parts of the trivial VP intrinsics. It's quite far reaching, but the general categories of code removed are:

- Removing definitions from VPIntrinsics.def
- Legalization and expansion code
- MatchContext used to match over both VP and non-VP nodes
- Some dead DAGCombines and folds in SelectionDAGBuilder

There are still more things to be cleaned up after this, e.g. removing more of the VPIntrinsic class hierarchy, removing ExpandVectorPredication/moving expansion into other places, removing MatchContext from SDPatternMatch
DeltaFile
+80-283llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+3-340llvm/include/llvm/IR/VPIntrinsics.def
+6-336llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+47-282llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+7-217llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
+0-182llvm/lib/CodeGen/SelectionDAG/MatchContext.h
+143-1,64011 files not shown
+188-2,01417 files

LLVM/project 0a16802llvm/lib/Target/VE VVPNodes.def

[VE] Remove trivial VP SDNode mappings. NFC

These SDNodes aren't emitted anymore and will be removed in an upcoming patch.
DeltaFile
+9-9llvm/lib/Target/VE/VVPNodes.def
+9-91 files

LLVM/project beacbc8llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp LegalizeVectorOps.cpp, llvm/test/CodeGen/VE/Vector vp_urem.ll vp_srem.ll

[DAG] Expand vp.*rem and vp.cttz.elts with non-vp nodes. (#217864)

Trivial VP SDNodes will be removed in an upcoming patch. The division is
still predicated so we avoid UB.
DeltaFile
+24-12llvm/test/CodeGen/VE/Vector/vp_urem.ll
+24-12llvm/test/CodeGen/VE/Vector/vp_srem.ll
+5-5llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
+3-5llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+56-344 files

FreeBSD/ports 6b6575awww/tinyauth Makefile distinfo

www/tinyauth: Update to 5.1.3

ChangeLog: https://github.com/tinyauthapp/tinyauth/releases/tag/v5.1.3
DeltaFile
+7-7www/tinyauth/distinfo
+2-3www/tinyauth/Makefile
+9-102 files

FreeBSD/ports 7ae3415www/homepage distinfo Makefile

www/homepage: Update to 2.1.2

ChangeLogs:

- https://github.com/gethomepage/homepage/releases/tag/v2.0.0
- https://github.com/gethomepage/homepage/releases/tag/v2.1.0
- https://github.com/gethomepage/homepage/releases/tag/v2.1.1
- https://github.com/gethomepage/homepage/releases/tag/v2.1.2
DeltaFile
+4,129-3,553www/homepage/pkg-plist
+3-3www/homepage/distinfo
+3-3www/homepage/Makefile
+4,135-3,5593 files

FreeBSD/ports 2ffc510sysutils/go-ntfy Makefile distinfo

sysutils/go-ntfy: Update to 2.27.0

ChangeLog: https://github.com/binwiederhier/ntfy/releases/tag/v2.27.0
DeltaFile
+7-7sysutils/go-ntfy/distinfo
+2-3sysutils/go-ntfy/Makefile
+9-102 files

FreeBSD/ports 7cfe04ewww/pocket-id Makefile distinfo

www/pocket-id: Update to 2.14.0

ChangeLogs:

- https://github.com/pocket-id/pocket-id/releases/tag/v2.13.0
- https://github.com/pocket-id/pocket-id/releases/tag/v2.14.0
DeltaFile
+7-7www/pocket-id/distinfo
+1-2www/pocket-id/Makefile
+8-92 files

FreeBSD/ports 53617b7www/filebrowser-quantum Makefile distinfo

www/filebrowser-quantum: Update to 1.5.3

ChangeLogs:

- https://github.com/gtsteffaniak/filebrowser/releases/tag/v1.5.1-stable
- https://github.com/gtsteffaniak/filebrowser/releases/tag/v1.5.2-stable
- https://github.com/gtsteffaniak/filebrowser/releases/tag/v1.5.3-stable
DeltaFile
+7-7www/filebrowser-quantum/distinfo
+5-6www/filebrowser-quantum/Makefile
+12-132 files

FreeBSD/ports 4af0a2dnet/dataplaneapi Makefile distinfo

net/dataplaneapi: Update to 3.4.2

ChangeLogs:

- https://github.com/haproxytech/dataplaneapi/releases/tag/v3.4.1
- https://github.com/haproxytech/dataplaneapi/releases/tag/v3.4.2
DeltaFile
+5-5net/dataplaneapi/distinfo
+2-3net/dataplaneapi/Makefile
+7-82 files

FreeBSD/ports b56600amultimedia/supersonic Makefile distinfo, multimedia/supersonic/files patch-vendor_github.com_go-gl_glfw_v3.4_glfw_c__glfw__bsd.go

multimedia/supersonic: Update to 0.22.1

ChangeLogs:

- https://github.com/supersonic-app/supersonic/releases/tag/v0.22.0
- https://github.com/supersonic-app/supersonic/releases/tag/v0.22.1
DeltaFile
+5-5multimedia/supersonic/distinfo
+10-0multimedia/supersonic/files/patch-vendor_github.com_go-gl_glfw_v3.4_glfw_c__glfw__bsd.go
+5-2multimedia/supersonic/Makefile
+20-73 files

FreeBSD/ports ba2f3d2sysutils/py-healthchecks distinfo Makefile

sysutils/py-healthchecks: Update to 4.3

ChangeLog: https://github.com/healthchecks/healthchecks/releases/tag/v4.3
DeltaFile
+120-110sysutils/py-healthchecks/pkg-plist
+3-3sysutils/py-healthchecks/distinfo
+4-2sysutils/py-healthchecks/Makefile
+127-1153 files

FreeBSD/ports 8bfccfbsysutils/nginx-ui distinfo Makefile, sysutils/nginx-ui/files app.ini

sysutils/nginx-ui: Update to 2.5.10

* Set 'RestartCmd = "service nginx restart"' in app.ini to restart NGINX
  correctly.

ChangeLogs:

- https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.0
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.1
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.2
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.3
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.4
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.5
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.6
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.7
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.8
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.9
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.10
DeltaFile
+7-7sysutils/nginx-ui/distinfo
+7-7sysutils/nginx-ui/Makefile
+3-0sysutils/nginx-ui/files/app.ini
+17-143 files

FreeBSD/ports e394880www/py-dj60-django-stubs-ext Makefile distinfo, www/py-dj60-django-stubs-ext/files patch-pyproject.toml

www/py-dj60-django-stubs-ext: Update to 6.0.9

ChangeLogs:

- https://github.com/typeddjango/django-stubs/releases/tag/6.0.8
- https://github.com/typeddjango/django-stubs/releases/tag/6.0.9
DeltaFile
+3-3www/py-dj60-django-stubs-ext/files/patch-pyproject.toml
+3-3www/py-dj60-django-stubs-ext/distinfo
+1-1www/py-dj60-django-stubs-ext/Makefile
+7-73 files

FreeBSD/ports e99233cwww/rustypaste Makefile Makefile.crates

www/rustypaste: Update to 0.18.0

ChangeLog: https://github.com/orhun/rustypaste/releases/tag/v0.18.0
DeltaFile
+429-423www/rustypaste/distinfo
+213-210www/rustypaste/Makefile.crates
+1-2www/rustypaste/Makefile
+643-6353 files

FreeBSD/ports 2b1871awww/py-yubal Makefile distinfo, www/py-yubal-api Makefile distinfo

www/py-yubal{,-api}: Update to 0.10.0

ChangeLog: https://github.com/guillevc/yubal/releases/tag/v0.10.0
DeltaFile
+13-13www/py-yubal-api/pkg-plist
+5-5www/py-yubal-api/distinfo
+3-3www/py-yubal/distinfo
+1-1www/py-yubal/Makefile
+1-1www/py-yubal-api/Makefile
+23-235 files

FreeBSD/ports 1f2f9d6archivers/py-zipstream-ng Makefile distinfo

archivers/py-zipstream-ng: Update to 1.9.3
DeltaFile
+3-3archivers/py-zipstream-ng/distinfo
+1-1archivers/py-zipstream-ng/Makefile
+4-42 files

FreeBSD/ports 7108424dns/adns Makefile

dns/adns: strip binaries
DeltaFile
+4-4dns/adns/Makefile
+4-41 files

FreeBSD/ports 5e0af0ewww/thirtybees distinfo Makefile

www/thirtybees: Update to 1.7.0
DeltaFile
+784-30www/thirtybees/pkg-plist
+6-3www/thirtybees/Makefile
+3-3www/thirtybees/distinfo
+793-363 files

HardenedBSD/src 5e8206ashare/examples/jails jib, sys/dev/intel spi_pci.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+74-29sys/dev/sound/pci/hdsp-pcm.c
+63-7sys/powerpc/ofw/ofw_pcibus.c
+48-0sys/dev/intel/spi_pci.c
+20-27share/examples/jails/jib
+13-13sys/dev/sound/pci/hdsp.c
+25-0sys/dev/pci/pci.c
+243-7611 files not shown
+277-10317 files

HardenedBSD/src b0e228cshare/examples/jails jib, sys/dev/intel spi_pci.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+74-29sys/dev/sound/pci/hdsp-pcm.c
+63-7sys/powerpc/ofw/ofw_pcibus.c
+48-0sys/dev/intel/spi_pci.c
+20-27share/examples/jails/jib
+13-13sys/dev/sound/pci/hdsp.c
+25-0sys/dev/pci/pci.c
+243-7611 files not shown
+277-10317 files

HardenedBSD/ports fd7db97devel/liblouis pkg-plist, emulators/fbneo/files patch-src_cpu_m68k_m68k.h

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+0-349www/wordpress/files/patch-7.0.3-to-7.0.4
+54-0emulators/fbneo/files/patch-src_cpu_m68k_m68k.h
+27-18sysutils/powerman/Makefile
+37-0sysutils/powerman/files/patch-t_t0039-llnl-el-capitan-cluster.t
+23-5devel/liblouis/pkg-plist
+18-7sysutils/powerman/pkg-plist
+159-37962 files not shown
+433-54368 files

LLVM/project cdc94fallvm/lib/Target/WebAssembly WebAssemblyPassRegistry.def WebAssemblyTargetMachine.cpp, llvm/lib/Target/WebAssembly/GISel WebAssemblyPreLegalizerCombiner.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+58-28llvm/lib/Target/WebAssembly/GISel/WebAssemblyPreLegalizerCombiner.cpp
+9-2llvm/lib/Target/WebAssembly/WebAssembly.h
+2-4llvm/lib/Target/WebAssembly/WebAssemblyCodeGenPassBuilder.cpp
+2-2llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+1-0llvm/lib/Target/WebAssembly/WebAssemblyPassRegistry.def
+72-365 files

LLVM/project 994f542llvm/lib/Target/WebAssembly WebAssemblyPassRegistry.def WebAssemblyTargetMachine.cpp, llvm/lib/Target/WebAssembly/GISel WebAssemblyPreLegalizerCombiner.cpp WebAssemblyPostLegalizerCombiner.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+57-30llvm/lib/Target/WebAssembly/GISel/WebAssemblyPostLegalizerCombiner.cpp
+58-28llvm/lib/Target/WebAssembly/GISel/WebAssemblyPreLegalizerCombiner.cpp
+18-4llvm/lib/Target/WebAssembly/WebAssembly.h
+4-8llvm/lib/Target/WebAssembly/WebAssemblyCodeGenPassBuilder.cpp
+4-4llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+2-0llvm/lib/Target/WebAssembly/WebAssemblyPassRegistry.def
+143-746 files

LLVM/project aa8d1afllvm/test/Feature codegen-plugin-passes.mir, llvm/tools/llc NewPMDriver.cpp llc.cpp

[llc] Register pass plugin callbacks with the new pass manager (#217727)

llc loads the libraries given to `--load-pass-plugin`, but only ever
invokes their
`PreCodeGenCallback`; the plugins' `PassBuilder` callbacks are never
registered, so a pass
provided by a plugin cannot be named in `-passes`. Register them in the
new PM driver,
matching what opt does in `llvm/tools/opt/NewPMDriver.cpp`.

This is visible with LLVM's own example plugin, which opt accepts and
llc rejects:

$ opt -load-pass-plugin=lib/Bye.so -passes=goodbye -disable-output f.ll
$ llc -load-pass-plugin=lib/Bye.so -passes=goodbye f.mir -o /dev/null
    unknown pass name 'goodbye'

Claude Code helped me navigate the codebase.
DeltaFile
+17-0llvm/test/Feature/codegen-plugin-passes.mir
+8-8llvm/tools/llc/NewPMDriver.h
+4-4llvm/tools/llc/llc.cpp
+4-1llvm/tools/llc/NewPMDriver.cpp
+33-134 files