LLVM/project be79a0dflang/lib/Lower/OpenMP ClauseProcessor.cpp OpenMP.cpp, flang/test/Lower/OpenMP target.f90

Revert "[Flang][OpenMP] Add lowering support for is_device_ptr clause" (#170778)

Reverts llvm/llvm-project#169331
DeltaFile
+0-60offload/test/offloading/fortran/target-is-device-ptr.f90
+27-18flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+4-38flang/lib/Lower/OpenMP/OpenMP.cpp
+0-30flang/test/Lower/OpenMP/target.f90
+7-18mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+0-17mlir/test/Target/LLVMIR/omptarget-llvm.mlir
+38-1815 files not shown
+51-19911 files

LLVM/project d3b9fd0llvm/lib/Target/WebAssembly WebAssemblyISelLowering.cpp WebAssemblyInstrRef.td, llvm/test/CodeGen/WebAssembly addrspacecast-funcref.ll

[WebAssembly] Implement addrspacecast to funcref (#166820)

Adds lowering of `addrspacecast [0 -> 20]` to allow easy conversion of
function pointers to Wasm `funcref`

When given a constant function pointer, it lowers to a direct
`ref.func`. Otherwise it lowers to a `table.get` from
`__indirect_function_table` using the provided pointer as the index.
DeltaFile
+58-0llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+55-0llvm/test/CodeGen/WebAssembly/addrspacecast-funcref.ll
+6-1llvm/lib/Target/WebAssembly/WebAssemblyInstrRef.td
+1-0llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
+120-14 files

LLVM/project 8f9ef4bllvm/lib/Target/RISCV RISCVInstrInfo.cpp

[RISCV] Add OPERAND_AVL to RISCVInstrInfo::verifyInstruction. (#170770)

DeltaFile
+12-0llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
+12-01 files

LLVM/project 295f505flang/lib/Lower/OpenMP ClauseProcessor.cpp OpenMP.cpp, flang/test/Lower/OpenMP target.f90

Revert "[Flang][OpenMP] Add lowering support for is_device_ptr clause (#169331)"

This reverts commit a77c4948a5681984accd3c6d35fb51c1c5571a50.
DeltaFile
+0-60offload/test/offloading/fortran/target-is-device-ptr.f90
+27-18flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+4-38flang/lib/Lower/OpenMP/OpenMP.cpp
+0-30flang/test/Lower/OpenMP/target.f90
+7-18mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+0-17mlir/test/Target/LLVMIR/omptarget-llvm.mlir
+38-1815 files not shown
+51-19911 files

LLVM/project 89ae817libc/config/linux/arm config.json, libc/config/linux/riscv config.json

Add commas for riscv and arm configs. (#170776)

Fix for breakage introduced by pr170738
DeltaFile
+1-1libc/config/linux/arm/config.json
+1-1libc/config/linux/riscv/config.json
+2-22 files

Linux/linux b0206c4Documentation/devicetree/bindings/power/supply richtek,rt9756.yaml, Documentation/power power_supply_class.rst

Merge tag 'for-v6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply

Pull power supply and reset updates from Sebastian Reichel:
  "Power-supply core:
   - documentation fixes

  power-supply drivers:
   - add BD71828 charger driver
   - add Richtek RT9756 driver
   - max77705: add adaptive input current support
   - max77705: add support for multiple devices
   - misc small fixes

  reset drivers:
   - add spacemit-p1 poweroff/reboot driver"

* tag 'for-v6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply:
  Revert "power: supply: qcom_battmgr: support disabling charge control"
  Documentation: power: rt9756: Document exported sysfs entries

    [18 lines not shown]
DeltaFile
+1,049-0drivers/power/supply/bd71828-power.c
+955-0drivers/power/supply/rt9756.c
+88-0drivers/power/reset/spacemit-p1-reboot.c
+42-42Documentation/power/power_supply_class.rst
+72-0Documentation/devicetree/bindings/power/supply/richtek,rt9756.yaml
+52-4drivers/power/supply/max77705_charger.c
+2,258-4614 files not shown
+2,363-6420 files

LLVM/project bceeae8clang/lib/CodeGen CGObjCRuntime.cpp CGObjCRuntime.h

Add a cache to remember all classes that should've been realized by load
DeltaFile
+37-14clang/lib/CodeGen/CGObjCRuntime.cpp
+10-0clang/lib/CodeGen/CGObjCRuntime.h
+47-142 files

FreeBSD/ports 5a99d1cnet/jsch Makefile

net/jsch: deprecate

Upstream website does not exist. No ports depend on this. It does not compile on jdk21.
See also: https://github.com/mwiede/jsch for a fork.
Oh, and no maintainer.

PR:     272855
DeltaFile
+4-1net/jsch/Makefile
+4-11 files

LLVM/project ed7e66alibc/config config.json, libc/config/linux/riscv config.json

Reland Refactor WIDE_READ to allow finer control over high-performance function selection (#165613) (#170738)

[Previous commit had an incorrect default case when
FIND_FIRST_CHARACTER_WIDE_READ_IMPL was not specified in config.json.
This PR is identical to that one with one line fixed.]

As we implement more high-performance string-related functions, we have
found a need for better control over their selection than the big-hammer
LIBC_CONF_STRING_LENGTH_WIDE_READ. For example, I have a memchr
implementation coming, and unless I implement it in every variant, a
simple binary value doesn't work.

This PR makes gives finer-grained control over high-performance
functions than the generic LIBC_CONF_UNSAFE_WIDE_READ option. For any
function they like, the user can now select one of four implementations
at build time:

1. element, which reads byte-by-byte (or wchar by wchar)
2. wide, which reads by unsigned long

    [11 lines not shown]
DeltaFile
+213-0libc/src/string/string_length.h
+8-156libc/src/string/string_utils.h
+10-6libc/src/string/memory_utils/aarch64/inline_strlen.h
+9-5libc/src/string/memory_utils/x86_64/inline_strlen.h
+8-3libc/config/config.json
+5-2libc/config/linux/riscv/config.json
+253-1727 files not shown
+275-18513 files

LLVM/project 0ecb1b2clang/test/CodeGenObjC expose-direct-method-opt-class-realization.m

simplify tests
DeltaFile
+33-51clang/test/CodeGenObjC/expose-direct-method-opt-class-realization.m
+33-511 files

LLVM/project 5defa85mlir/lib/Dialect/OpenACC/IR OpenACC.cpp, mlir/test/Dialect/OpenACC invalid.mlir

[mlir][acc] Improve verifier messages for device_type duplicates (#170773)

This improves the acc dialect IR verifier messages when duplicate
device_types are found by also noting which device_type is the one
causing the error.
DeltaFile
+37-21mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
+41-3mlir/test/Dialect/OpenACC/invalid.mlir
+78-242 files

Linux/linux 6044a1eDocumentation/devicetree/bindings/arm/marvell cp110-system-controller.txt ap80x-system-controller.txt, Documentation/devicetree/bindings/media mediatek,mt8173-mdp.yaml

Merge tag 'devicetree-for-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux

Pull devicetree updates from Rob Herring:
 "DT bindings:

   - Convert lattice,ice40-fpga-mgr, apm,xgene-storm-dma,
     brcm,sr-thermal, amazon,al-thermal, brcm,ocotp, mt8173-mdp, Actions
     Owl SPS, Marvell AP80x System Controller, Marvell CP110 System
     Controller, cznic,moxtet, and apm,xgene-slimpro-mbox to DT schema
     format

   - Add i.MX95 fsl,irqsteer, MT8365 Mali Bifrost GPU, Anvo ANV32C81W
     EEPROM, and Microchip pic64gx PLIC

   - Add missing LGE, AMD Seattle, and APM X-Gene SoC platform
     compatibles

   - Updates to brcm,bcm2836-l1-intc, brcm,bcm2835-hvs, and bcm2711-hdmi
     bindings to fix warnings on BCM2712 platforms

    [48 lines not shown]
DeltaFile
+0-191Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt
+169-0Documentation/devicetree/bindings/media/mediatek,mt8173-mdp.yaml
+0-146Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt
+121-0Documentation/devicetree/bindings/thermal/brcm,sr-thermal.yaml
+0-105Documentation/devicetree/bindings/thermal/brcm,sr-thermal.txt
+65-36drivers/of/fdt.c
+355-478258 files not shown
+1,543-1,346264 files

LLVM/project 834b8b7mlir/include/mlir/Dialect/OpenACC OpenACCOps.td OpenACC.h, mlir/lib/Dialect/OpenACC/Transforms ACCImplicitDeclare.cpp

[acc] Add acc.specialized_routine attribute (#170766)

Introduce a new attribute `acc.specialized_routine` to mark functions
that have been specialized from a host function marked with
`acc.routine_info`.

The new attribute captures:
- A SymbolRefAttr referencing the original `acc.routine` operation
- The parallelism level via the new `ParLevel` enum
- The original function name (since specialized functions may be
renamed)

Example - before specialization:
```
acc.routine @routine_gang func(@foo) gang
acc.routine @routine_vector func(@foo) vector

func.func @foo() attributes {
  acc.routine_info = #acc.routine_info<[@routine_gang, @routine_vector]>

    [26 lines not shown]
DeltaFile
+78-0mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
+53-0mlir/test/Dialect/OpenACC/ops.mlir
+14-3mlir/include/mlir/Dialect/OpenACC/OpenACC.h
+3-1mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp
+148-44 files

FreeBSD/ports 8e1dd61misc/grok-cli pkg-plist Makefile, misc/grok-cli/files package-lock.json package.json

misc/grok-cli: New port: Open-source AI agent bringing Grok to your terminal
DeltaFile
+9,928-0misc/grok-cli/pkg-plist
+2,600-0misc/grok-cli/files/package-lock.json
+50-0misc/grok-cli/Makefile
+14-0misc/grok-cli/pkg-descr
+7-0misc/grok-cli/files/package.json
+3-0misc/grok-cli/distinfo
+12,602-01 files not shown
+12,603-07 files

LLVM/project 02ca50ellvm/lib/CodeGen ExpandMemCmp.cpp, llvm/test/Transforms/ExpandMemCmp/AArch64 memcmp.ll

[profcheck] Fix missing profile metadata in ExpandMemCmp (#169979)

This patch fixes a profile metadata missing in the `ExpandMemCmp` pass
when it expanding `memcmp` calls. This would cause branches between
different blocks to lose their profile data, potentially leading to
suboptimal code generation.

The patch updates the `ExpandMemCmp` pass to set branch weights to a
default `unknown`(50/50 weights) value when a profile is available. This
prevents the expansion from making a previously profiled branch
unprofiled.

The patch also includes updates to the tests to reflect the new branch
weights.

Co-authored-by: Jin Huang <jingold at google.com>
DeltaFile
+19-7llvm/test/Transforms/ExpandMemCmp/X86/memcmp.ll
+14-6llvm/test/Transforms/ExpandMemCmp/AArch64/memcmp.ll
+11-4llvm/test/Transforms/ExpandMemCmp/X86/memcmp-x32.ll
+7-0llvm/lib/CodeGen/ExpandMemCmp.cpp
+3-3llvm/utils/profcheck-xfail.txt
+54-205 files

LLVM/project c8fc766clang-tools-extra/clang-doc Representation.cpp

[clang-doc] Use static functions over the anonymous namespace (#170221)

DeltaFile
+4-8clang-tools-extra/clang-doc/Representation.cpp
+4-81 files

Linux/linux fde4ce0drivers/hid hid-lg-g15.c, drivers/hid/bpf/progs Huion__Kamvas13Gen3.bpf.c Huion__Kamvas16Gen3.bpf.c

Merge tag 'hid-for-linus-2025120201' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid

Pull HID updates from Jiri Kosina:

 - Proper mapping of HID_GD_Z to ABS_DISTANCE for stylus/pen types of
   devices (Ping Cheng)

 - Power management/hibernation improvements in intel-ish (Zhang Lixu)

 - Improved support for several Logitech devices, e.g. G Pro X
   Superlight 2, new iteration of Lighspeed receiver, G13, G510 (Nathan
   Rossi, Mavroudis Chatzilazaridis, Leo L Schwab, Hans de Goede)

 - Support for UcLogic XP-PEN Artist 24 Pro (Joshua Goins)

 - WinWing Orion2 throttle support improvement (Ivan Gorinov)

 - other assorted small fixes and device ID additions


    [22 lines not shown]
DeltaFile
+1,395-0drivers/hid/bpf/progs/Huion__Kamvas13Gen3.bpf.c
+724-0drivers/hid/bpf/progs/Huion__Kamvas16Gen3.bpf.c
+563-0drivers/hid/bpf/progs/Huion__Inspiroy-2-M.bpf.c
+463-18drivers/hid/hid-lg-g15.c
+359-0drivers/hid/bpf/progs/XPPen__Deco02.bpf.c
+321-0drivers/hid/bpf/progs/WALTOP__Batteryless-Tablet.bpf.c
+3,825-1834 files not shown
+4,980-21340 files

LLVM/project a992999lld/MachO Driver.cpp Options.td, lld/test/MachO set-slop-scale.s

[lld-macho]Define a flag for adjusting slop scale (#164295)

Co-authored-by: Ellis Hoag <ellis.sparky.hoag at gmail.com>
DeltaFile
+11-0lld/test/MachO/set-slop-scale.s
+8-0lld/MachO/Driver.cpp
+8-0lld/MachO/Options.td
+4-2lld/MachO/ConcatOutputSection.cpp
+1-0lld/MachO/Config.h
+32-25 files

LLVM/project 5cb282dclang/lib/CodeGen CGObjCRuntime.cpp

format
DeltaFile
+4-2clang/lib/CodeGen/CGObjCRuntime.cpp
+4-21 files

LLVM/project 97bef2aclang/lib/CodeGen CGObjCRuntime.cpp

fix some lint warnings
DeltaFile
+3-3clang/lib/CodeGen/CGObjCRuntime.cpp
+3-31 files

LLVM/project 3d5418aclang-tools-extra/clang-doc Representation.h Representation.cpp

[clang-doc] Reorder struct fields to have less padding
DeltaFile
+68-60clang-tools-extra/clang-doc/Representation.h
+1-1clang-tools-extra/clang-doc/Representation.cpp
+69-612 files

LLVM/project 3faef54clang-tools-extra/clang-doc Representation.cpp

[clang-doc] Use static functions over the anonymous namespace
DeltaFile
+4-8clang-tools-extra/clang-doc/Representation.cpp
+4-81 files

LLVM/project 9349cb1clang-tools-extra/clang-doc/tool ClangDocMain.cpp, clang-tools-extra/unittests/clang-doc SerializeTest.cpp BitcodeTest.cpp

[clang-doc] Use DiagnosticsEngine to handle diagnostic output (#170219)

[clang-doc] Use DiagnosticsEngine to handle diagnostic output

Right now we use a combination of outs() and errs() to handle tool
output. Instead, we can use existing diagnostic support in clang and
LLVM to ensure our tool has a consistent behavior with other tools.
DeltaFile
+67-57clang-tools-extra/unittests/clang-doc/SerializeTest.cpp
+49-37clang-tools-extra/unittests/clang-doc/BitcodeTest.cpp
+47-25clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
+29-18clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
+23-12clang-tools-extra/unittests/clang-doc/HTMLMustacheGeneratorTest.cpp
+16-14clang-tools-extra/unittests/clang-doc/YAMLGeneratorTest.cpp
+231-16316 files not shown
+343-21922 files

Linux/linux d1b46f5. MAINTAINERS, Documentation/devicetree/bindings/leds/backlight awinic,aw99706.yaml

Merge tag 'backlight-next-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight

Pull backlight updates from Lee Jones:
 "Additions:
   - Add support for Awinic AW99706 backlight driver

  Fixes:
   - Add GPIOLIB dependency to backlight ktd2801 driver
   - Add devlink to LED Backlight's supplier LEDs to enforce correct
     removal order and prevent NULL pointer dereferences
   - Fix kernel-doc warnings in lp855x.h

  Removals:
   - Do not include <linux/fb.h> in backlight.h
   - Fix unused function warnings from suspend/resume ops in aw99706.c
     by switching to DEFINE_SIMPLE_DEV_PM_OPS and using pm_ptr()

  Bindings:
   - Add Awinic AW99706 backlight binding to MAINTAINERS

    [10 lines not shown]
DeltaFile
+471-0drivers/video/backlight/aw99706.c
+101-0Documentation/devicetree/bindings/leds/backlight/awinic,aw99706.yaml
+13-0drivers/video/backlight/led_bl.c
+9-0drivers/video/backlight/Kconfig
+6-0MAINTAINERS
+2-2include/linux/platform_data/lp855x.h
+602-22 files not shown
+603-38 files

HardenedBSD/ports 6db48eegames/ioquake3 Makefile, games/ioquake3/files extra-patch-code_server_sv__ccmds.c extra-patch-code_game_g__main.c

HBSD: Add cheat support in games/ioquake3

I suck horribly at gaming, but occasionally dabble. ioquake3 is actually
a good small program to test our exploit mitigations and security
hardening techniques. So, let's play (with cheats!)

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+15-0games/ioquake3/files/extra-patch-code_server_sv__ccmds.c
+11-0games/ioquake3/files/extra-patch-code_game_g__main.c
+8-1games/ioquake3/Makefile
+34-13 files

Linux/linux 7b8653aDocumentation/devicetree/bindings/leds/backlight arc,arc2c0608.yaml arcxcnn_bl.txt, drivers/leds leds-lp50xx.c leds-netxbig.c

Merge tag 'leds-next-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds

Pull LED updates from Lee Jones:
 "Updates:
   - Add optional GPIO enable pin support to PWM LED driver

  Fixes:
   - Allow LED module 0 to be added to module bank in lp50xx driver
   - Fix upboard LED driver module alias to ensure proper auto-loading
   - Update LP5009 to support 3 modules for a total of 9 LEDs
   - Skip LEDs without color components in cros_ec driver instead of
     failing probe
   - Fix GPIO descriptor leaks in netxbig error paths by releasing
     acquired GPIOs
   - Allow LED_COLOR_ID_MULTI in qcom-lpg driver for greater flexibility
   - Enable LP55XX common LED use without FW_LOADER_USER_HELPER
   - Ensure lp50xx chip is enabled before any I2C communication

  Cleanups:

    [44 lines not shown]
DeltaFile
+108-0Documentation/devicetree/bindings/leds/backlight/arc,arc2c0608.yaml
+45-22drivers/leds/leds-lp50xx.c
+26-10drivers/leds/leds-netxbig.c
+0-33Documentation/devicetree/bindings/leds/backlight/arcxcnn_bl.txt
+24-5drivers/leds/leds-pwm.c
+4-6drivers/leds/rgb/leds-qcom-lpg.c
+207-7619 files not shown
+246-10225 files

FreeBSD/src fc88be2include stddef.h, share/man/man3 unreachable.3 assert.3

Revert "stddef.h: add unreachable() for C23 compliance"

Seems like a number of ports are *really* unhappy with this new
macro.  These ports will have to be fixed and the patch reworked
to perhaps not affect C++ (see D54041).  A general discussion on
how we expose new language features may also need to take place.

Reported by:    many people
Approved by:    markj (mentor)

This reverts commit b381d0980221b476cadbef862a8e5973d675fb7a.
DeltaFile
+0-90share/man/man3/unreachable.3
+2-3share/man/man3/assert.3
+0-4include/stddef.h
+1-2share/man/man3/Makefile
+3-994 files

LLVM/project 421399dclang/lib/CodeGen CodeGenModule.cpp, clang/test/CodeGen cfi-salt.c kcfi.c

[CodeGen][KCFI] Fix asm comment style (#170739)

We can't use "#" in the middle of the asm output, so switch to a /* */
pair instead.
DeltaFile
+2-2clang/lib/CodeGen/CodeGenModule.cpp
+2-2clang/test/CodeGen/cfi-salt.c
+1-1clang/test/CodeGen/kcfi.c
+5-53 files

FreeBSD/ports 5705d2bjava/bouncycastle Makefile, java/bouncycastle/files patch-ant_bc+-build.xml

java/bouncycastle: fix compilation with jdk11 and jdk17

Some comments in source files contain UTF-8 characters.
Jdk11 and jdk17 expected ASCII and threw an error.
Tell the compiler the charset of the source files.

PR:     263601
Reported-by:    olce@
Obtained-from:  https://lists.freebsd.org/archives/freebsd-java/2025-December/003388.html
DeltaFile
+26-0java/bouncycastle/files/patch-ant_bc+-build.xml
+1-1java/bouncycastle/Makefile
+27-12 files

LLVM/project bdea6a2llvm/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/test/MachineVerifier/AMDGPU hazard-gfx1250-flat-src-hi.mir

[AMDGPU] Add verifier for flat_scr_base_hi read hazard (#170550)

DeltaFile
+66-0llvm/test/MachineVerifier/AMDGPU/hazard-gfx1250-flat-src-hi.mir
+11-0llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+77-02 files