LLVM/project 92da1c0llvm/include/llvm/Analysis IR2Vec.h, llvm/lib/Analysis IR2Vec.cpp

[llvm-ir2vec] vocab read refactor (#177837)

Modifying llvm-ir2vec vocab reading pipeline to use Vocabulary::fromFile
instead of a full pass invocation

Addresses - [comment](
https://github.com/llvm/llvm-project/pull/177092#pullrequestreview-3687563016)
and is a follow up of the patch
[here](https://github.com/llvm/llvm-project/pull/177348)
DeltaFile
+12-9llvm/tools/llvm-ir2vec/lib/Utils.cpp
+10-3llvm/tools/llvm-ir2vec/llvm-ir2vec.cpp
+3-3llvm/tools/llvm-ir2vec/lib/Utils.h
+1-1llvm/lib/Analysis/IR2Vec.cpp
+2-0llvm/test/tools/llvm-ir2vec/error-handling.ll
+1-0llvm/include/llvm/Analysis/IR2Vec.h
+29-166 files

LLVM/project 0817524llvm/lib/Target/RISCV RISCVInstrInfoVVLPatterns.td

[RISCV] Fix VRGATHER_V*_VL operands docs. NFC (#178124)

The passthru is third operand and the mask is the fourth
DeltaFile
+1-1llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
+1-11 files

NetBSD/src wcQaeQ5sys/uvm/pmap pmap.c

   Group pmap_{activate,deactivate,update}

   NFCI
VersionDeltaFile
1.82+61-61sys/uvm/pmap/pmap.c
+61-611 files

NetBSD/src 1sfbCe6sys/uvm/pmap pmap_tlb.c

   Remove debug printf
VersionDeltaFile
1.64+2-4sys/uvm/pmap/pmap_tlb.c
+2-41 files

OPNSense/core c7ac403. plist, src/etc/inc interfaces.inc

interfaces: generalise the dhcp6c_script using the new IFNAME variable #7647

The file was conceptually created in d36f0f4f62557 and before was a single
command line script... so add appropriate copyrights from that time onward.

Many thanks to Martin for pinoeering this back in the day!
DeltaFile
+96-0src/opnsense/scripts/interfaces/dhcp6c_script.sh
+3-72src/etc/inc/interfaces.inc
+1-0plist
+100-723 files

OPNSense/core 55a9306src/etc/inc interfaces.inc, src/opnsense/scripts/interfaces rtsold_script.sh

interfaces: multi-dhcp6c support and custom PD association #7647

This splits off rtsold and dhcp6c into separate processes
which frees us from the restrictions of faked iterative IDs
for PD associations.  For NA we simply default to 0 now.

I'm not entirely sure why we settled for a single deamon of
dhcp6c back in the day, but there are certianly downsides to
it and I don't see something that wasn't fixed in the meantime
that makes this not work.

Add two debugging files which still need to be steered via the
debug setting.
DeltaFile
+26-58src/etc/inc/interfaces.inc
+58-4src/www/interfaces.php
+6-6src/opnsense/scripts/interfaces/rtsold_script.sh
+90-683 files

OPNSense/core af5dba1src/etc/inc system.inc

system: old glue code does old glue code things
DeltaFile
+1-1src/etc/inc/system.inc
+1-11 files

OPNSense/core d11320bsrc/etc/inc/plugins.inc.d openssh.inc

openssh: obvious fail ;)
DeltaFile
+1-1src/etc/inc/plugins.inc.d/openssh.inc
+1-11 files

HardenedBSD/src 823fa91sys/dev/cxgbe t4_netmap.c, sys/powerpc/aim moea64_native.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+90-9sys/powerpc/powermac/platform_powermac.c
+5-0sys/powerpc/aim/moea64_native.c
+1-3sys/dev/cxgbe/t4_netmap.c
+96-123 files

HardenedBSD/src 4b59f4dsys/dev/cxgbe t4_netmap.c, sys/powerpc/aim moea64_native.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+90-9sys/powerpc/powermac/platform_powermac.c
+5-0sys/powerpc/aim/moea64_native.c
+1-3sys/dev/cxgbe/t4_netmap.c
+96-123 files

LLVM/project f4cedddllvm/lib/Target/RISCV RISCVTargetTransformInfo.cpp RISCVTargetMachine.cpp, llvm/test/CodeGen/RISCV selectopt.ll features-info.ll

[RISCV] Support select optimization

AArch64 has enabled this in https://reviews.llvm.org/D138990, and
the measurement data still stands for RISCV in some cases.

And, similar optimization like #77284 is added too.

After this patch, the highly predictable branch will be converted
back to branches instead using selects.

This pass is disabled by default now, we can enable it by default
after more detailed investigation.

Reviewers: davemgreen, preames, dtcxzyw, lukel97, topperc, asb

Pull Request: https://github.com/llvm/llvm-project/pull/80124
DeltaFile
+958-0llvm/test/CodeGen/RISCV/selectopt.ll
+22-0llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+8-0llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+6-0llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
+4-0llvm/lib/Target/RISCV/RISCVFeatures.td
+1-0llvm/test/CodeGen/RISCV/features-info.ll
+999-06 files

HardenedBSD/ports e20c681textproc/libxml2 Makefile pkg-plist, textproc/libxml2-core Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+656-0textproc/libxml2/files/xmllint.1
+355-0textproc/libxml2/files/xmlcatalog.1
+0-130textproc/libxml2-core/files/patch-xpath.c
+55-43textproc/libxml2/Makefile
+0-67textproc/libxml2-core/Makefile
+58-3textproc/libxml2/pkg-plist
+1,124-24319 files not shown
+1,214-37625 files

OPNSense/core b787479. plist, src/etc/inc system.inc

system: provide override banner and inline hint for /etc/resolv.conf(.local)
DeltaFile
+52-0src/opnsense/mvc/app/library/OPNsense/System/Status/ResolvConfOverrideStatus.php
+3-0src/etc/inc/system.inc
+1-0plist
+56-03 files

OPNSense/core 47be95bsrc/etc/inc/plugins.inc.d openssh.inc

openssh: touchup due to tangent changes in automatically generated banners
DeltaFile
+9-16src/etc/inc/plugins.inc.d/openssh.inc
+9-161 files

OpenBSD/src PL61y20usr.bin/ssh ssh-agent.c authfd.h

   Implement "query" extension from draft-ietf-sshm-ssh-agent

   feedback jsg@, tb@; ok tb@
VersionDeltaFile
1.317+24-2usr.bin/ssh/ssh-agent.c
1.54+3-1usr.bin/ssh/authfd.h
+27-32 files

LLVM/project a95a946orc-rt/include/orc-rt Error.h, orc-rt/include/orc-rt-c Error.h Visibility.h

[orc-rt] Add C API for Errors, plus ORC_RT_C_ABI macro. (#178123)

This commit introduces a C interface for the ORC runtime's Error
handling system, enabling C clients and language bindings to work with
ORC errors.

The ORC_RT_C_ABI macro applies __attribute__((visibility("default")))
(on platforms that support it), ensuring C API symbols are exported when
building the ORC runtime as a shared library. In the future I expect
that this will be extended to support other platforms (e.g. dllexport on
Windows).
DeltaFile
+176-0orc-rt/unittests/ErrorCAPITest.cpp
+80-0orc-rt/include/orc-rt-c/Error.h
+30-1orc-rt/lib/executor/Error.cpp
+30-0orc-rt/include/orc-rt-c/Visibility.h
+12-0orc-rt/include/orc-rt/Error.h
+5-0orc-rt/include/orc-rt-c/CoreTypes.h
+333-12 files not shown
+335-18 files

OpenBSD/ports mprzOl0sysutils/ntfs-3g Makefile

   MAINTAINER = Helg Bredow <helg at openbsd.org>
VersionDeltaFile
1.23+2-2sysutils/ntfs-3g/Makefile
+2-21 files

LLVM/project ddecdccllvm/include/llvm/Analysis IR2Vec.h, llvm/lib/CodeGen MIR2Vec.cpp

[IR2Vec] Change MIR2Vec vocab printer to not print non-zero entities (#178117)

This PR relaxes MIR2Vec tests, so that `reference_*_print.txt` files
need not be updated every time the list of MIR opcodes changes
DeltaFile
+0-7,145llvm/test/CodeGen/MIR2Vec/Inputs/reference_x86_vocab_wo=0.5_print.txt
+0-7,145llvm/test/CodeGen/MIR2Vec/Inputs/reference_x86_vocab_print.txt
+30-0llvm/unittests/Analysis/IR2VecTest.cpp
+12-2llvm/lib/CodeGen/MIR2Vec.cpp
+5-0llvm/include/llvm/Analysis/IR2Vec.h
+47-14,2925 files

LLVM/project 60250aaclang/lib/AST/ByteCode Compiler.cpp, clang/test/AST/ByteCode functions.cpp

[clang][bytecode] Fix crash in void functions returning non-void expr… (#176550)

The bytecode compiler was incorrectly emitting an 
RVOPtr
opcode for void functions if the return expression had a non-void type
(e.g. from a conditional operator). This triggered an assertion in the
interpreter because void functions lack RVO metadata.

This patch updates 
visitReturnStmt
 to check the function’s return type and use 
discard()
 for the expression in void contexts, preventing erroneous RVO pathing.

Fixes #176536
DeltaFile
+6-0clang/test/AST/ByteCode/functions.cpp
+3-0clang/lib/AST/ByteCode/Compiler.cpp
+9-02 files

LLVM/project 2a335ecorc-rt/unittests ErrorTest.cpp

[orc-rt] Add unit test for "re-throwing" errors in handleErrors. (#178112)

handleErrors supports several different handler signatures, including
handlers that take a unique_ptr<T> (where T is a descendant of
ErrorInfoBase) and return an Error: (std::unique_ptr<T>) -> Error. In
this case the handler should be able to create an Error value to wrap
the original ErrorInfoBase object without.

This functionality was not previously tested, and will be used in
upcoming commits. This commit adds the missing test coverage.
DeltaFile
+15-0orc-rt/unittests/ErrorTest.cpp
+15-01 files

OpenBSD/ports fcgZO7ddevel/doxygen Makefile, devel/doxygen-gui Makefile

   Disable interprocedural optimization

   "ports-gcc is modern enough to support -flto but our binutils and ld in base
   are not. So compiles break whenever lto is enabled on archs like sparc64."
   -- claudio

   OK tb@ claudio@
VersionDeltaFile
1.1+14-0devel/doxygen-gui/patches/patch-CMakeLists_txt
1.1+13-0devel/doxygen/patches/patch-CMakeLists_txt
1.74+1-0devel/doxygen/Makefile
1.39+1-0devel/doxygen-gui/Makefile
+29-04 files

LLVM/project 170ad23llvm/test/TableGen NotFirstMnemonic.td, llvm/utils/TableGen AsmMatcherEmitter.cpp

[TableGen][AsmMatcher] Fix optional operand mask indexing when HasMnemonicFirst is false (#176868)

### Summary
Fix optional operand mask indexing in the generated asm matcher when
HasMnemonicFirst is false.
DeltaFile
+64-0llvm/test/TableGen/NotFirstMnemonic.td
+17-11llvm/utils/TableGen/AsmMatcherEmitter.cpp
+81-112 files

HardenedBSD/src 77d71f5sys/dev/cxgbe t4_netmap.c

cxgbe(4): Fix netmap rx behavior with nm_split_rss

The driver should look for active queues and one potential default-queue
in both halves of the split instead of stopping at the first valid
default-queue.

Fixes:          a9f476580eb0 cxgbe(4): fixes for netmap operation with only some queues active
MFC after:      1 week
Sponsored by:   Chelsio Communications
DeltaFile
+1-3sys/dev/cxgbe/t4_netmap.c
+1-31 files

FreeBSD/src 77d71f5sys/dev/cxgbe t4_netmap.c

cxgbe(4): Fix netmap rx behavior with nm_split_rss

The driver should look for active queues and one potential default-queue
in both halves of the split instead of stopping at the first valid
default-queue.

Fixes:          a9f476580eb0 cxgbe(4): fixes for netmap operation with only some queues active
MFC after:      1 week
Sponsored by:   Chelsio Communications
DeltaFile
+1-3sys/dev/cxgbe/t4_netmap.c
+1-31 files

LLVM/project f5de33dllvm/lib/CodeGen ShrinkWrap.cpp, llvm/test/CodeGen/AArch64 shrink-wrap-unreachable.ll

[ShrinkWrap] Ensure we do not crash on unreachable blocks. (#178009)

Since we started optimizating always-true branches in the AArch64
backend (like cbz wzr), shrink wrap has been exposed to some block
structures that it does not handle correctly, usually with unreachable
blocks. This prevents the call to FindIDom/findNearestCommonDominator
from failing when looking at the predecessors of a loop if one is
unreachable.

Fixes: #177866
DeltaFile
+36-0llvm/test/CodeGen/AArch64/shrink-wrap-unreachable.ll
+5-1llvm/lib/CodeGen/ShrinkWrap.cpp
+41-12 files

FreeBSD/ports caa3bd0www/webkit2-gtk Makefile

www/webkit2-gtk: note libsoup 2 support sunsetting and scheduled removal
DeltaFile
+3-1www/webkit2-gtk/Makefile
+3-11 files

HardenedBSD/ports caa3bd0www/webkit2-gtk Makefile

www/webkit2-gtk: note libsoup 2 support sunsetting and scheduled removal
DeltaFile
+3-1www/webkit2-gtk/Makefile
+3-11 files

LLVM/project 3aaeaceflang/lib/Lower/OpenMP ClauseProcessor.cpp Clauses.cpp, flang/test/Lower/OpenMP num-teams-dims.f90

[OpenMP][MLIR] Add num_teams clause with dims modifier support (#169883)

PR adds support of openmp 6.1 feature `num_teams` with dims modifier.
llvmIR translation for num_teams with dims modifier is marked as NYI.
DeltaFile
+34-22mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+51-0flang/test/Lower/OpenMP/num-teams-dims.f90
+38-9mlir/include/mlir/Dialect/OpenMP/OpenMPClauses.td
+20-10flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+17-5flang/lib/Lower/OpenMP/Clauses.cpp
+18-1mlir/test/Dialect/OpenMP/invalid.mlir
+178-475 files not shown
+227-7011 files

LLVM/project d099a30llvm/include/llvm/Analysis IR2Vec.h, llvm/lib/CodeGen MIR2Vec.cpp

Change MIR2Vec vocab printer to not print non-zero entities
DeltaFile
+0-7,145llvm/test/CodeGen/MIR2Vec/Inputs/reference_x86_vocab_print.txt
+0-7,145llvm/test/CodeGen/MIR2Vec/Inputs/reference_x86_vocab_wo=0.5_print.txt
+30-0llvm/unittests/Analysis/IR2VecTest.cpp
+12-2llvm/lib/CodeGen/MIR2Vec.cpp
+5-0llvm/include/llvm/Analysis/IR2Vec.h
+47-14,2925 files

LLVM/project 05e2ee9clang/lib/CodeGen/TargetBuiltins RISCV.cpp, clang/test/CodeGen/RISCV/rvb-intrinsics zbc.c zbkc.c

[RISCV] Replace riscv.clmul intrinsic with llvm.clmul (#178092)

I did not replace riscv.clmulh/clmulr since those require a multiple
instruction pattern match. I wanted to ensure that -O0 will select the
correct instructions without relying on combines.
DeltaFile
+0-15llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+8-0llvm/lib/IR/AutoUpgrade.cpp
+3-3clang/test/CodeGen/RISCV/rvb-intrinsics/zbc.c
+3-3clang/test/CodeGen/RISCV/rvb-intrinsics/zbkc.c
+1-1clang/lib/CodeGen/TargetBuiltins/RISCV.cpp
+2-0llvm/test/CodeGen/RISCV/rv64zbc-zbkc-intrinsic.ll
+17-222 files not shown
+18-238 files