LLVM/project 0a48ff2clang/lib/CodeGen MCDCState.h CoverageMappingGen.cpp

[MC/DC] Refactor MCDC::State::Decision. NFC. (#125408)

Introduce `ID` and `InvalidID`. Then `DecisionByStmt` can have three
states.

* Not assigned if the Stmt(Expr) doesn't exist.
* When `DecisionByStmt[Expr]` exists:
  * Invalid and should be ignored if `ID == Invalid`.
  * Valid if `ID != Invalid`. Other member will be filled in the Mapper.
DeltaFile
+15-1clang/lib/CodeGen/MCDCState.h
+2-4clang/lib/CodeGen/CoverageMappingGen.cpp
+1-1clang/lib/CodeGen/CodeGenPGO.cpp
+18-63 files

LLVM/project 3cbfb72libc/shared/math fmaf16.h, libc/src/__support/math fmaf16.h CMakeLists.txt

[libc][math] Refactor fmaf16 implementation to header-only in src/__support/math folder.
DeltaFile
+33-0libc/src/__support/math/fmaf16.h
+29-0libc/shared/math/fmaf16.h
+9-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+8-0libc/src/__support/math/CMakeLists.txt
+2-4libc/src/math/generic/fmaf16.cpp
+2-1libc/test/shared/shared_math_test.cpp
+83-63 files not shown
+86-89 files

LLVM/project b224499libc/shared/math fmaf.h, libc/src/__support/math fmaf.h CMakeLists.txt

[libc][math] Refactor fmaf implementation to header-only in src/__support/math folder.
DeltaFile
+27-0libc/src/__support/math/fmaf.h
+23-0libc/shared/math/fmaf.h
+9-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+8-0libc/src/__support/math/CMakeLists.txt
+2-5libc/src/math/generic/fmaf.cpp
+1-1libc/test/shared/shared_math_test.cpp
+70-73 files not shown
+73-89 files

LLVM/project 3c6121alibc/shared/math fma.h, libc/src/__support/math fma.h CMakeLists.txt

[libc][math] Refactor fma implementation to header-only in src/__support/math folder.
DeltaFile
+27-0libc/src/__support/math/fma.h
+23-0libc/shared/math/fma.h
+11-3utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+8-0libc/src/__support/math/CMakeLists.txt
+2-5libc/src/math/generic/fma.cpp
+1-1libc/src/math/generic/CMakeLists.txt
+72-93 files not shown
+75-99 files

LLVM/project 1600b05libc/shared/math expm1f16.h, libc/src/__support/math expm1f16.h CMakeLists.txt

[libc][math] Refactor expm1f16 implementation to header-only in src/__support/math folder. (#162132)

Part of #147386

in preparation for:
https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
DeltaFile
+153-0libc/src/__support/math/expm1f16.h
+2-128libc/src/math/generic/expm1f16.cpp
+29-0libc/shared/math/expm1f16.h
+17-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+16-0libc/src/__support/math/CMakeLists.txt
+1-11libc/src/math/generic/CMakeLists.txt
+218-1403 files not shown
+221-1409 files

LLVM/project f8629b2clang/test/Sema warn-thread-safety-analysis.c

Thread Safety Analysis: Add test for guarded member initialization pattern in C (#175267)

A common problem in C code with guarded members is object construction,
where it should be allowed to initialize guarded members without holding
a capability (which itself requires initialization).

One potential pattern to solve this is "init with reentrant assert"
followed by member initialization. The pattern assumes that capability
objects themselves have an init function, which then asserts the
capability as held. To permit immediate use of the capability, we have
to cast to any reentrant capability.

The current implementation of reentrant capability supports this pattern
as-is: Casting to ReentrantMutex works because the analysis determines
if a held lock is reentrant based on the type used when the lock was
added to the fact set. Since the assertion uses the reentrant type, the
analysis records that the lock is reentrant. When the subsequent
mutex_exclusive_lock() occurs, the analyzer checks the properties of the
already held lock; finding it marked as reentrant, it allows the

    [9 lines not shown]
DeltaFile
+28-0clang/test/Sema/warn-thread-safety-analysis.c
+28-01 files

LLVM/project 589851cclang/lib/Driver/ToolChains Darwin.cpp

[nfc][clang][driver][darwin] Label the ArgList argument in getCompilerRT in the Darwin toolchain (#175272)

DeltaFile
+2-2clang/lib/Driver/ToolChains/Darwin.cpp
+2-21 files

LLVM/project 6c35a89llvm/lib/ProfileData/Coverage CoverageMapping.cpp, llvm/test/tools/llvm-cov mcdc-const.test mcdc-general.test

[Coverage] Sort `MCDCRecord::ExecVectors` order by Bitmap index (#121195)

This makes easier to merge `MCDCRecord`s in later stages.

Depends on: #110966, #121188, #121190
DeltaFile
+27-13llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
+16-16llvm/test/tools/llvm-cov/mcdc-const.test
+4-4llvm/test/tools/llvm-cov/mcdc-general.test
+1-1llvm/test/tools/llvm-cov/mcdc-export-json.test
+48-344 files

Linux/linux cb2076bblock blk-rq-qos.h blk-integrity.c, drivers/block loop.c ublk_drv.c

Merge tag 'block-6.19-20260109' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull block fixes from Jens Axboe:

 - Kill unlikely checks for blk-rq-qos. These checks are really
   all-or-nothing, either the branch is taken all the time, or it's not.
   Depending on the configuration, either one of those cases may be
   true. Just remove the annotation

 - Fix for merging bios with different app tags set

 - Fix for a recently introduced slowdown due to RCU synchronization

 - Fix for a status change on loop while it's in use, and then a later
   fix for that fix

 - Fix for the async partition scanning in ublk

* tag 'block-6.19-20260109' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:

    [6 lines not shown]
DeltaFile
+33-12drivers/block/loop.c
+22-15drivers/block/ublk_drv.c
+9-16block/blk-rq-qos.h
+18-5block/blk-integrity.c
+1-2block/blk-mq.c
+83-505 files

LLVM/project fea69aallvm/include/llvm/ProfileData/Coverage CoverageMapping.h, llvm/lib/ProfileData/Coverage CoverageMapping.cpp

LLVMCoverage: Unify getCoverageForFile and getCoverageForFunction. NFC (#120842)

Since #119952, `getCoverageForFile` and `getCoverageForFunction` have
similar structure each other. Ther merged method `addFunctionRegions`
has two lambda subfunctions.

* `getCoverageForFile`
  - `MainFileID` may be `nullopt`.
- `shouldProcess` picks up relevant records along `FileIDs` that is
scanned based on `MainFileID`. They may have expanded source files.
  - `shouldExpand` takes the presense of `MainFileID` into account.
* `getCoverageForFunction`
  - This assumes the presense of `MainFileID`.
  - `shouldProcess` picks up records that belong only to `MainFileID`.
  - `shouldExpand` assumes the presense of `MainFileID`.

This change introduces a wrapper class `MergeableCoverageData` for
further merging instances. At the moment, this returns `CoverageData`
including `buildSegments()`.

This change itself is NFC.
DeltaFile
+42-38llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
+3-0llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
+45-382 files

Linux/linux 68ad209io_uring io-wq.c

Merge tag 'io_uring-6.19-20260109' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull io_uring fixes from Jens Axboe:
 "A single fix for a regression introduced in 6.15, where a failure to
  wake up idle io-wq workers at ring exit will wait for the timeout to
  expire.

  This isn't normally noticeable, as the exit is async.

  But if a parent task created a thread that sets up a ring and uses
  requests that cause io-wq threads to be created, and the parent task
  then waits for the thread to exit, then it can take 5 seconds for that
  pthread_join() to succeed as the child thread is waiting for its
  children to exit.

  On top of that, just a basic cleanup as well"

* tag 'io_uring-6.19-20260109' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
  io_uring/io-wq: remove io_wq_for_each_worker() return value
  io_uring/io-wq: fix incorrect io_wq_for_each_worker() termination logic
DeltaFile
+4-7io_uring/io-wq.c
+4-71 files

Linux/linux e28ddd0arch/arm64/include/asm suspend.h efi.h, arch/arm64/mm proc.S pageattr.c

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 fixes from Catalin Marinas:

 - Do not return false if !preemptible() in current_in_efi(). EFI
   runtime services can now run with preemption enabled

 - Fix uninitialised variable in the arm MPAM driver, reported by sparse

 - Fix partial kasan_reset_tag() use in change_memory_common() when
   calculating page indices or comparing ranges

 - Save/restore TCR2_EL1 during suspend/resume, otherwise the E0POE bit
   is lost

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
  arm64: Fix cleared E0POE bit after cpu_suspend()/resume()
  arm64: mm: Fix incomplete tag reset in change_memory_common()
  arm_mpam: Stop using uninitialized variables in __ris_msmon_read()
  arm64/efi: Don't fail check current_in_efi() if preemptible
DeltaFile
+8-0arch/arm64/mm/proc.S
+4-3drivers/resctrl/mpam_devices.c
+4-2arch/arm64/mm/pageattr.c
+1-1arch/arm64/include/asm/suspend.h
+1-1arch/arm64/include/asm/efi.h
+18-75 files

Linux/linux e55feeaarch/arm64/boot/dts/broadcom bcm2712-rpi-5-b-base.dtsi bcm2712-rpi-5-b-ovl-rp1.dts, drivers/misc/rp1 rp1_pci.c rp1-pci.dtso

Merge tag 'soc-fixes-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

Pull SoC fixes from Arnd Bergmann:
 "The main code change is a revert of the Raspberry Pi RP1 overlay
  support that was decided to not be ready.

  The other fixes are all for devicetree sources:

   - ethernet configuration on ixp42x-actiontec-mi424wr is board
     revision specific

   - validation warning fixes for imx27/imx51/imx6, hikey960 and k3

   - Minor corrections across imx8 boards, addressing all types of
     issues with interrups, dma, ethernet and clock settings, all simple
     one-line changes"

* tag 'soc-fixes-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (25 commits)
  arm64: dts: hisilicon: hikey960: Drop "snps,gctl-reset-quirk" and "snps,tx_de_emphasis*" properties

    [20 lines not shown]
DeltaFile
+254-0arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b-base.dtsi
+0-254arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b-ovl-rp1.dts
+26-13arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts
+4-33drivers/misc/rp1/rp1_pci.c
+0-25drivers/misc/rp1/rp1-pci.dtso
+0-14arch/arm64/boot/dts/broadcom/rp1-nexus.dtsi
+284-33929 files not shown
+365-40435 files

LLVM/project 0727fcbmlir/lib/Bytecode/Reader BytecodeReader.cpp, mlir/test/Bytecode op_with_properties_deeply_nested_attr.mlir

[mlir][Bytecode] Fix infinite loop by tracking type/attribute in deferred worklist (#174874)

The bytecode reader could enter an infinite loop when parsing deeply
nested attributes containing type references. The deferred worklist
stored only indices without distinguishing between attributes and types,
causing type indexes to be misinterpreted as attributes.

This patch changes the deferred worklist to store pairs of (index, kind)
to track whether each deferred entry is a type or attribute. The
worklist processing logic is updated to resolve the correct entry type.
DeltaFile
+47-22mlir/lib/Bytecode/Reader/BytecodeReader.cpp
+10-2mlir/test/Bytecode/op_with_properties_deeply_nested_attr.mlir
+57-242 files

Linux/linux 4621c33. MAINTAINERS, net/ceph osdmap.c osd_client.c

Merge tag 'ceph-for-6.19-rc5' of https://github.com/ceph/ceph-client

Pull ceph fixes from Ilya Dryomov:
 "A bunch of libceph fixes split evenly between memory safety and
  implementation correctness issues (all marked for stable) and a change
  in maintainers for CephFS: Slava and Alex have formally taken over
  Xiubo's role"

* tag 'ceph-for-6.19-rc5' of https://github.com/ceph/ceph-client:
  libceph: make calc_target() set t->paused, not just clear it
  libceph: reset sparse-read state in osd_fault()
  libceph: return the handler error from mon_handle_auth_done()
  libceph: make free_choose_arg_map() resilient to partial allocation
  ceph: update co-maintainers list in MAINTAINERS
  libceph: replace overzealous BUG_ON in osdmap_apply_incremental()
  libceph: prevent potential out-of-bounds reads in handle_auth_done()
DeltaFile
+15-9net/ceph/osdmap.c
+12-2net/ceph/osd_client.c
+4-2MAINTAINERS
+2-0net/ceph/messenger_v2.c
+1-1net/ceph/mon_client.c
+34-145 files

LLVM/project ce2357amlir/include/mlir/Bindings/Python IRCore.h NanobindUtils.h, mlir/lib/Bindings/Python IRCore.cpp IRAffine.cpp

[mlir][Python] downcast ir.Value to BlockArgument or OpResult
DeltaFile
+27-25mlir/lib/Bindings/Python/IRCore.cpp
+8-5mlir/include/mlir/Bindings/Python/IRCore.h
+1-1mlir/lib/Bindings/Python/IRAffine.cpp
+1-1mlir/include/mlir/Bindings/Python/NanobindUtils.h
+1-1mlir/test/python/dialects/python_test.py
+38-335 files

LLVM/project 26fdd8fclang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Dialect/Transforms CXXABILowering.cpp

[CIR] Upstream support for data member comparison (#171897)

This adds support for handling data member pointer comparisons in CIR.
DeltaFile
+69-0clang/test/CIR/CodeGen/pointer-to-data-member-cmp.cpp
+16-1clang/lib/CIR/Dialect/Transforms/CXXABILowering.cpp
+12-0clang/lib/CIR/Dialect/Transforms/TargetLowering/LowerItaniumCXXABI.cpp
+4-0clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRCXXABI.h
+0-3clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+1-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+102-46 files

HardenedBSD/src b58d5c5sys/dev/sound sndstat.c dummy.c, sys/dev/sound/midi midi.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+0-1,456sys/dev/sound/pcm/sndstat.c
+1,454-0sys/dev/sound/sndstat.c
+81-314sys/dev/sound/midi/midi.c
+16-36sys/dev/sound/pcm/feeder_rate.c
+48-2sys/dev/sound/dummy.c
+42-0sys/dev/sound/sndstat.h
+1,641-1,80834 files not shown
+1,749-2,00740 files

OpenBSD/ports uKKO7blsysutils/docker-cli distinfo Makefile

   sysutils/docker-cli: update to 29.1.4
VersionDeltaFile
1.33+2-2sysutils/docker-cli/distinfo
1.38+1-1sysutils/docker-cli/Makefile
+3-32 files

LLVM/project 8a7d8c1clang/lib/CodeGen CoverageMappingGen.cpp CodeGenPGO.cpp, llvm/lib/ProfileData/Coverage CoverageMapping.cpp

[Coverage] Make additional counters available for BranchRegion. NFC. (#120930)

`getBranchCounterPair()` allocates an additional Counter to SkipPath in
`SingleByteCoverage`.

`IsCounterEqual()` calculates the comparison with rewinding counter
replacements.

`NumRegionCounters` is updated to take additional counters in account.

`incrementProfileCounter()` has a few additiona arguments.

- `UseSkipPath=true`, to specify setting counters for SkipPath. It
assumes `UseSkipPath=false` is used together.

- `UseBoth` may be specified for marking another path. It introduces the
same effect as issueing `markStmtAsUsed(!SkipPath, S)`.

`llvm-cov` discovers counters in `FalseCount` to allocate `MaxCounterID`

    [6 lines not shown]
DeltaFile
+49-6clang/lib/CodeGen/CoverageMappingGen.cpp
+26-4clang/lib/CodeGen/CodeGenPGO.cpp
+23-1clang/lib/CodeGen/CodeGenFunction.h
+3-0llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
+1-0clang/lib/CodeGen/CodeGenPGO.h
+102-115 files

NetBSD/src 6R7F1Upusr.bin/gzip unlz.c unpack.c

   make gzip -d on lz files work again, and fix gzip -t on packed files.
VersionDeltaFile
1.11+82-19usr.bin/gzip/unlz.c
1.6+3-4usr.bin/gzip/unpack.c
+85-232 files

LLVM/project e971c3ellvm/lib/CodeGen CFIInstrInserter.cpp

[CFIInserter] Improve `CSRSavedLocation` struct. (#168869)

(1) Define `CSRSavedLocation::Kind` and use it in the code. This makes
the code more readable and allows to extend it to new kinds. For
example, soon I want to add "scalable offset from a given register"
kind.

(2) Store the contents in a union. This should reduce memory usage.
DeltaFile
+73-20llvm/lib/CodeGen/CFIInstrInserter.cpp
+73-201 files

LLVM/project 597ffbeclang/lib/Basic Targets.cpp, clang/lib/Basic/Targets OSTargets.h

Rename wasm32-wasi to wasm32-wasip1. (#165345)

This adds code to recognize "wasm32-wasip1", "wasm32-wasip2", and
"wasm32-wasip3" as explicit targets, and adds a deprecation warning when
the "wasm32-wasi" target is used, pointing users to the "wasm32-wasip1"
target.

Fixes #165344.

I'm filing this as a draft PR for now, as I've only just now proposed to
make this change in #165344.
DeltaFile
+36-0llvm/unittests/TargetParser/TripleTest.cpp
+33-2clang/lib/Basic/Targets/OSTargets.h
+23-8clang/test/Preprocessor/init.c
+22-8clang/lib/Basic/Targets.cpp
+9-0llvm/lib/TargetParser/Triple.cpp
+6-2llvm/include/llvm/TargetParser/Triple.h
+129-204 files not shown
+146-2010 files

FreeBSD/src 17ba6f4sys/fs/fuse fuse_vnops.c fuse_ipc.c, tests/sys/fs/fusefs ioctl.cc mockfs.cc

fusefs: support FUSE_IOCTL

MFC After: 1 week
Signed-off-by: CismonX <admin at cismon.net>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1470
DeltaFile
+213-0tests/sys/fs/fusefs/ioctl.cc
+89-6sys/fs/fuse/fuse_vnops.c
+12-1tests/sys/fs/fusefs/mockfs.cc
+4-0sys/fs/fuse/fuse_ipc.c
+1-2sys/fs/fuse/fuse_internal.c
+2-0tests/sys/fs/fusefs/mockfs.hh
+321-91 files not shown
+322-97 files

HardenedBSD/src 17ba6f4sys/fs/fuse fuse_vnops.c fuse_ipc.c, tests/sys/fs/fusefs ioctl.cc mockfs.cc

fusefs: support FUSE_IOCTL

MFC After: 1 week
Signed-off-by: CismonX <admin at cismon.net>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1470
DeltaFile
+213-0tests/sys/fs/fusefs/ioctl.cc
+89-6sys/fs/fuse/fuse_vnops.c
+12-1tests/sys/fs/fusefs/mockfs.cc
+4-0sys/fs/fuse/fuse_ipc.c
+1-2sys/fs/fuse/fuse_internal.c
+2-0tests/sys/fs/fusefs/mockfs.hh
+321-91 files not shown
+322-97 files

LLVM/project 632a557clang-tools-extra/clang-doc/assets clang-doc-mustache.css navbar-template.mustache, clang-tools-extra/test/clang-doc basic-project.mustache.test

[clang-doc] Move navbar and sidebar into normal document flow (#175110)

The navbar and sidebar caused spacing and alignment issues since they
were fixed elements with defined height/width. It was difficult to have
all elements below them correctly offset the height. This patch changes
them
to sticky elements within the normal document flow that don't define
their
height/width explicitly. This actually lets us use existing HTML/CSS
properties (like the "content" div) more naturally.

This also changes the navbar behavior to not follow while scrolling.
DeltaFile
+26-24clang-tools-extra/clang-doc/assets/clang-doc-mustache.css
+12-12clang-tools-extra/test/clang-doc/basic-project.mustache.test
+7-7clang-tools-extra/clang-doc/assets/navbar-template.mustache
+3-1clang-tools-extra/clang-doc/assets/namespace-template.mustache
+3-1clang-tools-extra/clang-doc/assets/index-template.mustache
+3-1clang-tools-extra/clang-doc/assets/class-template.mustache
+54-466 files

LLVM/project ab5ec54libc/test/src/__support/wctype/conversion/utils enumerate_test.cpp CMakeLists.txt

add tests
DeltaFile
+74-0libc/test/src/__support/wctype/conversion/utils/enumerate_test.cpp
+12-0libc/test/src/__support/wctype/conversion/utils/CMakeLists.txt
+86-02 files

LLVM/project 30a0053libc/src/__support/wctype/conversion/utils enumerate.h CMakeLists.txt

use forward decl
DeltaFile
+6-7libc/src/__support/wctype/conversion/utils/enumerate.h
+1-0libc/src/__support/wctype/conversion/utils/CMakeLists.txt
+7-72 files

LLVM/project f323fd7libc/src/__support/wctype/conversion/utils enumerate.hpp CMakeLists.txt

[libc][wctype] Upstream enumerate header from PtrHash-cc prototype to LLVM libc
DeltaFile
+66-0libc/src/__support/wctype/conversion/utils/enumerate.hpp
+10-0libc/src/__support/wctype/conversion/utils/CMakeLists.txt
+76-02 files

LLVM/project c9d354alibc/src/__support/wctype/conversion/random vec512_storage.cpp imm.h

[libc][wctype] Upstream immintrin storage from PtrHash-cc prototype to LLVM libc
DeltaFile
+342-0libc/src/__support/wctype/conversion/random/vec512_storage.cpp
+268-0libc/src/__support/wctype/conversion/random/imm.h
+82-0libc/src/__support/wctype/conversion/random/vec512_storage.h
+76-0libc/src/__support/wctype/conversion/random/vec128_storage.h
+63-0libc/src/__support/wctype/conversion/random/vec256_storage.h
+60-0libc/src/__support/wctype/conversion/random/vec256_storage.cpp
+891-01 files not shown
+913-07 files