LLVM/project 4503872clang/test/CodeGenOpenCL atomic-builtins-default-to-device-scope.cl, llvm/lib/IR Instruction.cpp

[IR][FunctionAttrs] Clarify memory effects of atomics (#193768)

FunctionAttrs was treating atomic instructions, including with ordering
stronger than monotonic, as only reading/writing their operand.

I don't think doing this is correct, because we model the ordering
constraints of synchronizing atomics via reading/writing "all" memory.
So e.g. if you have a function with a release store on an argument,
marking it as argmem-only is wrong, because that would permit reordering
accesses to other locations around it. (What this PR is doing is not
*sufficient* to model this correctly due to the fence-like effects on
not-yet-escaped memory, but it brings us closer to correctness.)

I initially tried to implement mayReadFromMemory() and
mayWriteToMemory() on top of getMemoryEffects(), but this caused
significant compile-time regressions, so I've kept the logic duplicated.
DeltaFile
+135-14llvm/test/Transforms/FunctionAttrs/atomic.ll
+24-28llvm/lib/Transforms/IPO/FunctionAttrs.cpp
+52-0llvm/lib/IR/Instruction.cpp
+20-17clang/test/CodeGenOpenCL/atomic-builtins-default-to-device-scope.cl
+6-6llvm/test/Transforms/FunctionAttrs/nosync.ll
+3-3llvm/test/Transforms/FunctionAttrs/nocapture.ll
+240-682 files not shown
+246-698 files

LLVM/project 8a9a82cllvm/lib/Transforms/Vectorize VPlanTransforms.cpp

[VPlan] Remove redundant vp_merge pattern. NFC (#200116)

m_RemoveMask still matches even if there's no other mask combined, we
just need to check if Mask is null.
DeltaFile
+1-7llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-71 files

LLVM/project 0513c9cutils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes 5dc8711 (#200129)

This fixes 5dc8711b4e553ba0ddab673564ac9b6309862e81.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+1-01 files

LLVM/project a63eacellvm/lib/Transforms/Vectorize VPlanRecipes.cpp

[VPlan] Don't use Ingredient to get type in VPWidenMemoryRecipe (NFC) (#200049)

The scalar load/store type is already available on the recipe: load
recipes inherit from VPSingleDefRecipe and expose it via
getScalarType(); store recipes can derive it from the stored value's
type via VPTypeAnalysis.

This migrates a number of lookups to be based on information already
available in VPlan directly.
DeltaFile
+11-10llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+11-101 files

OpenBSD/src l7fqm4Wusr.sbin/bgpd rde_rib.c

   Ensure rib_dump_abort() only triggers for rib dumps and not for
   adjout prefix dumps by accident.

   OK tb@
VersionDeltaFile
1.299+2-2usr.sbin/bgpd/rde_rib.c
+2-21 files

NetBSD/src c4JbBsoexternal/mit/xorg/lib/libepoxy Makefile

   libepoxy: Update the pkg-config file for new reality.

   PR pkg/60295 x11/gtk3 does not build on NetBSD/macppc
VersionDeltaFile
1.11+2-2external/mit/xorg/lib/libepoxy/Makefile
+2-21 files

NetBSD/src Pd3syDFbin/sh sh.1

   Whitespace & a wrong word fixed.
VersionDeltaFile
1.276+5-5bin/sh/sh.1
+5-51 files

LLVM/project 3a50239llvm/include/llvm/CodeGen/GlobalISel GIMatchTableExecutorImpl.h GIMatchTableExecutor.h, llvm/test/TableGen RegClassByHwMode.td

[GlobalISel] Replace `GIM_CheckFeatures` with `GIM_Try_CheckFeatures` (#198461)

This has two benefits. First, it slightly reduces the size of the match
table.
Secondly, if the target feature is not present, we can directly go to
the fail
case, instead of having to do another loop of the interpreter, speeding
up
rejection of rules that do not have the required target feature.

We could do the same with CheckSimplePredicate but it's less used (only
in the combiners I think)
so it is less of a priority.

```
FILE                                          OLD      NEW    DIFF%    SAME?
----                                      -------  -------    -----    -----
AArch64GenGlobalISel.inc                   192681   185938    -3,5%       no
AArch64GenPostLegalizeGICombiner.inc         4457     4457     0,0%      yes

    [5 lines not shown]
DeltaFile
+27-31llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td
+20-15llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
+9-17llvm/test/TableGen/RegClassByHwMode.td
+10-8llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.cpp
+4-8llvm/test/TableGen/GlobalISelEmitter/HwModes.td
+5-4llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutor.h
+75-831 files not shown
+76-857 files

OpenBSD/src tbmQHTZusr.sbin/bgpd parse.y bgpd.conf.5

   The extended nexthop capability only works with 'fib-update no'
   enfoce this in the parser.

   Right now there is no FIB support for IPv6 nexthops for IPv4 routes.
   Both the bgpd kroute.c code and the OpenBSD network stack are not ready
   for this. This feature is currently only used to allow some IXP to play
   with RFC8950 so no FIB support is fine for that use case.
   Protect other people from tripping over this thinking there is full support.

   Issue brought up by a report from 7Asecurity
   OK tb@
VersionDeltaFile
1.502+14-1usr.sbin/bgpd/parse.y
1.254+4-2usr.sbin/bgpd/bgpd.conf.5
+18-32 files

LLVM/project 597b137mlir/lib/Conversion/ComplexToSPIRV ComplexToSPIRV.cpp, mlir/test/Conversion/ComplexToSPIRV complex-to-spirv.mlir

[mlir][SPIR-V][complex] Convert complex.add/sub/mul/div to SPIR-V ops (#200123)
DeltaFile
+104-2mlir/lib/Conversion/ComplexToSPIRV/ComplexToSPIRV.cpp
+82-0mlir/test/Conversion/ComplexToSPIRV/complex-to-spirv.mlir
+186-22 files

LLVM/project 626f406mlir/lib/Conversion/SPIRVToLLVM SPIRVToLLVM.cpp, mlir/test/Conversion/SPIRVToLLVM gl-ops-to-llvm.mlir

[mlir][SPIRVToLLVM] Add conversions for more GL ops (#200115)
DeltaFile
+78-0mlir/test/Conversion/SPIRVToLLVM/gl-ops-to-llvm.mlir
+6-0mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
+84-02 files

OpenBSD/src CLgS2jiusr.bin/tmux tty.c

   Use the correct ranges when a pane is covered by a popup in tty_draw_pane.
VersionDeltaFile
1.466+39-29usr.bin/tmux/tty.c
+39-291 files

LLVM/project 538140fclang/include module.modulemap

[clang] Add missing BuiltinAnchorSources.def to module map (#200125)

Started with 5db13643f4b7038db0ca304d9f8900122502935c.
DeltaFile
+1-0clang/include/module.modulemap
+1-01 files

LLVM/project af77286mlir/include/mlir/Target/SPIRV SPIRVExtInstSets.h, mlir/lib/Target/SPIRV/Deserialization DeserializeOps.cpp

[mlir][spirv] Add SPIR-V NonSemantic.Graph.DebugInfo (#199519)

Add serialization and deserialization support for the SPIR-V
NonSemantic.Graph.DebugInfo.1 extended instruction set used by ARM graph
modules.
    
When debug info emission is enabled, serialize DebugGraph,
DebugOperation,
and DebugTensor records for graph objects, TOSA operations, graph
tensors,
and tensor constants. Emit the records after the SPIR-V objects they
reference, and make DebugOperation point at the DebugGraph result id.
    
Deserialize these records back into MLIR locations and diagnose
malformed
or undefined debug-info references.
    
Enable SPV_KHR_non_semantic_info in the default TOSA-to-SPIR-V target
environment so debug info can be emitted by default.

    [7 lines not shown]
DeltaFile
+159-0mlir/lib/Target/SPIRV/Serialization/SerializeOps.cpp
+143-0mlir/test/Target/SPIRV/graph-debug-info.mlir
+115-2mlir/lib/Target/SPIRV/Deserialization/DeserializeOps.cpp
+81-0mlir/unittests/Dialect/SPIRV/DeserializationTest.cpp
+48-0mlir/include/mlir/Target/SPIRV/SPIRVExtInstSets.h
+30-5mlir/lib/Target/SPIRV/Serialization/Serializer.cpp
+576-76 files not shown
+634-1312 files

FreeBSD/src 6e2940ausr.sbin/lpr/lpd lpd.8

lpd: Reorder option list in manual page

MFC after:      1 week
Reviewed by:    ziaee, markj
Differential Revision:  https://reviews.freebsd.org/D57182

(cherry picked from commit 8e917789732ae02a480e8756899d3bc6d99fe5d8)
DeltaFile
+18-24usr.sbin/lpr/lpd/lpd.8
+18-241 files

FreeBSD/src 7c11b5fusr.sbin/lpr/lpd printjob.c

lpd: Avoid buffer overflow when sending a job

When forwarding a print job to a remote server, we could overflow the
command buffer if a control or data file had a very long name.

MFC after:      1 week
Reported by:    Joshua Rogers <joshua at joshua.hu>
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57184

(cherry picked from commit f2c7c5f94803b67a9a6af625d4fc8882d2afda6c)
DeltaFile
+20-11usr.sbin/lpr/lpd/printjob.c
+20-111 files

FreeBSD/src 94da67busr.sbin/lpr/lpd printjob.c

lpd: Style and whitespace cleanup

No functional change intended.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57186

(cherry picked from commit 123591e41c559fc2ae0f179f1385df05132881da)
DeltaFile
+92-99usr.sbin/lpr/lpd/printjob.c
+92-991 files

FreeBSD/src 980ead5usr.sbin/lpr/lpd printjob.c

lpd: Fix issues reported by clang-analyzer

Also, unlink our temporary file if we fail to chmod it.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57185

(cherry picked from commit 0f3e14870906da22a7ca821fb2153d375157cac2)
DeltaFile
+20-19usr.sbin/lpr/lpd/printjob.c
+20-191 files

FreeBSD/src 5f10e36usr.sbin/lpr/lpd lpd.8 lpd.c

lpd: Drop deprecated -p option

This alias for the -s option has been deprecated since 2002.  Time to
drop it from the documentation.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57183

(cherry picked from commit 6047f6a21085ae3877228f8df19a0d4bce45905f)
DeltaFile
+1-10usr.sbin/lpr/lpd/lpd.8
+0-3usr.sbin/lpr/lpd/lpd.c
+1-132 files

FreeBSD/src 85852feusr.sbin/lpr/lpd lpd.c lpd.8

lpd: Restore ability to specify a port number

This has been broken since IPv6 support was added in 2000.  We would
validate the port number (which had to be a port number, but can now
also be a service name) and then ignore it.

MFC after:      1 week
Fixes:          08829865f659 ("IPv6 support for lpr.")
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57181

(cherry picked from commit c0cae7d8da50daa87af4cd6d7c9a2043343b506f)
DeltaFile
+9-19usr.sbin/lpr/lpd/lpd.c
+10-9usr.sbin/lpr/lpd/lpd.8
+19-282 files

FreeBSD/src b734006usr.sbin/lpr/chkprintcap chkprintcap.8, usr.sbin/lpr/lp lp.1

lpr: Add deprecation notice

These programs require elevated privileges to work and have not seen
regular maintenance in decades.  Unless someone steps up and overhauls
them, we will have to remove them before 16.0.  Better-maintained
alternatives are available in ports (print/cups, sysutils/LPRng).

MFC after:      3 days

(cherry picked from commit d57dee7ab66f60537b557cb602be194e3eed253d)
DeltaFile
+3-0usr.sbin/lpr/chkprintcap/chkprintcap.8
+3-0usr.sbin/lpr/lp/lp.1
+3-0usr.sbin/lpr/lpc/lpc.8
+3-0usr.sbin/lpr/lpd/lpd.8
+3-0usr.sbin/lpr/lpq/lpq.1
+3-0usr.sbin/lpr/lpr/lpr.1
+18-04 files not shown
+30-010 files

FreeBSD/src 02f9207usr.sbin/lpr/lpd printjob.c

lpd: Avoid buffer overflow when sending a job

When forwarding a print job to a remote server, we could overflow the
command buffer if a control or data file had a very long name.

MFC after:      1 week
Reported by:    Joshua Rogers <joshua at joshua.hu>
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57184

(cherry picked from commit f2c7c5f94803b67a9a6af625d4fc8882d2afda6c)
DeltaFile
+20-11usr.sbin/lpr/lpd/printjob.c
+20-111 files

FreeBSD/src 966ed82usr.sbin/lpr/lpd lpd.8

lpd: Reorder option list in manual page

MFC after:      1 week
Reviewed by:    ziaee, markj
Differential Revision:  https://reviews.freebsd.org/D57182

(cherry picked from commit 8e917789732ae02a480e8756899d3bc6d99fe5d8)
DeltaFile
+18-24usr.sbin/lpr/lpd/lpd.8
+18-241 files

FreeBSD/src eb5bab2usr.sbin/lpr/lpd lpd.c lpd.8

lpd: Restore ability to specify a port number

This has been broken since IPv6 support was added in 2000.  We would
validate the port number (which had to be a port number, but can now
also be a service name) and then ignore it.

MFC after:      1 week
Fixes:          08829865f659 ("IPv6 support for lpr.")
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57181

(cherry picked from commit c0cae7d8da50daa87af4cd6d7c9a2043343b506f)
DeltaFile
+9-19usr.sbin/lpr/lpd/lpd.c
+10-9usr.sbin/lpr/lpd/lpd.8
+19-282 files

FreeBSD/src a895394usr.sbin/lpr/lpd lpd.8 lpd.c

lpd: Drop deprecated -p option

This alias for the -s option has been deprecated since 2002.  Time to
drop it from the documentation.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57183

(cherry picked from commit 6047f6a21085ae3877228f8df19a0d4bce45905f)
DeltaFile
+1-10usr.sbin/lpr/lpd/lpd.8
+0-3usr.sbin/lpr/lpd/lpd.c
+1-132 files

FreeBSD/src b3a76abusr.sbin/lpr/lpd printjob.c

lpd: Fix issues reported by clang-analyzer

Also, unlink our temporary file if we fail to chmod it.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57185

(cherry picked from commit 0f3e14870906da22a7ca821fb2153d375157cac2)
DeltaFile
+20-19usr.sbin/lpr/lpd/printjob.c
+20-191 files

FreeBSD/src c4a0289usr.sbin/lpr/lpd printjob.c

lpd: Style and whitespace cleanup

No functional change intended.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57186

(cherry picked from commit 123591e41c559fc2ae0f179f1385df05132881da)
DeltaFile
+92-99usr.sbin/lpr/lpd/printjob.c
+92-991 files

FreeBSD/ports afdd7afsecurity Makefile, security/infisical-cli Makefile pkg-descr

security/infisical-cli: add new port for the official Infisical CLI

The Infisical CLI is a powerful command-line tool for secret management
that allows you to:

- Inject secrets into applications and development workflows
- Scan for secret leaks in your codebase and git history
- Export secrets to various formats (dotenv, JSON, YAML)
- Authenticate with Infisical Cloud or self-hosted instances
- Integrate with CI/CD pipelines and Docker containers
DeltaFile
+58-0security/infisical-cli/Makefile
+8-0security/infisical-cli/pkg-descr
+5-0security/infisical-cli/pkg-plist
+5-0security/infisical-cli/distinfo
+1-0security/Makefile
+77-05 files

NetBSD/pkgsrc-wip d328db4terrascan TODO

terrascan: Add reference to recent CVEs
DeltaFile
+2-0terrascan/TODO
+2-01 files

NetBSD/pkgsrc-wip e28d111py-apscheduler TODO

py-apscheduler: Add reference to CVE-2026-31072
DeltaFile
+2-0py-apscheduler/TODO
+2-01 files