pkgng/pkgng 155e334libpkg pkg_config.c pkg_jobs.c, src main.c

plug 2 more memory leaks
DeltaFile
+2-5libpkg/pkg_config.c
+2-0libpkg/pkg_jobs.c
+1-0src/main.c
+5-53 files

FreeBSD/ports eafe57escience/libaec Makefile distinfo

science/libaec: Update to 1.1.6

- Update MASTER_SITES
- Update WWW

Changes:        https://github.com/Deutsches-Klimarechenzentrum/libaec/releases
                https://github.com/Deutsches-Klimarechenzentrum/libaec/blob/master/CHANGELOG.md
(cherry picked from commit 997a5a919a7218a4d8064a2fa1e027dd1cca8878)
DeltaFile
+4-4science/libaec/Makefile
+3-3science/libaec/distinfo
+1-1science/libaec/pkg-plist
+8-83 files

FreeBSD/ports 0eb3a21science/libaec distinfo Makefile

science/libaec: Update to 1.1.7

Changes:        https://github.com/Deutsches-Klimarechenzentrum/libaec/releases
                https://github.com/Deutsches-Klimarechenzentrum/libaec/blob/master/CHANGELOG.md
(cherry picked from commit 8838fc816ee42e0f5baa780903eec2fe62ff2648)
DeltaFile
+3-3science/libaec/distinfo
+1-1science/libaec/Makefile
+1-1science/libaec/pkg-plist
+5-53 files

FreeBSD/ports 3263b4fdevel/opentelemetry-cpp pkg-plist distinfo

devel/opentelemetry-cpp: Update to 1.27.0

Changes:        https://github.com/open-telemetry/opentelemetry-cpp/releases
(cherry picked from commit a02c1349eac7dfd1f9e7ee9bfe7b515094614a3b)
DeltaFile
+10-15devel/opentelemetry-cpp/pkg-plist
+3-3devel/opentelemetry-cpp/distinfo
+1-1devel/opentelemetry-cpp/Makefile
+14-193 files

FreeBSD/ports d66ff23devel/opentelemetry-cpp pkg-plist distinfo

devel/opentelemetry-cpp: Update to 1.26.0

Changes:        https://github.com/open-telemetry/opentelemetry-cpp/releases
(cherry picked from commit d16edd172a7c1c99fc442458a01b927821681641)
DeltaFile
+12-0devel/opentelemetry-cpp/pkg-plist
+3-3devel/opentelemetry-cpp/distinfo
+1-1devel/opentelemetry-cpp/Makefile
+16-43 files

LLVM/project 928541ellvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AArch64 invoke-extract.ll

[SLP] Treat ExtractElement from terminator results as gather

When canReuseExtract sees an ExtractElement bundle whose source vector
is produced by a terminator instruction (invoke or callbr), the SLP
vectorizer used to mark the bundle as Vectorize and reuse the
terminator result as the bundle's vectorized value. For external uses
of the bundle, vectorizeTree later sets the IRBuilder insertion point
to next(VecI), which lands past the terminator and produces an invalid
CFG (a new extractelement is inserted after the terminator in the
predecessor block).

Fixes #199021

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/199089
DeltaFile
+46-0llvm/test/Transforms/SLPVectorizer/X86/callbr-extract.ll
+44-0llvm/test/Transforms/SLPVectorizer/AArch64/invoke-extract.ll
+5-1llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+95-13 files

OPNSense/core 672ebf5src/opnsense/mvc/app/models/OPNsense/Trust General.xml

system: simplify option values in trust
DeltaFile
+15-15src/opnsense/mvc/app/models/OPNsense/Trust/General.xml
+15-151 files

LLVM/project a78e400llvm/lib/Target/PowerPC PPCInstrInfo.td PPCInstr64Bit.td

[PowerPC] Change arguments of PPCEmitTimePseudo

Like #198861 but for PPCEmitTimePseudo.

This is not NFC. The asm name of LDtocBA was set to #LDtocCPT,
which is the name of the instruction before. This looks like a
cut`n`paste error, and I changed the asm name.
DeltaFile
+34-59llvm/lib/Target/PowerPC/PPCInstrInfo.td
+30-53llvm/lib/Target/PowerPC/PPCInstr64Bit.td
+10-20llvm/lib/Target/PowerPC/PPCInstrMMA.td
+4-3llvm/lib/Target/PowerPC/PPCInstrFormats.td
+78-1354 files

