LLVM/project b184f00llvm/test/CodeGen/X86 vector-shuffle-combining-avx2.ll

[X86] Add test case for #173030 (#173060)

DeltaFile
+68-0llvm/test/CodeGen/X86/vector-shuffle-combining-avx2.ll
+68-01 files

LLVM/project 3ba3410llvm CMakeLists.txt

Revert "[llvm][clang] Enable IO sandbox for assert builds (#171935)"

This reverts commit f83de973a5daab2181442071d34758a0b413b6f2.
DeltaFile
+1-1llvm/CMakeLists.txt
+1-11 files

LLVM/project d921b54llvm/lib/Target/Sparc/MCTargetDesc SparcInstPrinter.cpp, llvm/lib/Target/WebAssembly/AsmParser WebAssemblyAsmTypeCheck.cpp

[LLVM][Target] Use ListSeparator in lib/Target (#172919)

Use `ListSeparator` in various places in Target.
DeltaFile
+6-8llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.cpp
+4-7llvm/lib/Target/X86/X86DomainReassignment.cpp
+4-5llvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
+14-203 files

FreeBSD/src 525766fsys/kern init_main.c

Revert "sys: Bump 32-bit kernel removal to 16.0"

32-bit powerpc and i386 kernels still exist in 14.x, so we don't want to
imply that those may persist until 16.0.  The message only claims that
the kernels "may be" removed in 15.0 anyhow.

This reverts commit c19688407a2c797e74762aebd90c1f1cc70ab726.

Reported by:    jhb
DeltaFile
+1-1sys/kern/init_main.c
+1-11 files

FreeBSD/src ed6612dusr.sbin/devinfo devinfo.c devinfo.8

Revert "devinfo: Add support for libxo"

This broke the human output formatting in several ways.

This reverts commit 4cf5878d27ddc9d3ca3ed870f88112c3b4f6fb69.
This reverts commit e8d6b58ef5a4afe0d155b6967c92d55f3bbd53fe.
This reverts commit c759aca606cee8352c1d739bf7a762c8a2ed2012.

PR:             291511
Reviewed by:    imp, des
Differential Revision:  https://reviews.freebsd.org/D54196

(cherry picked from commit 43b07bdbc5d24febc7a904d16f05f921c478eaa7)
DeltaFile
+37-179usr.sbin/devinfo/devinfo.c
+1-13usr.sbin/devinfo/devinfo.8
+1-1usr.sbin/devinfo/Makefile
+39-1933 files

LLVM/project e26837amlir/python CMakeLists.txt

try fix windows badcast
DeltaFile
+9-9mlir/python/CMakeLists.txt
+9-91 files

LLVM/project f030054llvm/test/CodeGen/X86 coalesce-commutative-tied-def-subreg.mir

[RegisterCoalescer] Fix failing coalescer test for commuting instructions (#173043)

Fix for the failing tests introduced in #169031
DeltaFile
+42-28llvm/test/CodeGen/X86/coalesce-commutative-tied-def-subreg.mir
+42-281 files

LLVM/project 63eba1dbolt README.md

[BOLT][Docs] Add instructions to run all tests.
DeltaFile
+28-0bolt/README.md
+28-01 files

FreeBSD/src 307cbd4sys/kern kern_proc.c kern_fork.c

proc: Fix proc_init / proc_dtor ordering issues

* Move the initialization of p_ktr into proc_init() and make the check
  in proc_dtor() unconditional.  Prior to this, it was possible to fail
  and invoke proc_dtor() after the first thread had been created (which
  was the condition for checking p_ktr in proc_dtor()) but before p_ktr
  had been initialized.

* Move the p_klist initialization in fork1() past the last possible
  failure point so we don't have to free it on failure.  We didn't,
  which meant we were leaking a knlist every time we failed to fork
  due to hitting the resource limit.

PR:             291470
MFC after:      1 week
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54215

(cherry picked from commit 026d962ef14dafe19fa73361bea6dcc95f141dfa)
DeltaFile
+4-4sys/kern/kern_proc.c
+2-2sys/kern/kern_fork.c
+6-62 files

FreeBSD/src 0c37e6esbin/ipf/libipf interror.c, sys/netpfil/ipfilter/netinet ip_sync.c

ipfilter: Prevent stack buffer overflow

When copying ipfs data from user space, don't just check that the payload
length is nonzero, but also that it does not exceed the size of the stack
buffer we're copying it into.

While we're at it, use a union to create a buffer of the exact size we
need instead of guessing that 2048 will be enough (and not too much).

Finally, check the size of the payload once it gets to where it's used.

MFC after:      3 days
Reported by:    Ilja Van Sprundel <ivansprundel at ioactive.com>
Reviewed by:    cy
Differential Revision:  https://reviews.freebsd.org/D54194

(cherry picked from commit a34c50fbd2a52bb63acde82e5aec4cb57880e39b)
DeltaFile
+37-14sys/netpfil/ipfilter/netinet/ip_sync.c
+5-0sbin/ipf/libipf/interror.c
+42-142 files

FreeBSD/src b063e9csys/kern vfs_syscalls.c kern_jail.c

vfs: Let prison_enforce_statfs zero the fsid

Currently, we unconditionally zero the fsid before returning a struct
statfs to a jailed process.  Move this into prison_enforce_statfs() so
it only happens if enforce_statfs is greater than 1, or enforce_statfs
is 1 but the mountpoint is outside the jail.

PR:             291301
MFC after:      1 week
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54214

(cherry picked from commit d4f25d0c7957f0f1960028eec82625c2d6405537)
DeltaFile
+1-4sys/kern/vfs_syscalls.c
+3-0sys/kern/kern_jail.c
+4-42 files

FreeBSD/src 1a67e18sbin/ipf/libipf interror.c, sys/netpfil/ipfilter/netinet ip_sync.c

ipfilter: Prevent stack buffer overflow

When copying ipfs data from user space, don't just check that the payload
length is nonzero, but also that it does not exceed the size of the stack
buffer we're copying it into.

While we're at it, use a union to create a buffer of the exact size we
need instead of guessing that 2048 will be enough (and not too much).

Finally, check the size of the payload once it gets to where it's used.

MFC after:      3 days
Reported by:    Ilja Van Sprundel <ivansprundel at ioactive.com>
Reviewed by:    cy
Differential Revision:  https://reviews.freebsd.org/D54194

(cherry picked from commit a34c50fbd2a52bb63acde82e5aec4cb57880e39b)
DeltaFile
+37-14sys/netpfil/ipfilter/netinet/ip_sync.c
+5-0sbin/ipf/libipf/interror.c
+42-142 files

FreeBSD/src 90e09bfsys/kern vfs_syscalls.c kern_jail.c

vfs: Let prison_enforce_statfs zero the fsid

Currently, we unconditionally zero the fsid before returning a struct
statfs to a jailed process.  Move this into prison_enforce_statfs() so
it only happens if enforce_statfs is greater than 1, or enforce_statfs
is 1 but the mountpoint is outside the jail.

PR:             291301
MFC after:      1 week
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54214

(cherry picked from commit d4f25d0c7957f0f1960028eec82625c2d6405537)
DeltaFile
+1-4sys/kern/vfs_syscalls.c
+3-0sys/kern/kern_jail.c
+4-42 files

FreeBSD/src 00bdb83sys/kern kern_proc.c kern_fork.c

proc: Fix proc_init / proc_dtor ordering issues

* Move the initialization of p_ktr into proc_init() and make the check
  in proc_dtor() unconditional.  Prior to this, it was possible to fail
  and invoke proc_dtor() after the first thread had been created (which
  was the condition for checking p_ktr in proc_dtor()) but before p_ktr
  had been initialized.

* Move the p_klist initialization in fork1() past the last possible
  failure point so we don't have to free it on failure.  We didn't,
  which meant we were leaking a knlist every time we failed to fork
  due to hitting the resource limit.

PR:             291470
MFC after:      1 week
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54215

(cherry picked from commit 026d962ef14dafe19fa73361bea6dcc95f141dfa)
DeltaFile
+4-4sys/kern/kern_proc.c
+2-2sys/kern/kern_fork.c
+6-62 files

FreeBSD/src 594ed1asbin/ipf/libipf interror.c, sys/netpfil/ipfilter/netinet ip_sync.c

ipfilter: Prevent stack buffer overflow

When copying ipfs data from user space, don't just check that the payload
length is nonzero, but also that it does not exceed the size of the stack
buffer we're copying it into.

While we're at it, use a union to create a buffer of the exact size we
need instead of guessing that 2048 will be enough (and not too much).

Finally, check the size of the payload once it gets to where it's used.

MFC after:      3 days
Reported by:    Ilja Van Sprundel <ivansprundel at ioactive.com>
Reviewed by:    cy
Differential Revision:  https://reviews.freebsd.org/D54194

(cherry picked from commit a34c50fbd2a52bb63acde82e5aec4cb57880e39b)
DeltaFile
+37-14sys/netpfil/ipfilter/netinet/ip_sync.c
+5-0sbin/ipf/libipf/interror.c
+42-142 files

FreeBSD/src faac795sys/kern kern_proc.c kern_fork.c

proc: Fix proc_init / proc_dtor ordering issues

* Move the initialization of p_ktr into proc_init() and make the check
  in proc_dtor() unconditional.  Prior to this, it was possible to fail
  and invoke proc_dtor() after the first thread had been created (which
  was the condition for checking p_ktr in proc_dtor()) but before p_ktr
  had been initialized.

* Move the p_klist initialization in fork1() past the last possible
  failure point so we don't have to free it on failure.  We didn't,
  which meant we were leaking a knlist every time we failed to fork
  due to hitting the resource limit.

PR:             291470
MFC after:      1 week
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54215

(cherry picked from commit 026d962ef14dafe19fa73361bea6dcc95f141dfa)
DeltaFile
+4-4sys/kern/kern_proc.c
+2-2sys/kern/kern_fork.c
+6-62 files

FreeBSD/src 3ed0824sys/vm vm_glue.c

vm: Fix kstack alignment assertion

The expectation that the allocation will be aligned to the kstack size
only applies when allocating from a kstack arena, not when allocating a
non-standard size from the kernel arena.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Fixes:          7a79d0669761 ("vm: improve kstack_object pindex calculation to avoid pindex holes")
Reviewed by:    bnovkov, siderop1_netapp.com
Differential Revision:  https://reviews.freebsd.org/D54171

(cherry picked from commit a35545ee02680cee04c354b50182dd94d4489666)
DeltaFile
+6-4sys/vm/vm_glue.c
+6-41 files

FreeBSD/src b431599sys/kern vfs_syscalls.c kern_jail.c

vfs: Let prison_enforce_statfs zero the fsid

Currently, we unconditionally zero the fsid before returning a struct
statfs to a jailed process.  Move this into prison_enforce_statfs() so
it only happens if enforce_statfs is greater than 1, or enforce_statfs
is 1 but the mountpoint is outside the jail.

PR:             291301
MFC after:      1 week
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54214

(cherry picked from commit d4f25d0c7957f0f1960028eec82625c2d6405537)
DeltaFile
+1-4sys/kern/vfs_syscalls.c
+3-0sys/kern/kern_jail.c
+4-42 files

LLVM/project 20d9facmlir/python CMakeLists.txt

try fix windows badcast
DeltaFile
+8-9mlir/python/CMakeLists.txt
+8-91 files

LLVM/project 435eacemlir/include/mlir/Bindings/Python Globals.h IRCore.h, mlir/lib/Bindings/Python MainModule.cpp IRAttributes.cpp

rebase
DeltaFile
+53-0mlir/lib/Bindings/Python/MainModule.cpp
+0-44mlir/include/mlir/Bindings/Python/Globals.h
+7-7mlir/include/mlir/Bindings/Python/IRCore.h
+4-5mlir/python/CMakeLists.txt
+0-8mlir/lib/Bindings/Python/IRAttributes.cpp
+0-3mlir/lib/Bindings/Python/Globals.cpp
+64-671 files not shown
+65-677 files

LLVM/project fd8b78amlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python MainModule.cpp

fix after rebase
DeltaFile
+2-2mlir/include/mlir/Bindings/Python/IRCore.h
+2-2mlir/lib/Bindings/Python/MainModule.cpp
+4-42 files

LLVM/project ad9b553mlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python MainModule.cpp IRTypes.cpp

works
DeltaFile
+2-30mlir/lib/Bindings/Python/MainModule.cpp
+20-11mlir/test/python/lib/PythonTestModuleNanobind.cpp
+19-0mlir/include/mlir/Bindings/Python/IRCore.h
+3-15mlir/lib/Bindings/Python/IRTypes.cpp
+1-13mlir/lib/Bindings/Python/IRAttributes.cpp
+10-2mlir/python/CMakeLists.txt
+55-716 files not shown
+60-8012 files

LLVM/project d39d9d7mlir/include/mlir/Bindings/Python IRCore.h NanobindUtils.h, mlir/lib/Bindings/Python IRCore.cpp MainModule.cpp

kind of working
DeltaFile
+17-3,300mlir/lib/Bindings/Python/IRCore.cpp
+2,355-0mlir/include/mlir/Bindings/Python/IRCore.h
+2,274-3mlir/lib/Bindings/Python/MainModule.cpp
+0-1,348mlir/lib/Bindings/Python/IRModule.h
+0-436mlir/lib/Bindings/Python/NanobindUtils.h
+436-0mlir/include/mlir/Bindings/Python/NanobindUtils.h
+5,082-5,08715 files not shown
+5,671-5,58321 files

LLVM/project 1b97d91mlir/python CMakeLists.txt

[mlir][Python] create MLIRPythonSupport
DeltaFile
+52-13mlir/python/CMakeLists.txt
+52-131 files

LLVM/project 0cfdb03bolt/utils/docker-tests Dockerfile

[BOLT] Add Dockerfile for testing

Add utils/docker-tests/Dockerfile to facilitate in-tre and out-of-tree
testing.

Builds perf from source to work around an Ubuntu 24.04 issue.

To reproduce a specific issue adjust the Dockerfile like:
```
RUN git clone https://github.com/llvm/llvm-project
RUN cd llvm-project && git checkout <SHA>
```
DeltaFile
+49-0bolt/utils/docker-tests/Dockerfile
+49-01 files

LLVM/project ad92174mlir/lib/Dialect/LLVMIR/Transforms UseDefaultVisibilityPass.cpp, mlir/test/Dialect/LLVMIR use-default-visibility.mlir

[MLIR][LLVM] Fix uses of LLVM's visibility attr (#173024)

I noticed that I was using LLVM::VisibilityAttr::name when looking for
the attribute on LLVM ops, but LLVM::VisibilityAttr::name is just
"builtin.integer"... Now we switch on the types of the specific ops we would
like to match, and use the getters/setters for the attribute directly instead of
the deprecated setAttr/getAttr.
DeltaFile
+16-16mlir/test/Dialect/LLVMIR/use-default-visibility.mlir
+9-17mlir/lib/Dialect/LLVMIR/Transforms/UseDefaultVisibilityPass.cpp
+25-332 files

LLVM/project 3d7018cmlir/cmake/modules MLIRDetectPythonEnv.cmake AddMLIRPython.cmake, mlir/examples/standalone/python StandaloneExtensionPybind11.cpp

[MLIR][Python] remove pybind11 support (#172581)

This PR removes pybind which has been deprecated for over a year
(https://github.com/llvm/llvm-project/pull/117922).
DeltaFile
+0-616mlir/include/mlir/Bindings/Python/PybindAdaptors.h
+0-118mlir/test/python/lib/PythonTestModulePybind11.cpp
+33-73mlir/cmake/modules/MLIRDetectPythonEnv.cmake
+40-57mlir/cmake/modules/AddMLIRPython.cmake
+16-47mlir/python/CMakeLists.txt
+0-38mlir/examples/standalone/python/StandaloneExtensionPybind11.cpp
+89-94911 files not shown
+104-1,02217 files

LLVM/project c7ee4cbflang/lib/Parser openmp-parsers.cpp, flang/lib/Semantics check-omp-structure.cpp

format
DeltaFile
+1-2flang/lib/Parser/openmp-parsers.cpp
+0-1flang/lib/Semantics/check-omp-structure.cpp
+1-32 files

LLVM/project 759091bllvm/include/llvm/CodeGen MachineModuleSlotTracker.h MIRPrinter.h, llvm/lib/CodeGen MIRPrinter.cpp MIRPrintingPass.cpp

[CodeGen][NPM] Avoid MachineModuleInfo in MachineModuleSlotTracker (#171257)

This work is a continuation of
[PR#140530](https://github.com/llvm/llvm-project/pull/140530),
co-authored by @optimisan.

The PR refactors `MachineModuleSlotTracker` to support both the Legacy
Pass Manager and New Pass Manager by removing its direct dependency on
`MachineModuleInfo`.

`MachineModuleSlotTracker` requires `MachineModuleInfo` to obtain
`MachineFunction` instances when printing MIR. But
`MachineFunctionAnalysis` provides `MachineFunction` for NPM.

This patch refactors `MachineModuleSlotTracker` to use a function
callback (`MFGetterFnT`) instead of directly depending on
`MachineModuleInfo`.

---------

Co-authored-by: vikhegde <vikram.hegde at amd.com>
DeltaFile
+20-5llvm/lib/CodeGen/MIRPrinter.cpp
+6-8llvm/lib/CodeGen/MIRPrintingPass.cpp
+6-7llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
+6-3llvm/unittests/MIR/MachineMetadata.cpp
+5-3llvm/include/llvm/CodeGen/MachineModuleSlotTracker.h
+5-2llvm/include/llvm/CodeGen/MIRPrinter.h
+48-286 files

OpenBSD/ports xwCowt8lang/clojure Makefile distinfo

   Update to 1.12.4.1582 and set MODJAVA_VER to 11+. ok op@
VersionDeltaFile
1.70+2-2lang/clojure/Makefile
1.41+2-2lang/clojure/distinfo
+4-42 files