LLVM/project 2766733compiler-rt CMakeLists.txt, compiler-rt/lib/profile CMakeLists.txt InstrProfilingFile.c

[compiler-rt][profile] Add COMPILER_RT_BUILD_PROFILE_ROCM option (#200127)
DeltaFile
+9-1compiler-rt/lib/profile/CMakeLists.txt
+9-0compiler-rt/CMakeLists.txt
+4-0compiler-rt/lib/profile/InstrProfilingFile.c
+22-13 files

LLVM/project 992ee59compiler-rt/cmake/Modules AllSupportedArchDefs.cmake, compiler-rt/lib/asan asan_allocator.h

Add support for Alpha to libsanitizer (#194161)

Add support for [Alpha](https://en.wikipedia.org/wiki/DEC_Alpha) to
libsanitizer.

- [sanitizer] Add SANITIZER_ALPHA platform macro
- [sanitizer] Add Linux/Alpha syscall implementation
- [sanitizer] Skip __old_kernel_stat check on Alpha
- [sanitizer] Use statx for stat syscalls on Linux/Alpha
- [sanitizer] Add GetPcSpBp signal context support for Alpha
- [sanitizer] Add Alpha struct size constants
- [sanitizer] Add Alpha ioctl encoding constants
- [compiler-rt] sanitizer: Alpha struct sigaction has no sa_restorer
- [compiler-rt] sanitizer: Disable interceptor trampoline on Alpha
- [compiler-rt] sanitizer: Add Alpha __sanitizer_dirent layout
- [compiler-rt] sanitizer: Add Alpha ThreadDescriptorSizeFallback()
- [compiler-rt] Enable Alpha Linux target
- [compiler-rt] Use fixed shadow offset 0x10000000000 (1T) for Alpha
- [compiler-rt][ASan] Limit allocator to 512G on Alpha

    [2 lines not shown]
DeltaFile
+146-0compiler-rt/lib/sanitizer_common/sanitizer_syscall_linux_alpha.inc
+26-7compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
+13-2compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
+4-3compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
+6-0compiler-rt/lib/sanitizer_common/sanitizer_platform.h
+5-0compiler-rt/lib/asan/asan_allocator.h
+200-126 files not shown
+214-1712 files

LLVM/project d5edbe4.github/workflows/upload-release-artifact action.yml

workflows/upload-release-artifact: Validate input and remove template expansion (#199972)

https://github.com/llvm/llvm-project/security/code-scanning/1757
https://github.com/llvm/llvm-project/security/code-scanning/1758
https://github.com/llvm/llvm-project/security/code-scanning/1759
https://github.com/llvm/llvm-project/security/code-scanning/1760
https://github.com/llvm/llvm-project/security/code-scanning/1761
DeltaFile
+17-5.github/workflows/upload-release-artifact/action.yml
+17-51 files

LLVM/project 5d29057.github/actions/push-container action.yml

actions/push-container: Remove template expansion (#200062)

https://github.com/llvm/llvm-project/security/code-scanning/1757
DeltaFile
+1-1.github/actions/push-container/action.yml
+1-11 files

LLVM/project c8ef5dcllvm/lib/Transforms/Vectorize VPlan.h LoopVectorize.cpp, llvm/unittests/Transforms/Vectorize VPlanTest.cpp

[VPlan] Directly pass SrcEltTy when constructing WideGEP (NFC) (#200043)

Avoid getting the source element type from the underlying instruction,
and make the underlying instruction optional.
DeltaFile
+13-10llvm/lib/Transforms/Vectorize/VPlan.h
+5-3llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+3-2llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+2-2llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
+23-174 files

NetBSD/src V3tdbD3sbin/mount_nfs mount_nfs.c mount_nfs.8, sys/nfs nfs_clntsubs.c nfsmount.h

   PR/59452: Marcin Gondek: Add a new mount flag "nowccmsg" to suppress printing
   wcc-related messages. Apparently some synology server is causing them. This
   just suppresses the messages, but does not change the behavior of the client.
VersionDeltaFile
1.8+7-5sys/nfs/nfs_clntsubs.c
1.77+6-2sbin/mount_nfs/mount_nfs.c
1.53+4-2sbin/mount_nfs/mount_nfs.8
1.55+4-2sys/nfs/nfsmount.h
+21-114 files

LLVM/project ebe8595lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime AppleObjCClassDescriptorV2.cpp AppleObjCClassDescriptorV2.h

[lldb][NFCI] Cleanup APIs in AppleObjCClassDescriptorV2 (#200122)

This removes unnecessary unique_ptrs and uses better error handling
(expected instead of bools).
DeltaFile
+75-72lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp
+10-7lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.h
+85-792 files

FreeBSD/ports d3d280ddeskutils/py-paperless-ngx Makefile, www/py-dj52-django-treenode Makefile pkg-descr

deskutils/py-paperless-ngx: Move away from py-dj52-* ports

* The counterparts of the py-dj52-* ports were switched to Django 5.2
  in ce59801b72ef, thus move py-paperless-ngx to those ones.

* Rename py-dj52-django-treenode to py-django-treenode, since there's
  no equivalent for it yet.

* Bump PORTREVISION due changed dependencies.

PR:             291707
Approved by:    grembo (maintainer, via private mail)
DeltaFile
+15-14deskutils/py-paperless-ngx/Makefile
+0-28www/py-dj52-django-treenode/Makefile
+28-0www/py-django-treenode/Makefile
+0-12www/py-dj52-django-treenode/pkg-descr
+12-0www/py-django-treenode/pkg-descr
+3-0www/py-django-treenode/distinfo
+58-543 files not shown
+60-589 files

FreeBSD/ports 56989c5www/py-django-auditlog Makefile distinfo

www/py-django-auditlog: Update to 3.4.0

* There is already a newer version available, but stick with this one
  for now to stay in sync with the py-dj52 counterpart.  This is being
  done as a precaution to avoid any potential issues later on when
  py-paperless-ngx is switched from py-dj52-django-auditlog to this
  port.

Changelog since 3.0.0:

https://github.com/jazzband/django-auditlog/blob/v3.4.0/CHANGELOG.md

Approved by:    grembo (maintainer, via private mail)
DeltaFile
+4-4www/py-django-auditlog/Makefile
+3-3www/py-django-auditlog/distinfo
+7-72 files

FreeBSD/ports 739bc8ewww/py-django-multiselectfield Makefile distinfo

www/py-django-multiselectfield: Update to 0.1.13

* There are already newer versions available, but stick with this one
  for now to stay in sync with the py-dj52 counterpart.  This is being
  done as a precaution to avoid any potential issues later on when
  py-paperless-ngx is switched from py-dj52-django-multiselectfield to
  this port.

* Also switch to the PEP517 build framework to make the port future
  proof while I'm here.

Changelog:

https://github.com/goinnn/django-multiselectfield/blob/v0.1.13/CHANGES.rst

Approved by:    grembo (maintainer, via private mail)
DeltaFile
+6-4www/py-django-multiselectfield/Makefile
+3-3www/py-django-multiselectfield/distinfo
+9-72 files

NetBSD/src 1ZUFI0Busr.sbin/mountd exports.5

   exports(5): Tweak markup in table.

   Avoid extraneous spacing between keys in multiple-key entries.
VersionDeltaFile
1.40+7-2usr.sbin/mountd/exports.5
+7-21 files

OpenBSD/ports 9WpARO2net/bird/3 distinfo Makefile, net/bird/3/patches patch-sysdep_unix_random_c patch-sysdep_bsd_krt-sock_c

   MFC update to bird-3.3.0
VersionDeltaFile
1.9.2.1+4-4net/bird/3/distinfo
1.9.2.1+1-3net/bird/3/Makefile
1.1.6.1+0-0net/bird/3/patches/patch-sysdep_unix_random_c
1.1.2.1+0-0net/bird/3/patches/patch-sysdep_bsd_krt-sock_c
+5-74 files

OpenBSD/ports h3bsrF3net/bird/2 distinfo Makefile, net/bird/2/patches patch-sysdep_unix_random_c

   MFC update to bird-2.19.0
VersionDeltaFile
1.23.2.1+4-4net/bird/2/distinfo
1.28.2.1+1-1net/bird/2/Makefile
1.3.18.1+0-0net/bird/2/patches/patch-sysdep_unix_random_c
+5-53 files

LLVM/project da4e5ccllvm/lib/Analysis ScalarEvolution.cpp, llvm/test/Analysis/ScalarEvolution rounding-demanded-bits.ll

[SCEV] Canonicalise round-up idiom when some bits known (#197126)

Since #174380, instcombine can clear some set bits in the added constant
in expressions like this, when A has some known-clear low order bits.
  (A + 15) & ~15

This transformation is valid, but can make it harder for later passes to
recognise this idiom for rounding up to a power of 2. This is causing
the ARM MVE tail predication pass to fail on loops with a trip count
which is a multiple of a small power of 2.

The fix is to reverse the transformation when building SCEV expressions,
canonicalising to always use the largest valid value for the added
constant.

Alive proofs:
https://alive2.llvm.org/ce/z/hhndoW
https://alive2.llvm.org/ce/z/_JYVat
DeltaFile
+117-0llvm/test/Analysis/ScalarEvolution/rounding-demanded-bits.ll
+77-0llvm/test/CodeGen/Thumb2/LowOverheadLoops/tail-pred-known-bits.ll
+20-0llvm/lib/Analysis/ScalarEvolution.cpp
+214-03 files

LLVM/project ca5d128clang/test/Driver aarch64-v97a.c, llvm/lib/Target/AArch64 AArch64SystemOperands.td AArch64Features.td

[AArch64][llvm] Deprecate FEAT_MPAMv2_VID

`FEAT_MPAMv2_VID` instructions and system registers, as introduced
in change d30f18d2c, are being deprecated at this time, as they've been
removed from the latest Arm ARM, which doesn't preclude them returning
in some form in future.

Other system registers introduced with `FEAT_MPAMv2` are unaffected,
and these continue to be ungated. `+mpamv2` gating is now renamed to
`+mpamv2-deprecated`, to avoid an ABI break. This makes it obvious that
it shouldn't be used.
DeltaFile
+19-19llvm/test/MC/AArch64/armv9.7a-mpamv2.s
+3-3llvm/lib/Target/AArch64/AArch64SystemOperands.td
+2-2llvm/unittests/TargetParser/TargetParserTest.cpp
+0-4clang/test/Driver/aarch64-v97a.c
+2-2llvm/lib/Target/AArch64/AArch64Features.td
+1-1llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+27-313 files not shown
+30-349 files

LLVM/project ee3709bllvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 neon-partial-reduce-dot-product.ll

[AArch64] Lower SUMLA via two udot products on plain dotprod targets. (#199761)

Lower PARTIAL_REDUCE_SUMLA on targets without i8mm using udot via

sum(mul (zext %a, sext %b)) =
    sum(mul zext %a, zext (xor %b, 0x80)) -
    sum(mul 128, zext %a)

using  sext(s) = zext(xor(s, 0x80)) - 128
(https://alive2.llvm.org/ce/z/8G8rer)

Alive2 proofs:
* mul (zext, sext) https://alive2.llvm.org/ce/z/8Av7rG
* mul (sext, zext) https://alive2.llvm.org/ce/z/g-gJGq

PR: https://github.com/llvm/llvm-project/pull/199761
DeltaFile
+292-142llvm/test/CodeGen/AArch64/neon-partial-reduce-dot-product.ll
+43-11llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+335-1532 files

LLVM/project 7fb99eellvm/lib/Analysis CallGraphSCCPass.cpp, llvm/test/Other legacy-callgraph-scc-pass-printer.ll

Emit newline after IR-dump banner in PrintCallGraphPass (#199410)

Required for Compiler Explorer's opt-pipeline viewer: the tool parses
pass output by splitting on the IR-dump banner line, so the banner must
end with a newline. Without it, targets that exercise this pass cannot
be inspected through the opt-pipeline feature.

Assisted by Claude.
DeltaFile
+11-0llvm/test/Other/legacy-callgraph-scc-pass-printer.ll
+1-1llvm/lib/Analysis/CallGraphSCCPass.cpp
+12-12 files

LLVM/project 34f294cflang/lib/Semantics resolve-directives.cpp, flang/test/Semantics/OpenMP detach-symbols.f90

[flang][OpenMP] Event handles are not predetermined shared (#200055)

An event-handle variable that appears in a DETACH has its data-sharing
attributes determined according to the usual rules in the constructs
enclosing the clause.
DeltaFile
+0-17flang/test/Semantics/OpenMP/detach-symbols.f90
+0-11flang/lib/Semantics/resolve-directives.cpp
+0-282 files

FreeNAS/freenas 60f538c.github/workflows mypy.yml, src/middlewared/middlewared main.py

mypy checks for pwenc plugin
DeltaFile
+99-27src/middlewared/middlewared/api/base/decorator.py
+19-11src/middlewared/middlewared/plugins/pwenc.py
+2-1.github/workflows/mypy.yml
+2-0src/middlewared/middlewared/main.py
+122-394 files

OPNSense/core d8582fdsrc/opnsense/mvc/app/controllers/OPNsense/Firewall/Api FilterController.php, src/opnsense/mvc/app/views/OPNsense/Firewall filter_rule.volt

Inspect button only reveals statistics now, all other filtering decisions have been removed from the Inspect button (show_all in FilterController)
DeltaFile
+6-6src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/FilterController.php
+1-1src/opnsense/mvc/app/views/OPNsense/Firewall/filter_rule.volt
+7-72 files

LLVM/project 9f82a4ellvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 ldst-opt.mir volatile-reg-writeback.ll

[AArch64] Do not generate indexed addressing mode for volatile accesses (#196305)

Instructions performing register writeback do not set a valid
instruction syndrome, making it impossible to handle MMIO in protected
hypervisors. Suppress the use of postinc/preinc addressing modes for
volatile accesses, which may be used to interact with MMIO.

There are three different places that can form indexed addressing modes:

 * GISel via isIndexingLegal()
 * SDAG via getPreIndexedAddressParts() and getPostIndexedAddressParts()
 * AArch64LoadStoreOptimizer

The the latter case, exclude volatile accesses on SP (which are relevant
for stack probing) and MTE tag stores, as both cannot be MMIO.

Fixes https://github.com/llvm/llvm-project/issues/173014.
DeltaFile
+36-36llvm/test/CodeGen/AArch64/ldst-opt.mir
+52-0llvm/test/CodeGen/AArch64/volatile-reg-writeback.ll
+14-15llvm/test/CodeGen/AArch64/stack-probing-dynamic.ll
+12-12llvm/test/CodeGen/AArch64/memtag-merge-writeback.mir
+24-0llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+10-10llvm/test/CodeGen/AArch64/arm64-ldst-unscaled-pre-post.mir
+148-736 files not shown
+174-9312 files

FreeNAS/freenas 3cec600.github/workflows mypy.yml, src/middlewared/middlewared main.py

mypy checks for pwenc plugin
DeltaFile
+69-2src/middlewared/middlewared/api/base/decorator.py
+19-11src/middlewared/middlewared/plugins/pwenc.py
+2-1.github/workflows/mypy.yml
+2-0src/middlewared/middlewared/main.py
+92-144 files

FreeBSD/src f9f4629usr.sbin/bsdinstall/distextract distextract.c

bsdinstall: Use libarchive secure flags for extract

This doesn't really matter, as we trust that the installer tarballs are
not malicious, but it doesn't hurt to set these flags.

Reported by: Yuxiang Yang, Yizhou Zhao, Ao Wang, Xuewei Feng, Qi Li, and Ke Xu from Tsinghua University using GLM-5.1 from Z.ai
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57274
DeltaFile
+2-0usr.sbin/bsdinstall/distextract/distextract.c
+2-01 files

FreeBSD/src fc9dc84sys/dev/sound/usb uaudio.c

snd_uaudio: Lock usbd_transfer_start() in uaudio_mixer_ctl_set()

This section would be previously locked by sound(4)'s mixer lock (see
e87654db5a09 ("snd_uaudio: Stop using mixer_get_lock()")), but
snd_uaudio(4) no longer uses it. This particular code path was missed
during testing, because my sound card does not reach it.

Fixes:          9a00e0b8ca56 ("snd_uaudio: Do not use snd_mixer->lock as mixer_lock")
Reported by:    netchild
Tested by:      netchild
Sponsored by:   The FreeBSD Foundation
MFC after:      6 days
DeltaFile
+6-4sys/dev/sound/usb/uaudio.c
+6-41 files

LLVM/project 98c7814llvm/test/tools/llubi gep.ll attributes.ll, llvm/tools/llubi/lib Context.cpp Value.h

[llubi] Add basic support for provenance modeling (#185977)

There are four solutions to model the provenance in the memory:
1. `(allocid, bitindex)` for each bit: It follows the definition of byte
type.
2. `(allocid, bitindex)` for each byte: This assumes the pointer/byte
types are always byte-sized, and requires bitextract/bitinsert to shift
by multiples of 8, as posted in
https://discourse.llvm.org/t/rfc-add-a-new-byte-type-to-llvm-ir/89522/53.
I believe this is true in most real-world cases.
3. Assign a random tag for each memory object: The tag has the same
width as the address. It is stored in the memory like addresses. Thus,
each logical byte only occupies 4 bytes. When loading a pointer, the tag
is loaded and used to recover the provenance. Incorrect bit ordering
will result in nullary provenance (with a negligible rate of false
negatives). I think it is feasible because we can always turn a false
negative into a positive with a different seed. It is also compatible
with captured components
(https://github.com/dtcxzyw/llvm-ub-aware-interpreter/blob/d15dfef5bc0c1b30b05512bbc28fddb2b50cc0b1/ubi.h#L187)

    [8 lines not shown]
DeltaFile
+85-20llvm/tools/llubi/lib/Context.cpp
+26-9llvm/tools/llubi/lib/Value.h
+27-8llvm/tools/llubi/lib/Context.h
+14-14llvm/test/tools/llubi/gep.ll
+13-13llvm/test/tools/llubi/attributes.ll
+9-11llvm/test/tools/llubi/metadata.ll
+174-7518 files not shown
+234-10524 files

OpenBSD/src RTT9sPeusr.sbin/bgpd rde_rib.c

   Previous commit introduced a logic bug.

   Code needs to call ib_dump_free() for every context where
   id matches ctx->ctx_id and ctx->ctx_re is set (this skips
   adjout_prefix_dump contexts since there ctx_re is NULL).

   OK tb@
VersionDeltaFile
1.300+3-4usr.sbin/bgpd/rde_rib.c
+3-41 files

LLVM/project 4471b62llvm/utils/git github-automation.py

[GitHub] Add InstCombine Contributor Guide to new contributor greeting comment (#199730)

I have always manually replied to new contributors, reminding them to
follow the InstCombine contributor guide. Let’s automate this process.

Now it will append the link to the guide when the PR changes the
InstCombine (and highly related components) files.
DeltaFile
+32-1llvm/utils/git/github-automation.py
+32-11 files

LLVM/project 40d0700clang/docs ReleaseNotes.rst, clang/include/clang/Basic DiagnosticParseKinds.td

address review
DeltaFile
+25-0clang/test/C/C2y/n3267.c
+10-4clang/lib/Parse/ParseExprCXX.cpp
+5-5clang/include/clang/Basic/DiagnosticParseKinds.td
+4-1clang/docs/ReleaseNotes.rst
+2-2clang/lib/Parse/ParseStmt.cpp
+46-125 files

LLVM/project 3e8fc35clang/include/clang/CIR MissingFeatures.h, clang/lib/CIR/CodeGen CIRGenCoroutine.cpp CIRGenException.cpp

[CIR] Implement 'coroutine' exception handling lowering (#200045)

This patch implements the lowering to CIR for exception handling.
Unfortunately the missing components of Flatten-CFG don't work here, so
we only test that we get successfully to CIR, not to LLVM-IR.

This patch runs the 'await-resume' in a try/catch, and only if that
succeeds, does it run the coroutine body (also in a try/catch if there
is an exception handler).

This is nearly identical to the implementation in classic-codegen,
except we invert the resume-eh variable's value, so we can just use a
simple `if` op for the branch.
DeltaFile
+138-0clang/test/CIR/CodeGen/coro-exceptions.cpp
+118-15clang/lib/CIR/CodeGen/CIRGenCoroutine.cpp
+3-1clang/lib/CIR/CodeGen/CIRGenException.cpp
+0-1clang/include/clang/CIR/MissingFeatures.h
+259-174 files

FreeBSD/src 7b2702esys/amd64/amd64 machdep.c, sys/sys systm.h

sys: add safe_read(9)

The MD function with MI interface to provide a way to read arbitrary
(canonical) KVA.  amd64 only for now.

Reviewed by:    markj
Tested by:      aokblast
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D49566
DeltaFile
+18-0sys/amd64/amd64/machdep.c
+8-0sys/sys/systm.h
+26-02 files