LLVM/project b7631bdclang/lib/CIR/CodeGen CIRGenExprCXX.cpp, clang/lib/CIR/Dialect/Transforms CXXABILowering.cpp

[CIR] Add support for size parameter with array delete (#185768)

This implements reading the array cookie and passing a size parameter to
the array delete operator for simple cases that require a size
parameter.
DeltaFile
+54-0clang/lib/CIR/Dialect/Transforms/TargetLowering/LowerItaniumCXXABI.cpp
+40-11clang/lib/CIR/Dialect/Transforms/CXXABILowering.cpp
+49-0clang/test/CIR/CodeGen/delete-array.cpp
+37-0clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRCXXABI.cpp
+34-0clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRCXXABI.h
+4-5clang/lib/CIR/CodeGen/CIRGenExprCXX.cpp
+218-166 files

FreeBSD/ports d37ed35emulators/wine-devel pkg-plist distinfo, emulators/wine-devel/files patch-configure.ac patch-dlls_ntdll_unix_loader.c

emulators/wine-devel: Update 11.3 => 11.4

Changelog:
- SAX reader reimplemented in MSXML.
- Resampling optimizations in DirectSound.
- Beginnings of a proper CFGMGR32 implementation.
- Better Unix timezone matching.
- Various bug fixes.
https://gitlab.winehq.org/wine/wine/-/releases/wine-11.4

Add support for libusb

PR:     293722
DeltaFile
+45-0emulators/wine-devel/files/patch-configure.ac
+14-0emulators/wine-devel/pkg-plist
+3-3emulators/wine-devel/files/patch-dlls_ntdll_unix_loader.c
+3-3emulators/wine-devel/distinfo
+3-3emulators/wine-devel/Makefile
+68-95 files

FreeNAS/freenas e4d97cesrc/middlewared/middlewared/plugins cache.py, src/middlewared/middlewared/plugins/catalog apps_details.py features.py

Add persistent option to cache plugin

This commit adds ability to persistently set cache entries
(survives across middleware restarts / reboots, but not system
upgrades), and set clustered cache entries (ditto about
lifecycle).

In basic benchmarking there wasn't that much perf difference
between implementations and so this reduces overall complexity
DeltaFile
+206-34src/middlewared/middlewared/plugins/cache.py
+226-0tests/unit/test_cache.py
+33-5src/middlewared/middlewared/plugins/catalog/apps_details.py
+15-2src/middlewared/middlewared/utils/tdb.py
+3-3src/middlewared/middlewared/plugins/catalog/features.py
+2-2src/middlewared/middlewared/plugins/directoryservices_/connection.py
+485-466 files

LLVM/project a17bcc5llvm/lib/Target/RISCV RISCVInstrInfoP.td

[RISCV] Use PatGprGpr and PatGprImm to simplify P extension patterns. NFC (#185965)

Add space to "def:" in the remaining patterns.
DeltaFile
+144-162llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+144-1621 files

FreeNAS/freenas 2a4cb77src/middlewared/middlewared/plugins/failover_ event.py, src/middlewared/middlewared/plugins/iscsi_ scst.py alua.py

Preserve PR state across failover device transition

Set pr_dump_dir on the dev_disk handler before tearing down HA sessions
so the kernel dumps PR state at unregister time.  After the replacement
vdisk_blockio devices are created, restore the saved state and swap the
LUNs in without generating a device-replacement UA.
DeltaFile
+79-4src/middlewared/middlewared/plugins/iscsi_/scst.py
+23-8src/middlewared/middlewared/plugins/iscsi_/alua.py
+8-0src/middlewared/middlewared/plugins/failover_/event.py
+110-123 files

pkgng/pkgng 06250c8docs pkg-search.8 pkg-fetch.8

docs: all manpages now mention -r can be called multiple times

Fixes: #2574
DeltaFile
+7-6docs/pkg-search.8
+7-6docs/pkg-fetch.8
+5-4docs/pkg-upgrade.8
+5-4docs/pkg-install.8
+5-4docs/pkg-rquery.8
+5-3docs/pkg-version.8
+34-271 files not shown
+38-307 files

pkgng/pkgng dd08b14libpkg pkg_jobs.c, tests/frontend install.sh

install -A: do not mark upgraded/reinstalled packages as automatic

When running pkg install -Ay foo, if this triggers a reinstallation
or an upgrade of a package the Automatic flags was wrongly propagated to
them.

Fixes: #1350 #2477 #2384
DeltaFile
+52-1tests/frontend/install.sh
+3-1libpkg/pkg_jobs.c
+55-22 files

LLVM/project dd76cf6llvm/lib/Target/RISCV RISCVISelDAGToDAG.h RISCVInstrInfo.td

[RISCV] Make selectShiftMask32/selectShiftMask64 a template function. NFC (#185957)

I may need selectShiftMask16 and selectShiftMask8 for P extension shift
instructions.
DeltaFile
+2-5llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
+1-1llvm/lib/Target/RISCV/RISCVInstrInfo.td
+1-1llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+4-73 files

pkgng/pkgng 4a76ab8docs pkg.conf.5

pkg.conf.5: Tweak example repos for pkgbase

MFC after: 3 days
DeltaFile
+16-4docs/pkg.conf.5
+16-41 files

LLVM/project 49d9ba9libc/include wctype.yaml, libc/src/wctype iswxdigit.cpp iswxdigit.h

[libc] Add entrypoint for iswxdigit (#185574)

This PR intends to add entrypoints and some smoke tests for `iswxdigit`
function

Changes made are :-
- Added entrypoint for `iswxdigit` in wctype.yaml
- Added CMake entrypoint object for `iswxdigit`
- Added Header and implementation in `iswxdigit.h` and `iswxdigit.cpp`
- Added test for `iswxdigit` in iswxdigit_test.cpp
- Added `iswxdigit` in entrypoints.txt for available platforms 

Tested using = `ninja libc.test.src.wctype.iswxdigit_test.__unit__`
passes all tests

part of #185136
DeltaFile
+25-0libc/test/src/wctype/iswxdigit_test.cpp
+21-0libc/src/wctype/iswxdigit.cpp
+21-0libc/src/wctype/iswxdigit.h
+11-0libc/src/wctype/CMakeLists.txt
+10-0libc/test/src/wctype/CMakeLists.txt
+6-0libc/include/wctype.yaml
+94-08 files not shown
+102-014 files

LLVM/project 9480187llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.cvt.pkrtz.ll llvm.amdgcn.cvt.pk.i16.ll

AMDGPU/GlobalISel: RegBankLegalize cvt_pk_u16/i16/pkrtz (#185534)

There are regressions that can be seen in pkrtz test regarding undefs
and fneg folding when swapping to GlobalISel with new register bank
select. Hopefully these can be cleaned up in a later patch.
DeltaFile
+1,189-529llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.pkrtz.ll
+373-25llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.pk.i16.ll
+373-25llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.pk.u16.ll
+10-10llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.cvt.pkrtz.mir
+5-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+1,950-5895 files

pkgng/pkgng e9ae436libpkg pkgdb.c

DB: fix a race condition in db initialization

if 2 db process access the same db and one of them has created the file
and not yes committed and when the other one tries to read.

Fixes: #2293
DeltaFile
+13-1libpkg/pkgdb.c
+13-11 files

LLVM/project f88c812llvm/include/llvm/MC MCInstrAnalysis.h, llvm/lib/Target/AMDGPU/MCTargetDesc AMDGPUMCTargetDesc.cpp

[AMDGPU] Recover high VGPRs from S_SETREG_IMM32_B32 in disasm
DeltaFile
+20-7llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+27-0llvm/test/CodeGen/AMDGPU/vgpr-setreg-mode-swar.mir
+9-2llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp
+6-0llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
+3-2llvm/tools/llvm-objdump/llvm-objdump.cpp
+2-1llvm/include/llvm/MC/MCInstrAnalysis.h
+67-124 files not shown
+74-1610 files

LLVM/project a89c152mlir/include/mlir/Dialect/SPIRV/IR SPIRVMatrixOps.td SPIRVBase.td, mlir/test/Dialect/SPIRV/IR matrix-ops.mlir

[mlir][spirv] Add OpOuterProduct operation (#185959)

This should be the last operation enabled by the `Matrix` capability.

Assisted-by: Codex
DeltaFile
+51-0mlir/include/mlir/Dialect/SPIRV/IR/SPIRVMatrixOps.td
+31-0mlir/test/Dialect/SPIRV/IR/matrix-ops.mlir
+7-0mlir/test/Target/SPIRV/matrix.mlir
+3-1mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
+92-14 files

LLVM/project bf2e458lldb/source/Core PluginManager.cpp

[lldb] Reinstate ~PluginInstances assertion (#185537)

This re-enables the assertion in the PluginInstances destructor that
catches plugins that were not unregistered in their Terminate method. It
also adds a helpful message to quickly identify the plugin.
DeltaFile
+9-1lldb/source/Core/PluginManager.cpp
+9-11 files

LLVM/project fdd62dellvm/utils lldbDataFormatters.py

[lldb] Add types to function signatures in lldbDataFormatters (#185940)
DeltaFile
+52-26llvm/utils/lldbDataFormatters.py
+52-261 files

LLVM/project 8de472bmlir/include/mlir/Dialect/LLVMIR ROCDLOps.td, mlir/test/Dialect/LLVMIR rocdl.mlir

Adding support to structured buffer load
DeltaFile
+99-0mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
+78-0mlir/test/Target/LLVMIR/rocdl.mlir
+55-0mlir/test/Dialect/LLVMIR/rocdl.mlir
+232-03 files

LLVM/project d05b5dcmlir/lib/Dialect/OpenACC/Utils OpenACCUtilsLoop.cpp, mlir/unittests/Dialect/OpenACC OpenACCUtilsLoopTest.cpp

[mlir][openacc] Support terminators with results in wrapMultiBlockRegionWithSCFExecuteRegion (#185950)

When wrapping a multi-block region in `scf.execute_region`, this change gets the result types from the operands of the terminators (`func.return` or `acc.yield`) and creates the `execute_region` with those types. It then replaces each such terminator with`scf.yield(operands)`, ensuring that multiple returns or yields with results are handled correctly.
DeltaFile
+67-21mlir/unittests/Dialect/OpenACC/OpenACCUtilsLoopTest.cpp
+23-19mlir/lib/Dialect/OpenACC/Utils/OpenACCUtilsLoop.cpp
+90-402 files

LLVM/project 6758becclang/include/clang/Options Options.td, clang/lib/CodeGen CGObjCMac.cpp

[ObjC] Support emission of selector stubs calls instead of objc_msgSend. (#183922)

This optimizes objc_msgSend calls by emitting "selector stubs" instead.

Usually, the linker redirects calls to external symbols to a symbol stub
it generates, which loads the target function's address from the GOT and
branches to it:

  <symbol stub for _func:>
    adrp x16, _func at GOTPAGE
    ldr x16, [x16, _func at GOTPAGEOFF]
    br x16

with msgSend selector stubs, we extend that to compute the selector as
well:

  <selector stub for "foo":>
    adrp x1, <selector ref for "foo">@PAGE
    ldr x1, [x1, <selector ref for "foo">@PAGEOFF]

    [35 lines not shown]
DeltaFile
+131-0clang/test/CodeGenObjC/method-selector-stub.m
+42-0clang/test/Driver/darwin-objc-selector-stubs.m
+34-2clang/lib/CodeGen/CGObjCMac.cpp
+8-0clang/lib/Driver/ToolChains/Darwin.cpp
+8-0clang/lib/Driver/ToolChains/Clang.cpp
+3-0clang/include/clang/Options/Options.td
+226-21 files not shown
+227-27 files

LLVM/project 77556e1mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp, mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

Make omp.iterator verify more robust and add tests

- Make sure
    - step in omp.iterator is not zero
    - when step > 0, lo < hi
    - when step < 0, lo > hi
- Add negative test for above checks
- Add iterator lowering test to make sure negative step work

```
// OpenMP 5.2.6
The iterator value setof the iterator are the set ofvalues i_1,...,i_N where:
  i_1 = begin
  i_j = i_{j-1} + step, for j >= 2

If step > 0:
  i_1 <= end
  i_N <= end
  i_N + step > end

    [6 lines not shown]
DeltaFile
+42-0mlir/test/Dialect/OpenMP/invalid.mlir
+36-0mlir/test/Target/LLVMIR/openmp-iterator.mlir
+25-0mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+18-0mlir/test/Dialect/OpenMP/ops.mlir
+3-0mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+124-05 files

LLVM/project 64d70c3llvm/include/llvm/Frontend/OpenMP OMPIRBuilder.h, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

Use findAllocaInsertPoint when possible and move the affinity packing logic to OpenMPToLLVMIRTranslation

- Move the omp.affinity_list packing logic from OMPIRBuilder to
  OpenMPToLLVMIRTranslation so that we have all the omp.affinity_list
  allocating logic inside the lambda defined in buildAffinityData
  - all the allocation logic for affinity list is now using
    findAllocaInsertPoint when possible (static count)
  - `task_affinity_iterator_dynamic_tripcount` in
    openmp-iterator.mlir is a regression test add previously for
    dynamic tripcount
DeltaFile
+67-7mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+3-49llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+6-6mlir/test/Target/LLVMIR/openmp-iterator.mlir
+5-1llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+1-3llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+82-665 files

LLVM/project e8682a9llvm/include/llvm/Frontend/OpenMP OMPIRBuilder.h, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

Fix affinity type, handle unexpected iterator loop body and accumulate affinity entry for one register call

- Generate kmpTaskAffinityInfoTy based on platform and create a helper
  in OMPIRBuilder so that we can use it in OpenMPToLLVMIRTranslation and
  OMPIRBuilder
- Handle invalid iterator loop body and add unit test
- Accumulate affinity info and only one register call for a task
  construct
- remove `this->` in member fucntion
DeltaFile
+67-5llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+23-24mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+24-0llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+12-0openmp/runtime/src/kmp_tasking.cpp
+6-2mlir/test/Target/LLVMIR/openmp-iterator.mlir
+4-0llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+136-316 files

LLVM/project cf4a249llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp, llvm/unittests/Frontend OpenMPIRBuilderTest.cpp

Refactor createIteratorLoop to use OMPIRBuilder utility functions and make end-of-block insertion robust.

- Replace manual splitBasicBlock/branch with splitBB
  and redirectTo()
- When insertion point is at BB.end() and the block is terminated, split
  before the terminator so the original successor path is preserved
  through omp.it.cont
- Add test for unterminated blocks
DeltaFile
+66-0llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+13-23llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+2-1mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+81-243 files

LLVM/project 9385957mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR openmp-iterator.mlir openmp-llvm.mlir

Fix insert point for affinity list

Fix dominance issue if affinity list created before dynamic count
DeltaFile
+37-8mlir/test/Target/LLVMIR/openmp-iterator.mlir
+3-5mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+3-2mlir/test/Target/LLVMIR/openmp-llvm.mlir
+43-153 files

LLVM/project 0b0db91llvm/include/llvm/Frontend/OpenMP OMPIRBuilder.h, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

[mlir][llvmir][OpenMP] Translate affinity clause in task construct to llvmir

Translate affinity entries to LLVMIR by passing affinity information to
createTask (__kmpc_omp_reg_task_with_affinity is created inside PostOutlineCB).
DeltaFile
+92-0llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+59-13mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+19-3llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+12-6llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+0-12mlir/test/Target/LLVMIR/openmp-todo.mlir
+2-0mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp
+184-346 files

LLVM/project a86e0b9llvm/include/llvm/Frontend/OpenMP OMPIRBuilder.h, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

Refactor and support multiple affinity register for a task

- Support multiple affinity register for a task
- Move iterator loop generate logic to OMPIRBuilder
- Extract iterator loop body convertion logic
- Refactor buildAffinityData by hoisting the creation of affinity_list
- IteratorsOp -> IteratorOp
- Add mlir to llvmir test
DeltaFile
+143-123mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+226-0mlir/test/Target/LLVMIR/openmp-iterator.mlir
+68-16llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+34-1llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+33-0mlir/test/Target/LLVMIR/openmp-llvm.mlir
+504-1405 files

LLVM/project 1ccfce8llvm/include/llvm/Frontend/OpenMP OMPIRBuilder.h, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

Use createLoopSkeleton intead of manually building nested loop

Create flattened 1-dimension canonical loop for omp.iterator
DeltaFile
+92-52mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+0-82llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+0-27llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+92-1613 files

LLVM/project 1c43583llvm/include/llvm/Frontend/OpenMP OMPIRBuilder.h, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

Implement lowering for omp.iterator in affinity

Create IteratorLoopNestScope for building nested loop for iterator.
Take advantage of RAII so that we can have correct exit for each
level of the loop.
DeltaFile
+158-22mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+82-0llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+27-0llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+1-0mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp
+268-224 files

OpenBSD/ports o12As76devel/jjui distinfo modules.inc

   Update to jjui 0.10.1

   https://github.com/idursun/jjui/releases/tag/v0.10.1
VersionDeltaFile
1.21+34-22devel/jjui/distinfo
1.11+15-9devel/jjui/modules.inc
1.22+1-1devel/jjui/Makefile
+50-323 files

LLVM/project e868e45llvm/lib/Target/PowerPC PPCOperands.td PPCInstrVSX.td, llvm/lib/Target/PowerPC/MCTargetDesc PPCInstPrinter.cpp PPCInstPrinter.h

[PowerPC] Refactor immediate operand part 2 (#180289)

Contiue with immediate operand refactoring:
* consolidate printU##Imm into a template function resulting in simpler
class def
* separate imm and relocation classes to clearly reflect what they are
DeltaFile
+77-51llvm/lib/Target/PowerPC/PPCOperands.td
+20-78llvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
+12-22llvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.h
+1-1llvm/lib/Target/PowerPC/PPCInstrVSX.td
+110-1524 files