LLVM/project ce9d033llvm/lib/Transforms/Scalar LoopFuse.cpp, llvm/test/Transforms/LoopFusion loop_invariant.ll

[LoopFusion] Fusing with loop-invariant non-anti dependency (#186459)

It is safe to fuse if there is any loop-invariant non-anti dependency.
DeltaFile
+69-0llvm/test/Transforms/LoopFusion/loop_invariant.ll
+7-1llvm/lib/Transforms/Scalar/LoopFuse.cpp
+76-12 files

FreeBSD/ports 4587ae5sysutils Makefile, sysutils/logstash93 Makefile distinfo

sysutils/logstash93: New port version 9.3.1

Server-side data ingestion and transformation tool (9.3.x version).

Release Notes:
https://www.elastic.co/docs/release-notes/logstash#logstash-9.3.1-release-notes

PR:             293760
Approved by:    elastic (maintainer, implicit - inactive for more than 6 months)
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
DeltaFile
+5-5sysutils/logstash93/Makefile
+3-3sysutils/logstash93/distinfo
+1-1sysutils/logstash93/files/pkg-message.in
+1-0sysutils/Makefile
+10-94 files

LLVM/project 28bceb4utils/bazel/llvm-project-overlay/libc BUILD.bazel

[Bazel] Port 04fea76f78f35c289532d42f24ab38aa9d07a0b9 (#186501)
DeltaFile
+55-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+55-01 files

LLVM/project ae49f7dmlir/lib/Dialect/XeGPU/Transforms XeGPUPropagateLayout.cpp

[MLIR][XeGPU] Fix -Wunused-variable on non-assertions builds

Inline a variable and mark one [[maybe_unused]] so that we do not get
warnings with recent clang in such configurations.
DeltaFile
+3-4mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp
+3-41 files

FreeBSD/ports 7e21fcbsysutils/logstash93 Makefile pkg-descr, sysutils/logstash93/files logstash.in pkg-message.in

sysutils/logstash93: Repo copy from sysutils/logstash92

PR:             293760
Approved by:    elastic (maintainer, implicit - inactive for more than 6 months)
DeltaFile
+117-0sysutils/logstash93/files/logstash.in
+92-0sysutils/logstash93/Makefile
+25-0sysutils/logstash93/files/pkg-message.in
+17-0sysutils/logstash93/files/logstash.conf.sample
+11-0sysutils/logstash93/files/patch-config_logstash.yml
+3-0sysutils/logstash93/pkg-descr
+265-01 files not shown
+268-07 files

LLVM/project 458096dlibc/shared/math atan2f16.h, libc/src/__support/math atan2f16.h

[libc][math][c23] Add atan2f16 function (#183531)

Add atan2f16 function

closes https://github.com/llvm/llvm-project/issues/180969
Part of https://github.com/llvm/llvm-project/issues/95250.

also refactor to header only, it's a part of
https://github.com/llvm/llvm-project/issues/147386
DeltaFile
+142-0libc/test/src/math/atan2f16_test.cpp
+108-0libc/src/__support/math/atan2f16.h
+62-0libc/test/src/math/smoke/atan2f16_test.cpp
+58-0libc/test/src/math/exhaustive/atan2f16_test.cpp
+29-0libc/shared/math/atan2f16.h
+21-0libc/src/math/atan2f16.h
+420-022 files not shown
+538-128 files

FreeBSD/ports 3803e88sysutils/logstash92 Makefile distinfo, sysutils/logstash92/files logstash.in

sysutils/logstash92: Update 9.2.3 => 9.2.6

Release Notes:
https://www.elastic.co/docs/release-notes/logstash#logstash-9.2.6-release-notes

Improve port:
- Replace PORTVERSION with DISTVERSION.
- Add LOCAL/vvd/elastic to MASTER_SITES for those who can't download due
  to the HTTP error "Forbidden 403".
- Sort USES.
- Adjust JAVA_VERSION to supported LTS 25, 21 and 17.
- Parametrize "logstash" with "${PORTNAME}".
- Adjust CONFLICTS.
- Fix warnings from portclippy.
- Add possibility to use custom user/group.
- Replace RM of bundled JDK and *.bat files with
  EXTRACT_AFTER_ARGS=--exclude.
- Merge CHMODs.
- Replace %%PREFIX%% with %%LOCALBASE%% in rc.d script - bash installed

    [5 lines not shown]
DeltaFile
+27-25sysutils/logstash92/Makefile
+6-6sysutils/logstash92/files/logstash.in
+3-3sysutils/logstash92/distinfo
+36-343 files

FreeBSD/ports b76e9cbsysutils/logstash91 Makefile distinfo, sysutils/logstash91/files logstash.in

sysutils/logstash91: Update 9.1.9 => 9.1.10

Release Notes:
https://www.elastic.co/docs/release-notes/logstash#logstash-9.1.10-release-notes

Improve port:
- Replace PORTVERSION with DISTVERSION.
- Add LOCAL/vvd/elastic to MASTER_SITES for those who can't download due
  to the HTTP error "Forbidden 403".
- Sort USES.
- Adjust JAVA_VERSION to supported LTS 25, 21 and 17.
- Parametrize "logstash" with "${PORTNAME}".
- Adjust CONFLICTS.
- Fix warnings from portclippy.
- Add possibility to use custom user/group.
- Replace RM of bundled JDK and *.bat files with
  EXTRACT_AFTER_ARGS=--exclude.
- Merge CHMODs.
- Replace %%PREFIX%% with %%LOCALBASE%% in rc.d script - bash installed

    [5 lines not shown]
DeltaFile
+27-25sysutils/logstash91/Makefile
+6-6sysutils/logstash91/files/logstash.in
+3-3sysutils/logstash91/distinfo
+36-343 files

LLVM/project bc10876libc/shared/math bf16div.h, libc/src/__support/math bf16div.h CMakeLists.txt

[libc][math] Refactor bf16div to be header-only (#181400)

Closes #181022
Part of #147386
DeltaFile
+26-0libc/src/__support/math/bf16div.h
+23-0libc/shared/math/bf16div.h
+15-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+10-0libc/src/__support/math/CMakeLists.txt
+2-5libc/src/math/generic/bf16div.cpp
+1-5libc/src/math/generic/CMakeLists.txt
+77-103 files not shown
+80-109 files

LLVM/project 4fdf089libc/shared/math hypot.h, libc/src/__support/math hypot.h CMakeLists.txt

[libc][math] Move hypot to shared/math and make it constexpr (#177588)

Closes #175339 
DeltaFile
+24-0libc/src/__support/math/hypot.h
+22-0libc/shared/math/hypot.h
+16-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+10-0libc/src/__support/math/CMakeLists.txt
+2-5libc/src/math/generic/hypot.cpp
+1-1libc/src/math/generic/CMakeLists.txt
+75-73 files not shown
+78-79 files

LLVM/project 1452d22llvm/lib/Target/RISCV RISCVInstrInfoP.td RISCVInstrInfo.td, llvm/test/CodeGen/RISCV rvp-ext-rv64.ll rvp-ext-rv32.ll

[RISCV][P-ext] Remove unecessary AND from packed shift amounts. (#186488)

Add missing test coverage for 64-bit vectors with scalar shift
amounts.
DeltaFile
+180-6llvm/test/CodeGen/RISCV/rvp-ext-rv64.ll
+76-4llvm/test/CodeGen/RISCV/rvp-ext-rv32.ll
+19-26llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+7-5llvm/lib/Target/RISCV/RISCVInstrInfo.td
+282-414 files

LLVM/project ce61150clang/unittests/ScalableStaticAnalysisFramework CMakeLists.txt, llvm/utils/gn/secondary/clang/unittests/ScalableStaticAnalysisFramework BUILD.gn

[clang][ssaf] Fix missing library dependency (#186496)

Caused by #186442
Similar to #186475
Addresses:
https://github.com/llvm/llvm-project/pull/186475#issuecomment-4057355167

```
/usr/bin/ld: tools/clang/unittests/ScalableStaticAnalysisFramework/CMakeFiles/ClangScalableAnalysisTests.dir/ASTEntityMappingTest.cpp.o: undefined reference to symbol '_ZN4llvm3omp27isAllowedClauseForDirectiveENS0_9DirectiveENS0_6ClauseEj'
/usr/bin/ld: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/libLLVMFrontendOpenMP.so.23.0git: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
```
DeltaFile
+2-0clang/unittests/ScalableStaticAnalysisFramework/CMakeLists.txt
+2-0llvm/utils/gn/secondary/clang/unittests/ScalableStaticAnalysisFramework/BUILD.gn
+4-02 files

NetBSD/src KWxVA08usr.bin/telnet telnet.c commands.c

   Only send exported variables (from OpenBSD):
   https://www.openwall.com/lists/oss-security/2026/03/13/1
VersionDeltaFile
1.45+7-7usr.bin/telnet/telnet.c
1.81+4-4usr.bin/telnet/commands.c
1.15+3-3usr.bin/telnet/authenc.c
1.45+2-2usr.bin/telnet/externs.h
+16-164 files

LLVM/project ed749eblldb/source/Target Platform.cpp ModuleCache.cpp, lldb/unittests/Target LocateModuleCallbackTest.cpp

[lldb] Preserve TargetSP in Platform module lookup (#186323)

[lldb] Preserve TargetSP in Platform module lookup

When `Platform::GetRemoteSharedModule` resolves a module specification
by calling `GetModuleSpec` on
the process, the target context (`TargetSP`) is lost. This happens
because the underlying process plugin populates a new `ModuleSpec`
object that does not inherit the target context.

This causes failures in subsequent symbol resolution steps. For example,
when `ModuleList` relies on the `TargetSP` to query target-specific
settings like `target.exec-search-paths` and
`target.symbols-search-paths`, the lookup fails
because `TargetSP` evaluates to null. This prevents LLDB from finding
local unstripped libraries.

This commit fixes the issue by transferring the target context from the
original `module_spec` over to the `resolved_module_spec` before

    [9 lines not shown]
DeltaFile
+40-0lldb/unittests/Target/LocateModuleCallbackTest.cpp
+8-2lldb/source/Target/Platform.cpp
+2-1lldb/source/Target/ModuleCache.cpp
+50-33 files

LLVM/project a7b764bllvm/lib/Target/AArch64 AArch64SystemOperands.td

[AArch64][llvm] Rewrite the TLBI multiclass to be much clearer (NFC)

The `tlbi` multiclass is really doing four jobs at once: base TLBI,
synthesized nXS, optional TLBIP, and synthesized TLBIP nXS. Also,
`needsreg` and `optreg` are really just a 3-state operand policy in
disguise. Likewise, the PLBI multiclass has this same issue.

Change `needsreg` and `optreg` into a combined fake enum, so it's
clearer whether the instruction takes no register operand, a required
register operand or an optional register operand.

This improves on my original change 66e8270e8.
DeltaFile
+130-121llvm/lib/Target/AArch64/AArch64SystemOperands.td
+130-1211 files

LLVM/project 511359fllvm/test/CodeGen/X86 vector-interleaved-store-i32-stride-7.ll vector-interleaved-store-i32-stride-5.ll

[X86] lowerV4F32Shuffle - don't use INSERTPS if SHUFPS will suffice (#186468)

If we have 2 or more undef/undemanded elements, the INSERTPS replaces
those with explicit zero'd elements which can cause infinite loops later
on in shuffle combining depending on whether we demand those elements or
not.

I'll try to improve the (minor) v2f32 regressions in a follow up, but I
need to fix the infinite loop first.

Fixes #186403
DeltaFile
+63-63llvm/test/CodeGen/X86/vector-interleaved-store-i32-stride-7.ll
+32-32llvm/test/CodeGen/X86/vector-interleaved-store-i32-stride-5.ll
+30-30llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll
+17-42llvm/test/CodeGen/X86/vector-shuffle-combining.ll
+42-1llvm/test/CodeGen/X86/vector-shuffle-combining-sse41.ll
+8-26llvm/test/CodeGen/X86/vector-shuffle-128-v4.ll
+192-1949 files not shown
+244-24015 files

FreeBSD/ports 85dce12x11/libX11 distinfo Makefile

x11/libX11: update: 1.8.12 -> 1.8.13

<ChangeLog>

 * Ignore XkbMapNotify events that don't belong to the core keyboard (!293)
 * xkb: Fix invalid level names count for key types without level names (!292)
 * xkb: Fix default key types (!292)
 * Drop vestiges of OS/2 support (!291)
 * xkb: fix include of config.h and drop unused DEBUG check (!290)
 * xcb_io: fix build with configure --disable-xthreads (#232, !289)
 * Improve man page formatting (!286)
 * imDefIc: Clear fabricated state on unfocus. (!283)
 * Avoid memory leak in XKeysymToString (!282)

</ChangeLog>

PR:             293045
Exp-run by:     antoine
Approved by:    x11 (maintainer, timeout >2 weeks)

    [2 lines not shown]
DeltaFile
+3-3x11/libX11/distinfo
+1-1x11/libX11/Makefile
+4-42 files

LLVM/project a685108clang/include/clang/Analysis/Analyses/LifetimeSafety Facts.h, clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp LoanPropagation.cpp

[LifetimeSafety] Fix false positives for pointers in loops (#182368)

When a pointer and its pointee die in the same loop scope, the back-edge
makes the pointer appear live at the pointee's `ExpireFact`, causing a
spurious use-after-scope warning. The origin's loans and liveness are
cleared at `LifetimeEnds` via `ExpireFact`, preventing the checker from
reporting against an origin whose variable is already dead.

Fixes: #169548
DeltaFile
+56-0clang/test/Sema/warn-lifetime-safety.cpp
+20-1clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+8-3clang/include/clang/Analysis/Analyses/LifetimeSafety/Facts.h
+6-0clang/lib/Analysis/LifetimeSafety/LoanPropagation.cpp
+5-1clang/lib/Analysis/LifetimeSafety/Facts.cpp
+6-0clang/lib/Analysis/LifetimeSafety/LiveOrigins.cpp
+101-52 files not shown
+104-68 files

FreeBSD/src c70f382libexec/rtld-elf/aarch64 reloc.c

rtld-elf: Remove stray _exit prototype for aarch64

It's not clear why this is here. It's existed since the very first
version of rtld-elf for aarch64 but has never been used, and anything
actually using exit or _exit should be using rtld_libc.h's #define that
aliases them to __sys_exit.

Fixes:  047c6e3ae6ab ("Add the arm64 code to the runtime linker. It's not able to be built as we still need libc_pic for a few things, but this is expected to be ready soon.")
DeltaFile
+0-2libexec/rtld-elf/aarch64/reloc.c
+0-21 files

LLVM/project d22e286clang/lib/CIR/CodeGen CIRGenItaniumCXXABI.cpp, clang/test/CIR/CodeGen try-catch.cpp

[CIR] Implement Aggregate kind in initCatchParam (#186198)

Implement the Aggregate kind with trivial copy in initCatchParam
DeltaFile
+120-0clang/test/CIR/CodeGen/try-catch.cpp
+19-1clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
+139-12 files

LLVM/project 778022aclang/lib/Sema LifetimeSafety.h AnalysisBasedWarnings.cpp

Refactor AnalysisBasedWarnings.cpp
DeltaFile
+219-0clang/lib/Sema/LifetimeSafety.h
+2-214clang/lib/Sema/AnalysisBasedWarnings.cpp
+221-2142 files

LLVM/project 80d6e0blldb/source/Plugins/SymbolFile/NativePDB DWARFLocationExpression.cpp PdbUtil.cpp, lldb/test/Shell/SymbolFile/NativePDB structured-bindings-msvc.test

[LLDB][NativePDB] Add support for `S_REGREL32_INDIR` (#186124)

In #183172, I added support for reading `S_REGREL32_INDIR` records. This
adds support in LLDB. The record is emitted by MSVC for structured
bindings and in the compiler generated coroutine stubs.

It describes a location at `*(Register + Offset) + OffsetInUdt`.
Equivalent to
```
DW_OP_breg{reg} {Offset}
DW_OP_deref
DW_OP_plus_uconst {OffsetInUdt}
```

LLVM doesn't create this record - it only creates `S_LOCAL`s for local
variables. We'll probably need `S_DEFRANGE_REGISTER_REL_INDIR` for this
- should be simple to figure out the structure, but I haven't seen that
record emitted yet.
DeltaFile
+43-0lldb/test/Shell/SymbolFile/NativePDB/structured-bindings-msvc.test
+25-0lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.cpp
+20-0lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.cpp
+9-0lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilderClang.cpp
+4-0lldb/source/Plugins/SymbolFile/NativePDB/DWARFLocationExpression.h
+1-0lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
+102-06 files

OpenBSD/src qLddahqsys/dev/pci if_iavf.c

   iavf(4) can do 64 bit DMA also at bus_dmamem_alloc().

   from Brad Smith; tested by Hrvoje Popovski
VersionDeltaFile
1.28+2-2sys/dev/pci/if_iavf.c
+2-21 files

LLVM/project c7a395dllvm/lib/Target/AArch64 AArch64SystemOperands.td

[AArch64][llvm] Rewrite the TLBI multiclass to be much clearer (NFC)

The `tlbi` multiclass is really doing four jobs at once: base TLBI,
synthesized nXS, optional TLBIP, and synthesized TLBIP nXS. Also,
`needsreg` and `optreg` are really just a 3-state operand policy in
disguise.

Change `needsreg` and `optreg` into a combined fake enum, so it's
clearer whether the instruction takes no register operand, a required
register operand or an optional register operand.

This improves on my original change 66e8270e8.
DeltaFile
+43-36llvm/lib/Target/AArch64/AArch64SystemOperands.td
+43-361 files

LLVM/project 83d188dllvm/lib/Target/AMDGPU AMDGPULowerVGPREncoding.cpp, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp

[AMDGPU] Fix setreg handling in the VGPR MSB lowering

There are multiple issues with it:

1. It can skip inserting S_SET_VGPR_MSB if we set the mode via
   piggibacking. We are now relying on the HW bug for correct
   behavior. If/when the bug is fixed lowering will be incorrect.
2. We should just unconditionally update MSBs if offset allows it.
   We shall set correct bits and keep the rest of the immediate
   (that is done). There is no reasonable way for an user to change
   MSBs nor does it do anything good to set it with SETREG and then
   immediately overwrite with S_SET_VGPR_MSB.
3. Current implementation assumes that offset in the mask is always
   zero, which is not true.
4. Redundand mode changes created as seen in the
   hazard-setreg-vgpr-msb-gfx1250.mir.
5. Decoding of the immediate was also wrong with non-zero offset.

With uncoditional immediate update most of time and not relying on

    [11 lines not shown]
DeltaFile
+131-33llvm/test/CodeGen/AMDGPU/vgpr-setreg-mode-swar.mir
+41-53llvm/lib/Target/AMDGPU/AMDGPULowerVGPREncoding.cpp
+12-18llvm/test/CodeGen/AMDGPU/hazard-setreg-vgpr-msb-gfx1250.mir
+2-2llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+186-1064 files

LLVM/project 9963fe7clang/lib/Driver Driver.cpp

[NFC] Fix comment spelling (#185771)

no code change
DeltaFile
+1-1clang/lib/Driver/Driver.cpp
+1-11 files

LLVM/project 9f26f85llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp AMDGPURegBankLegalizeHelper.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.ds.bvh.stack.push.pop.rtn.ll llvm.amdgcn.ds.bvh.stack.rtn.ll

AMDGPU/GlobalISel: RegBankLegalize rules for ds_bvh_stack (#186219)
DeltaFile
+10-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+7-2llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
+1-1llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.bvh.stack.push.pop.rtn.ll
+1-1llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.bvh.stack.rtn.ll
+1-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.h
+20-45 files

FreeBSD/src 703901bsys/dev/ichwd i6300esbwd.c

i6300esbwd: Set error appropriately on event

Per the watchdog driver contract, if the driver successfully arms the
watchdog it must set error to 0, and if it's unable to arm the watchdog
it must leave error alone.

Sponsored by:   Hewlett Packard Enterprise
DeltaFile
+2-1sys/dev/ichwd/i6300esbwd.c
+2-11 files

LLVM/project a6ca038llvm/lib/Transforms/Vectorize VPlanTransforms.cpp

Reduction store needs to be processed on scalar VPlan
DeltaFile
+6-5llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+6-51 files

LLVM/project be93798lldb/source/Plugins/Process/Windows/Common MSVCRTCFrameRecognizer.cpp

[lldb][windows] fix MSVCRTCFrameRecognizer's registration (#186485)
DeltaFile
+1-1lldb/source/Plugins/Process/Windows/Common/MSVCRTCFrameRecognizer.cpp
+1-11 files