LLVM/project 389e5a9mlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python MainModule.cpp Pass.cpp

kind of works
DeltaFile
+75-62mlir/lib/Bindings/Python/MainModule.cpp
+31-5mlir/include/mlir/Bindings/Python/IRCore.h
+18-9mlir/lib/Bindings/Python/Pass.cpp
+9-6mlir/lib/Bindings/Python/IRCore.cpp
+9-4mlir/test/python/lib/PythonTestModuleNanobind.cpp
+6-7mlir/lib/Bindings/Python/IRTypes.cpp
+148-9312 files not shown
+178-11518 files

LLVM/project f88e589lldb/packages/Python/lldbsuite/test lldbtest.py

[lldb] Add Python 3.8 compatibility for lldbtest.py (#173392)

follow up from 9892870687e0af00e798474aa5cecfd4647071e1 as we recently
added type hints to this file
DeltaFile
+3-0lldb/packages/Python/lldbsuite/test/lldbtest.py
+3-01 files

LLVM/project 9b020ddlld/test/wasm/lto stub-library.s stub-library-libcall.s, lld/test/wasm/lto/Inputs funcs.ll foo.ll

[lld][WebAssembly] Don't export deps for unused stub symbols (#173422)

When a stub .so file contains
```
A: B
```

And `A` is defined in bitcode that's pulled in for LTO, but both `A` and
`B` are removed in `LTO::linkRegularLTO` due to not being dead:
https://github.com/llvm/llvm-project/blob/24297bea9672722d8fbaaff137b301b0becaae9c/llvm/lib/LTO/LTO.cpp#L1042-L1054
Then the symbol `A` becomes undefined after LTO, `processStubLibraries`
tries to import `A` from JS, and tries to export its dependency `B`:
https://github.com/llvm/llvm-project/blob/24297bea9672722d8fbaaff137b301b0becaae9c/lld/wasm/Driver.cpp#L1108-L1109
But `B` is gone, causing this error:
```console
wasm-ld: error: ....: undefined symbol: B. Required by A
```

This PR checks if the symbol is used in regular objects before trying to
exporrt its dependences, ensuring the case above doesn't crash the
linker.
DeltaFile
+12-6lld/test/wasm/lto/stub-library.s
+17-0lld/test/wasm/lto/Inputs/funcs.ll
+0-7lld/test/wasm/lto/Inputs/foo.ll
+3-3lld/test/wasm/lto/stub-library-libcall.s
+1-1lld/wasm/Driver.cpp
+1-0lld/test/wasm/lto/Inputs/stub.so
+34-176 files

LLVM/project 82d0ec9flang-rt/lib/runtime command.cpp environment.cpp, flang/include/flang/Common windows-include.h

[flang] improve compatibility with mingw headers (#172041)

The mingw headers declare `__environ` already, leading to warnings due
to missing dllimport here. Similarly with _WIN32_WINNT may be already
defined from a header leading to nuisance warnings. And the getpid is
not defined in the current header set (it is in process.h), so that
needs to be defined, just like MSVC (this replaces

https://github.com/msys2/MINGW-packages/blob/576fc4bbfa9bff4d5ab81779a706723b5214fd7d/mingw-w64-flang/0103-fix-build-on-mingw.patch).
DeltaFile
+0-2flang-rt/lib/runtime/command.cpp
+2-0flang-rt/lib/runtime/environment.cpp
+2-0flang/include/flang/Common/windows-include.h
+4-23 files

FreeBSD/src b29fb0bsys/fs/devfs devfs_vnops.c devfs_int.h, sys/kern kern_conf.c

devfs: make destroy_dev() a release barrier for cdevpriv destructors runs

(cherry picked from commit 4dbe6628179d8e6bf400bfdb4bfa869bdc102a56)
DeltaFile
+14-3sys/fs/devfs/devfs_vnops.c
+3-0sys/kern/kern_conf.c
+1-0sys/fs/devfs/devfs_int.h
+18-33 files

FreeBSD/src e6bdbc1sys/vm vm_fault.c

vm_fault_trap(): fix comments grammar

(cherry picked from commit 95788a851deb33242c18beb47f8a79eec320dfa5)
DeltaFile
+6-6sys/vm/vm_fault.c
+6-61 files

FreeBSD/src 6397c14sys/vm swap_pager.c

swap_pager_seek_data(): improve assertions

(cherry picked from commit bdfd695037a95b076aeffd04ed9fdf042b6ce218)
DeltaFile
+2-1sys/vm/swap_pager.c
+2-11 files

FreeBSD/src 7dc87eesys/fs/tmpfs tmpfs_vnops.c, sys/vm swap_pager.c

swap_pager_seek_data(): move the clipping at the object size to consumers

(cherry picked from commit 30ae88e3b217b12476dba665d163ab0d8dd6a8a7)
DeltaFile
+2-0sys/fs/tmpfs/tmpfs_vnops.c
+0-2sys/vm/swap_pager.c
+2-22 files

FreeBSD/src d7bc2eesys/vm vm_object.c

vm_object_coalesce(): check that coalescing does not revive stale pages

(cherry picked from commit f94bfc469df9a2bc78ed15cc42525d09e3413e0b)
DeltaFile
+17-0sys/vm/vm_object.c
+17-01 files

FreeBSD/src 4780985sys/vm vm_fault.c

vm_fault_trap(): fix comments grammar

(cherry picked from commit 95788a851deb33242c18beb47f8a79eec320dfa5)
DeltaFile
+6-6sys/vm/vm_fault.c
+6-61 files

OpenBSD/ports 83W3XXHdevel/py-holidays distinfo Makefile, devel/py-holidays/pkg PLIST

   update py-holidays to 0.87
VersionDeltaFile
1.2+7-0devel/py-holidays/pkg/PLIST
1.2+2-2devel/py-holidays/distinfo
1.2+1-1devel/py-holidays/Makefile
+10-33 files

OpenBSD/ports IJcME9rdevel/py-nbclient distinfo Makefile

   update py-nbclient to 0.10.4
VersionDeltaFile
1.6+2-2devel/py-nbclient/distinfo
1.8+1-1devel/py-nbclient/Makefile
+3-32 files

OpenBSD/ports Ozhm1xrdevel/py-billiard distinfo Makefile

   update py-billiard to 4.2.4
VersionDeltaFile
1.4+2-2devel/py-billiard/distinfo
1.4+1-1devel/py-billiard/Makefile
+3-32 files

LLVM/project f7e19f1clang-tools-extra/clang-doc JSONGenerator.cpp Serialize.cpp, clang-tools-extra/clang-doc/assets clang-doc-mustache.css

[clang-doc] Add navigation via namespaces
DeltaFile
+91-1clang-tools-extra/clang-doc/JSONGenerator.cpp
+36-6clang-tools-extra/clang-doc/assets/clang-doc-mustache.css
+29-3clang-tools-extra/test/clang-doc/namespace.cpp
+29-0clang-tools-extra/clang-doc/Serialize.cpp
+14-0clang-tools-extra/clang-doc/Representation.h
+12-0clang-tools-extra/test/clang-doc/basic-project.mustache.test
+211-107 files not shown
+249-1413 files

HardenedBSD/ports b1553d3devel/cweb Makefile

HBSD: Disable HARDCFLAGS for devel/cweb

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+2-0devel/cweb/Makefile
+2-01 files

LLVM/project 5ae6964llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

Make KnownFPClass::exp not side-effecting
DeltaFile
+10-8llvm/lib/Support/KnownFPClass.cpp
+9-7llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+5-9llvm/lib/Analysis/ValueTracking.cpp
+1-1llvm/include/llvm/Support/KnownFPClass.h
+25-254 files

LLVM/project df6a4callvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle exp/exp2/exp10 in SimplifyDemandedFPClass

I'm working on optimizing out the tail sequences in the
implementations of the 4 different flavors of pow. These
include chains of selects on the various edge cases.

Related to #64870
DeltaFile
+90-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+34-47llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-exp.ll
+26-0llvm/lib/Support/KnownFPClass.cpp
+2-21llvm/lib/Analysis/ValueTracking.cpp
+3-0llvm/include/llvm/Support/KnownFPClass.h
+155-685 files

LLVM/project 1a33ec0llvm/test/Transforms/InstCombine simplify-demanded-fpclass-exp.ll

InstCombine: Add baseline tests for exp SimplifyDemandedFPClass
DeltaFile
+502-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-exp.ll
+502-01 files

LLVM/project 9435649llvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/Attributor nofpclass-exp.ll

ValueTracking: Improve handling of exp intrinsic for overflow

Teach exp handling that positive inputs cannot introduce overflow,
and negative inputs cannot introduce underflow.
DeltaFile
+24-24llvm/test/Transforms/Attributor/nofpclass-exp.ll
+16-0llvm/lib/Analysis/ValueTracking.cpp
+40-242 files

LLVM/project d8af1dcllvm/test/Transforms/Attributor nofpclass-exp.ll

ValueTracking: Add baseline tests for computeKnownFPClass exp

This is already handled, but misses opportunities. Test cases
where the input is known positive or negative.
DeltaFile
+101-0llvm/test/Transforms/Attributor/nofpclass-exp.ll
+101-01 files

LLVM/project 24bbda9llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

Make KnownFPClass::canonicalize not side-effecting
DeltaFile
+16-14llvm/lib/Support/KnownFPClass.cpp
+3-2llvm/lib/Analysis/ValueTracking.cpp
+3-2llvm/include/llvm/Support/KnownFPClass.h
+1-3llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+23-214 files

LLVM/project fdeaf6fllvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle canonicalize in SimplifyDemandedFPClass

Doesn't try to handle PositiveZero flushing mode, but I
don't believe it is incorrect with it.
DeltaFile
+24-49llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-canonicalize.ll
+73-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+6-49llvm/lib/Analysis/ValueTracking.cpp
+48-0llvm/lib/Support/KnownFPClass.cpp
+5-0llvm/include/llvm/Support/KnownFPClass.h
+156-985 files

LLVM/project a45ca44mlir/include/mlir/Dialect/XeGPU/IR XeGPUAttrs.td, mlir/include/mlir/Dialect/XeGPU/Utils XeGPULayoutUtils.h

add layout set up rule for reduction
DeltaFile
+379-39mlir/lib/Dialect/XeGPU/Utils/XeGPULayoutUtils.cpp
+107-39mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
+67-29mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+20-4mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
+10-4mlir/include/mlir/Dialect/XeGPU/Utils/XeGPULayoutUtils.h
+2-2mlir/test/Dialect/XeGPU/propagate-layout.mlir
+585-1176 files

LLVM/project 575d200llvm/lib/Analysis ConstantFolding.cpp, llvm/test/CodeGen/AMDGPU llvm.log.ll llvm.log10.ll

[ConstantFolding] Add edge cases for llvm.log{,2,10} (#173304)

Addresses https://github.com/llvm/llvm-project/issues/173267.

- folds log(-x) -> NaN
- folds log(0) -> -inf
- also folds log(1) -> 0.0 without host libm

> note: log(inf) is also doable but it causes some other tests to fail
so I avoided it for now
DeltaFile
+10-134llvm/test/CodeGen/AMDGPU/llvm.log.ll
+10-134llvm/test/CodeGen/AMDGPU/llvm.log10.ll
+104-0llvm/test/Transforms/InstSimplify/ConstProp/calls.ll
+13-25llvm/test/CodeGen/AMDGPU/llvm.log2.ll
+18-0llvm/lib/Analysis/ConstantFolding.cpp
+155-2935 files

LLVM/project 789601doffload/libomptarget omptarget.cpp

Merge branch 'users/abhinavgaba/udp-fallback-1' into users/abhinavgaba/udp-fallback-2
DeltaFile
+2-3offload/libomptarget/omptarget.cpp
+2-31 files

LLVM/project e716fa8offload/libomptarget omptarget.cpp

Fix minor typo.
DeltaFile
+2-3offload/libomptarget/omptarget.cpp
+2-31 files

LLVM/project 51253b3mlir/include/mlir/Dialect/OpenACC/Transforms ACCSpecializePatterns.h, mlir/lib/Dialect/OpenACC/Transforms ACCSpecializeForHost.cpp ACCSpecializeForDevice.cpp

[mlir][acc] Add ACCSpecializeForDevice and ACCSpecializeForHost passes (#173407)

Add two new transformation passes for specializing OpenACC IR for
different execution contexts:

ACCSpecializeForDevice:
- Strips OpenACC constructs that are invalid in device code
- Replaces data entry ops with their var operands
- Unwraps regions from compute/data constructs
- Erases runtime operations (init, shutdown, wait, etc.)

This pass is applicable in two contexts:
1. Functions marked with `acc.specialized_routine` attribute, where the
entire function body is device code
2. Non-specialized functions, where patterns are applied only to `acc`
operations nested inside compute constructs (parallel, serial, kernels),
not to the constructs themselves

ACCSpecializeForHost:

    [23 lines not shown]
DeltaFile
+471-0mlir/lib/Dialect/OpenACC/Transforms/ACCSpecializeForHost.cpp
+404-0mlir/test/Dialect/OpenACC/acc-specialize-for-host.mlir
+204-0mlir/test/Dialect/OpenACC/acc-specialize-for-device.mlir
+172-0mlir/lib/Dialect/OpenACC/Transforms/ACCSpecializeForDevice.cpp
+157-0mlir/test/Dialect/OpenACC/acc-specialize-for-host-fallback.mlir
+122-0mlir/include/mlir/Dialect/OpenACC/Transforms/ACCSpecializePatterns.h
+1,530-03 files not shown
+1,623-09 files

LLVM/project 219cf4allvm/lib/Support/rpmalloc rpmalloc.c, llvm/test/CodeGen/AArch64 atomic-ops-lse.ll

Merge branch 'users/abhinavgaba/udp-fallback-1' into users/abhinavgaba/udp-fallback-2
DeltaFile
+17,522-20,773llvm/test/CodeGen/X86/wide-scalar-shift-by-byte-multiple-legalization.ll
+8,857-10,952llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
+8,840-10,957llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
+10,680-0llvm/test/tools/llvm-mca/AArch64/Olympus/sve-instructions.s
+7,585-2,403llvm/test/CodeGen/AArch64/atomic-ops-lse.ll
+4,040-3,996llvm/lib/Support/rpmalloc/rpmalloc.c
+57,524-49,0817,284 files not shown
+459,012-212,5317,290 files

LLVM/project 1f833e2llvm/lib/Support/rpmalloc rpmalloc.c, llvm/test/CodeGen/AArch64 atomic-ops-lse.ll

Merge branch 'udp-fallback-preserve-by-default' into users/abhinavgaba/udp-fallback-1
DeltaFile
+17,522-20,773llvm/test/CodeGen/X86/wide-scalar-shift-by-byte-multiple-legalization.ll
+8,857-10,952llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
+8,840-10,957llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
+10,680-0llvm/test/tools/llvm-mca/AArch64/Olympus/sve-instructions.s
+7,585-2,403llvm/test/CodeGen/AArch64/atomic-ops-lse.ll
+4,040-3,996llvm/lib/Support/rpmalloc/rpmalloc.c
+57,524-49,0817,284 files not shown
+459,012-212,5317,290 files

LLVM/project d9df23fmlir/cmake/modules AddMLIRPython.cmake, mlir/examples/standalone pyproject.toml

globals doesn't work
DeltaFile
+3-16mlir/examples/standalone/test/python/smoketest.py
+12-6mlir/lib/Bindings/Python/Globals.cpp
+12-6mlir/cmake/modules/AddMLIRPython.cmake
+2-5mlir/test/Examples/standalone/test.wheel.toy
+3-0mlir/examples/standalone/pyproject.toml
+0-2mlir/include/mlir/Bindings/Python/Globals.h
+32-356 files