OPNSense/core 336ac4esrc/opnsense/mvc/app/models/OPNsense/IDS IDS.xml

intrusion detection: clean up option values
DeltaFile
+16-16src/opnsense/mvc/app/models/OPNsense/IDS/IDS.xml
+16-161 files

LLVM/project 7a83597flang/lib/Optimizer/Transforms FIRToMemRef.cpp, flang/test/Transforms/FIRToMemRef array-coor-rebox-slice-shape.mlir array-coor-slice-shift.mlir

[flang][FIRToMemRef] Fixed array_coor with box/shape/slice. (#198933)

A `fir.array_coor` with box input, a slice and a shape without
a shift, should also be converted using dimensions information
stored in the input box (case (c) in the updated code).
DeltaFile
+70-0flang/test/Transforms/FIRToMemRef/array-coor-rebox-slice-shape.mlir
+25-0flang/test/Transforms/FIRToMemRef/array-coor-slice-shift.mlir
+19-1flang/lib/Optimizer/Transforms/FIRToMemRef.cpp
+114-13 files

OPNSense/core a9dee3dsrc/opnsense/mvc/app/models/OPNsense/OpenVPN OpenVPN.xml

openvpn: clean up these option values

Push flags not always mention "push" in label but their
context is clear and keys do not change so simplify.
DeltaFile
+32-32src/opnsense/mvc/app/models/OPNsense/OpenVPN/OpenVPN.xml
+32-321 files

LLVM/project 5053b88flang/include/flang/Semantics openmp-utils.h, flang/lib/Semantics resolve-names.cpp openmp-utils.cpp

[flang][OpenMP] Limit scope creation to constructs with data environment (#198780)

Identify specific constructs that require data envorinments, and only
create scopes for them. This avoids scopes for loop-transformation
constructs, for example.

This isn't a correctness fix, but a clarification and a simplification
of the name-resolution code for OpenMP.
DeltaFile
+13-64flang/lib/Semantics/resolve-names.cpp
+31-0flang/lib/Semantics/openmp-utils.cpp
+6-7flang/test/Semantics/OpenMP/affected-loops.f90
+2-0flang/include/flang/Semantics/openmp-utils.h
+52-714 files

LLVM/project cdc2749clang/lib/Driver/ToolChains MSVC.cpp, clang/test/Driver msvc-link.c

[Driver][MSVC] Use LLD if DWARF is requested (#198600)

Clang can emit DWARF on Windows if requested with `-gdwarf` (or
`-gdwarf-N`). The generated object files will then have the `.debug_*`
sections. These section names are all larger than eight bytes. This
creates an issue in the final executable. PE/COFF executables don't
allow section names longer than eight characters. From the
[docs](https://learn.microsoft.com/en-us/windows/win32/debug/pe-format#section-table-section-headers):

> **Name**: An 8-byte, null-padded UTF-8 encoded string. If the string
is exactly 8 characters long, there is no terminating null. For longer
names, this field contains a slash (/) that is followed by an ASCII
representation of a decimal number that is an offset into the string
table. Executable images do not use a string table and do not support
section names longer than 8 characters.

MSVC's linker follows this and will truncate section names in
executables. So a `.debug_info` would become `.debug_i`. LLD on the
other hand does allow these long section names (with a warning). This

    [8 lines not shown]
DeltaFile
+18-4clang/lib/Driver/ToolChains/MSVC.cpp
+18-0clang/test/Driver/msvc-link.c
+36-42 files

LLVM/project 6fb4c76llvm/lib/Target/PowerPC PPCInstrInfo.td PPCInstr64Bit.td

[PowerPC][NFC] Change arguments of PPCustomInserter

Like #198861 but for PPCCustomInserter.
DeltaFile
+25-39llvm/lib/Target/PowerPC/PPCInstrInfo.td
+10-16llvm/lib/Target/PowerPC/PPCInstr64Bit.td
+3-10llvm/lib/Target/PowerPC/PPCInstrVSX.td
+4-7llvm/lib/Target/PowerPC/PPCInstrSPE.td
+2-2llvm/lib/Target/PowerPC/PPCInstrFormats.td
+2-2llvm/lib/Target/PowerPC/PPCInstrHTM.td
+46-766 files

LLVM/project ba2c3b0libc/config/baremetal config.json

[libc] Enable baremetal float printf using modular format (#198900)

The most best configuration for llvm-libc is for it to be used with a
recent clang. Accordingly, this patch enables floating point type
support in printf for baremetal without inflating code size by also
enabling modular printf support. This is safe for older clang and other
compilers, but it would increase code size for the default baremetal
configuration on such targets.

---------

Co-authored-by: Michael Jones <michaelrj at google.com>
DeltaFile
+3-3libc/config/baremetal/config.json
+3-31 files

FreeBSD/ports 0da986bwww/firefox distinfo Makefile

www/firefox: update to 151.0.1

Release Notes:
  https://www.firefox.com/en-US/firefox/151.0.1/releasenotes/

(cherry picked from commit e92636d5b1b7ad1e36e87e63ec8a81b2784e0adb)
DeltaFile
+3-3www/firefox/distinfo
+2-3www/firefox/Makefile
+5-62 files

FreeBSD/ports e92636dwww/firefox distinfo Makefile

www/firefox: update to 151.0.1

Release Notes:
  https://www.firefox.com/en-US/firefox/151.0.1/releasenotes/
DeltaFile
+3-3www/firefox/distinfo
+2-3www/firefox/Makefile
+5-62 files

LLVM/project 6a6deccmlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

Remove unrelated empty line
DeltaFile
+0-1mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+0-11 files

LLVM/project cb52f4amlir/include/mlir/Dialect/OpenMP OpenMPOps.td, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

Require explicit yield in iterator op

Remove the implicit terminator trait from omp.iterator so iterator
modifiers must explicitly yield the value used to form the iterated list.

Add and update verfier and test accordingly.
DeltaFile
+15-0mlir/test/Dialect/OpenMP/ops.mlir
+5-8mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+9-0mlir/test/Dialect/OpenMP/invalid.mlir
+1-3mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
+30-114 files

LLVM/project 6ada81bmlir/include/mlir/Dialect/OpenMP OpenMPOps.td, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

Simplify map iterator clause assembly

- Split MLIR map syntax into separate map_entries(...) and map_iterated(...),
  removing the custom MapEntryList parser/printer.
- Moved omp.target map_iterated out of TargetOpRegion
  - it now prints before the target region instead of as map_iterated_entries(...) after the region.
- Renamed LLVMIR TODO helper to clause-style checkMap.
- Added DeclareMapperInfoOp builder from DeclareMapperInfoOperands
  and updated Flang call sites so they do not need to spell out newly
  added operands..
DeltaFile
+12-89mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+14-14mlir/test/Dialect/OpenMP/ops.mlir
+12-12mlir/test/Dialect/OpenMP/invalid.mlir
+7-7mlir/test/Target/LLVMIR/openmp-todo.mlir
+6-8mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+6-3mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
+57-1333 files not shown
+63-1419 files

LLVM/project 40b369cflang/lib/Optimizer/OpenMP FunctionFiltering.cpp, mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp

Reject target map iterators without captures

Reject target map iterators until the follow-up capture-binding
representation is added since currently map_iterated on omp.target
only represents the dynamic map list and does not consider the
target-region arguments required by IsolatedFromAbove.
DeltaFile
+0-23mlir/test/Dialect/OpenMP/ops.mlir
+0-19mlir/test/Target/LLVMIR/openmp-todo.mlir
+5-5mlir/test/Dialect/OpenMP/invalid.mlir
+5-0mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+0-1flang/lib/Optimizer/OpenMP/FunctionFiltering.cpp
+10-485 files

LLVM/project fde0ea0flang/include/flang/Optimizer/CodeGen TypeConverter.h, flang/lib/Optimizer/CodeGen TypeConverter.cpp

[flang][AddAliasTags] Fix segfault when type contains `fir.boxproc` (#198997)

`fir.boxproc` currently has no LLVM representation (its converter
returns `std::nullopt`). When `AddAliasTags` called
`getTypeSizeAndAlignment` on a type containing `fir.boxproc` (e.g. a
sequence of a derived type with procedure pointer components),
`convertRecordType` and `convertSequenceType` would crash trying to
mlir::cast a null type.

For any type that might recursively contain a non-convertible type
(`fir.boxproc` in this case), `TypeConverter` would now propagate an
empty optional `mlir::Type` and emit a debug warning that conversion
failed. This helps us avoid seg faulting expecting that the type or some
part of it were converted correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply at anthropic.com>
DeltaFile
+43-33flang/lib/Optimizer/CodeGen/TypeConverter.cpp
+50-0flang/test/Transforms/tbaa-type-converter-boxproc.fir
+25-14flang/lib/Optimizer/Transforms/AddAliasTags.cpp
+3-4flang/include/flang/Optimizer/CodeGen/TypeConverter.h
+121-514 files

LLVM/project 5ec22aaflang-rt/lib/runtime CMakeLists.txt, llvm/runtimes CMakeLists.txt

Post-merge fixes
DeltaFile
+48-52flang-rt/lib/runtime/CMakeLists.txt
+12-19llvm/runtimes/CMakeLists.txt
+3-3openmp/module/CMakeLists.txt
+0-5openmp/CMakeLists.txt
+63-794 files

LLVM/project 23723a5llvm/lib/Target/AMDGPU AMDGPURegBankCombiner.cpp, llvm/test/CodeGen/AMDGPU global-saddr-load.ll

PR feedback, fix tests
DeltaFile
+24-90llvm/test/CodeGen/AMDGPU/global-saddr-load.ll
+12-14llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
+36-1042 files

LLVM/project 4119054llvm/lib/Target/AMDGPU AMDGPURegBankCombiner.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel load-d16.ll

[AMDGPU][True16] Add regbank combiner cases to fix regression around G_SEXTLOAD
DeltaFile
+63-165llvm/test/CodeGen/AMDGPU/GlobalISel/load-d16.ll
+17-2llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
+80-1672 files

LLVM/project 41205bellvm/lib/Target/AMDGPU AMDGPULegalizerInfo.cpp

Update comment around destination reg size for clarity
DeltaFile
+5-1llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+5-11 files

LLVM/project 7012c76llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU global-saddr-load.ll

Add legalize rules and fix tests
DeltaFile
+165-63llvm/test/CodeGen/AMDGPU/GlobalISel/load-d16.ll
+90-24llvm/test/CodeGen/AMDGPU/global-saddr-load.ll
+6-9llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sextload-s16-true16.mir
+7-2llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+268-984 files

LLVM/project 1bd4457clang/lib/CIR/CodeGen CIRGenExprScalar.cpp, clang/test/CIR/CodeGenOpenCL vector.cl

[CIR] Implement TernaryOp for Vec of float in OpenCL (#198846)

Implement support for TernaryOp for Vec float in OpenCL

Issue https://github.com/llvm/llvm-project/issues/192311
DeltaFile
+33-1clang/test/CIR/CodeGenOpenCL/vector.cl
+15-9clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+48-102 files

LLVM/project 83590ddllvm/lib/Target/AMDGPU AMDGPULegalizerInfo.cpp, llvm/test/CodeGen/AMDGPU flat-saddr-load.ll

[AMDGPU][True16] Legalize extloads into 16-bit registers

Signed-off-by: Domenic Nutile <domenic.nutile at gmail.com>
DeltaFile
+80-38llvm/test/CodeGen/AMDGPU/flat-saddr-load.ll
+2-2llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+82-402 files

LLVM/project 3260fd7llvm/test/CodeGen/AMDGPU/GlobalISel legalize-sextload-zextload-s16-true16.mir legalize-sextload-s16-true16.mir

PR feedback
DeltaFile
+0-376llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sextload-zextload-s16-true16.mir
+87-0llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sextload-s16-true16.mir
+5-1llvm/test/CodeGen/AMDGPU/GlobalISel/load-d16.ll
+92-3773 files