LLVM/project 4398b5flldb/include/lldb/Utility DataExtractor.h VirtualDataExtractor.h, lldb/source/Symbol ObjectFile.cpp

[lldb] Have ObjectFile::FindPlugin send a copy of the DE (#185727)

ObjectFile::FindPlugin iterates over plugins to find one that can handle
the binary provided. It is currently sending the one DataExtractorSP to
each subclass, but some subclasses may modify this DataExtractor during
their processing, e.g. calling DataExtractor::SetData on it, and I think
it is safer to isolate these with a copy of the DataExtractor so the
order the plugins are tried cannot possibly change behavior.
DeltaFile
+6-2lldb/source/Symbol/ObjectFile.cpp
+6-0lldb/include/lldb/Utility/DataExtractor.h
+4-0lldb/include/lldb/Utility/VirtualDataExtractor.h
+16-23 files

LLVM/project 9472490clang/docs ReleaseNotes.rst, clang/lib/Sema SemaOverload.cpp

[clang] fix explicit incomplete enum (#184210)

stop BuildConvertedConstantExpression early for already-broken
expressions to prevent crashes in the constant conversion
fixes #183887
DeltaFile
+8-0clang/test/SemaCXX/gh183887.cpp
+8-0clang/lib/Sema/SemaOverload.cpp
+1-0clang/docs/ReleaseNotes.rst
+17-03 files

FreeNAS/freenas fd1148esrc/middlewared/middlewared/plugins/container migrate.py container.py

Move container namespace to be typesafe
DeltaFile
+252-252src/middlewared/middlewared/plugins/container/migrate.py
+0-374src/middlewared/middlewared/plugins/container/container.py
+292-0src/middlewared/middlewared/plugins/container/crud.py
+106-136src/middlewared/middlewared/plugins/container/lifecycle.py
+173-0src/middlewared/middlewared/plugins/container/__init__.py
+28-128src/middlewared/middlewared/plugins/container/image.py
+851-89033 files not shown
+1,619-1,32539 files

LLVM/project 41c0b19mlir/include/mlir/Dialect/OpenACC/Transforms Passes.td, mlir/lib/Dialect/OpenACC/Transforms ACCComputeLowering.cpp

[mlir][acc] Add ACCComputeLowering pass (#185501)

Introduce a pass that lowers OpenACC compute constructs to a
representation that separates the data environment from the compute body
and prepares for parallelism assignment and privatization at the right
granularity.

- Decompose acc.parallel, acc.serial, and acc.kernels into
acc.kernel_environment and acc.compute_region. Launch arguments
(num_gangs, num_workers, vector_length) are turned into acc.par_width
and passed as compute_region launch operands.
- Convert acc.loop to SCF based on context: unstructured loops to
scf.execute_region; sequential (serial or seq) to scf.parallel with
par_dims=sequential; auto loops to scf.for (with collapse when
multi-dimensional); orphan loops to scf.for; independent loops in
parallel/kernels to scf.parallel with par_dims from the GPU mapping.

---------

Co-authored-by: Scott Manley <rscottmanley at gmail.com>
DeltaFile
+372-0mlir/lib/Dialect/OpenACC/Transforms/ACCComputeLowering.cpp
+176-0mlir/test/Dialect/OpenACC/acc-compute-lowering-loop.mlir
+107-0mlir/test/Dialect/OpenACC/acc-compute-lowering-compute.mlir
+75-1mlir/unittests/Dialect/OpenACC/OpenACCUtilsCGTest.cpp
+46-25mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.td
+53-0mlir/lib/Dialect/OpenACC/Utils/OpenACCUtilsCG.cpp
+829-269 files not shown
+936-4615 files

LLVM/project 4131535flang/test/Driver fsafe-trampoline.f90

[flang] Add REQUIRES for the trampoline test (#185699)

Instead of listing the UNSUPPORTED list, it makes sense to have
the REQUIRES. 

Fix build failure in https://lab.llvm.org/buildbot/#/builders/157/builds/45154.
DeltaFile
+1-1flang/test/Driver/fsafe-trampoline.f90
+1-11 files

LLVM/project c3155felibclc/clc/include/clc/math clc_div_cr.h, libclc/clc/lib/generic CMakeLists.txt

libclc: Add div_cr utility function

This is a workaround for the modal div operator precision. The
OpenCL default is not correctly rounded, so this provides a backdoor
to get a correctly rounded fdiv. Ideally clang would have a builtin
or some other mechanism to control the precision.
DeltaFile
+26-0libclc/clc/include/clc/math/clc_div_cr.h
+12-0libclc/clc/lib/generic/math/clc_div_cr.inc
+11-0libclc/clc/lib/generic/math/clc_div_cr.cl
+4-0libclc/clc/lib/generic/CMakeLists.txt
+53-04 files

FreeBSD/src 1a92fc9sys/dev/virtio virtqueue.c

virtio: Restore mb() calls

Until an issue seen on amd64 can be investigated restore two mb() calls
to virtio.

Reviewed by:    andrew
Fixes:  c499ad6f997c ("virtio: Use bus_dma for ring and indirect buffer allocations")
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D55766
DeltaFile
+6-0sys/dev/virtio/virtqueue.c
+6-01 files

FreeBSD/src 522012csys/dev/virtio virtqueue.c

Revert "virtio: Restore mb() calls"

This reverts commit d99e725c26a7745aa349eab01ae56ca630b6d0f5.
DeltaFile
+0-6sys/dev/virtio/virtqueue.c
+0-61 files

FreeBSD/src d99e725sys/dev/virtio virtqueue.c

virtio: Restore mb() calls

Until an issue seen on amd64 can be investigated restore two mb() calls
to virtio.

Reviewed by:    andrew
Fixes:  c499ad6f997c ("virtio: Use bus_dma for ring and indirect buffer allocations")
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D55766
DeltaFile
+6-0sys/dev/virtio/virtqueue.c
+6-01 files

LLVM/project 30f13b1llvm/test/CodeGen/AMDGPU vgpr-mark-last-scratch-load.ll

[AMDGPU] New test for untested line in AMDGPUMarkLastScratchLoad (#185430)

[This
line](https://github.com/llvm/llvm-project/blob/af15474262100ade9a8fcfd05f9e05c7ba23ff8c/llvm/lib/Target/AMDGPU/AMDGPUMarkLastScratchLoad.cpp#L121)
in the AMDGPU backend is uncovered by the existing test suite (checked
using coverage, and by asserting that no tests in the existing test
suite fails if we insert an `abort()` at this line).

We propose a test that covers this line. We demonstrate the test by
inserting an `abort()` at that line in commit
[#3cb65cf](https://github.com/llvm/llvm-project/pull/185430/changes/3cb65cf4451b5e728fb1e4968ba78b8e83d74220).
Running all tests shows that only our proposed test fails in the
presence of the abort. We'll remove the abort before merging.

This is the only test that fails in the presence of the abort (our new
test) -- it will pass once we remove the abort:
`CodeGen/AMDGPU/mark-last-scratch-load.ll`
DeltaFile
+305-0llvm/test/CodeGen/AMDGPU/vgpr-mark-last-scratch-load.ll
+305-01 files

LLVM/project 122cffallvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp AMDGPUCoExecSchedStrategy.h, llvm/test/CodeGen/AMDGPU coexec-scheduler.ll

[AMDGPU] Add stalls for DS FIFO buffer

Change-Id: I73e56da97a931349e0655e4e20b24aeb97920647
DeltaFile
+56-53llvm/test/CodeGen/AMDGPU/coexec-scheduler.ll
+58-25llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+41-6llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.h
+155-843 files

LLVM/project d8d9df5libc/test/integration/src/__support/GPU scan_reduce.cpp, libclc/clc/lib/amdgpu/subgroup clc_sub_group_reduce.cl sub_group_reduce.cl

Address comments

Created using spr 1.3.7
DeltaFile
+289-52llvm/test/Analysis/CostModel/AMDGPU/exp10.ll
+289-52llvm/test/Analysis/CostModel/AMDGPU/exp.ll
+153-48llvm/test/Analysis/CostModel/AMDGPU/exp2.ll
+145-0libclc/clc/lib/amdgpu/subgroup/clc_sub_group_reduce.cl
+0-145libclc/clc/lib/amdgpu/subgroup/sub_group_reduce.cl
+107-0libc/test/integration/src/__support/GPU/scan_reduce.cpp
+983-297127 files not shown
+2,697-962133 files

FreeBSD/ports 91df7cctextproc/qo distinfo Makefile

textproc/qo: Update to 0.3.1
DeltaFile
+5-5textproc/qo/distinfo
+2-3textproc/qo/Makefile
+7-82 files

LLVM/project 5e2d990llvm/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 55e4326llvm/lib/Target/SystemZ SystemZAsmPrinter.cpp SystemZAsmPrinter.h

Reorder code to avoid globals
DeltaFile
+6-8llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+2-3llvm/lib/Target/SystemZ/SystemZAsmPrinter.h
+8-112 files

LLVM/project 40cd48flld/test/wasm relocatable.ll

[lld][WebAssembly] Restore inactive checks relocatable.ll test. NFC (#185569)

Back in 6474d1b20 this test was updated, removing the NORMAL vs SHARED
distinction in the output checking. However many of the NORMAL-NEXT
lines were left unmodified, making them effectively disabled.

This restores and updates the expectations.
DeltaFile
+201-173lld/test/wasm/relocatable.ll
+201-1731 files

LLVM/project 5c4856cllvm/lib/Transforms/InstCombine InstCombineCasts.cpp, llvm/test/Transforms/InstCombine trunc.ll

[InstCombine] Fold trunc (usub.sat 1, x) to i1 -> icmp eq x, 0 (#185524)

Regression noticed in https://github.com/llvm/llvm-project/pull/184182

Proof: https://alive2.llvm.org/ce/z/hsyFbC
DeltaFile
+55-0llvm/test/Transforms/InstCombine/trunc.ll
+5-0llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
+60-02 files

LLVM/project fd069a4compiler-rt/cmake base-config-ix.cmake, compiler-rt/cmake/Modules AllSupportedArchDefs.cmake

[copmiler-rt] Initial support for building profile library on the GPU (#185552)

Summary:
As suggested in https://github.com/llvm/llvm-project/pull/177665, we
should build a GPU version of the compiler-rt profile library instead of
writing it in-line in the lowering. This PR does not define anything GPU
specific, it simply re-uses the baremetal handling. Later PRs will
prevent the GPU specific handling we would want to do to optimize
counter handling on the GPU.

Note that this will require using the cache file, or setting these
options
manually for existing users. Hopefully if people are using the cache
file
as they should it won't break anything.
DeltaFile
+10-0compiler-rt/lib/profile/CMakeLists.txt
+4-2compiler-rt/cmake/caches/GPU.cmake
+2-4compiler-rt/cmake/base-config-ix.cmake
+2-2offload/cmake/caches/Offload.cmake
+3-1compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
+2-2offload/cmake/caches/FlangOffload.cmake
+23-114 files not shown
+27-1510 files

FreeBSD/ports d4d2f6asysutils/goaccess distinfo Makefile, sysutils/goaccess/files patch-src_wsauth.c

sysutils/goaccess: Update to 1.10.1
DeltaFile
+26-0sysutils/goaccess/files/patch-src_wsauth.c
+3-9sysutils/goaccess/distinfo
+1-6sysutils/goaccess/Makefile
+30-153 files

LLVM/project bc3bcd0llvm/test/CodeGen/AMDGPU llvm.amdgcn.mfma.ll llvm.amdgcn.sched.group.barrier.ll

[AMDGPU] Adds AGPR pressure during candidate init in GCN scheduler.

Scheduling heuristics automatically will consider AGPR pressure.
AGPRExcessLimit and AGPRCriticalLimit are added. Some of the VGPR
bias and error limits are reused. Helpers added mostly mirror the
existing VGPR logic. A ConsiderAGPR boolean controls whether AGPRs
should at all be factored in during candidate initialization, e.g.
on targets with allocatable AGPRs.

Verified that updated LIT tests use AGPRs.

Originally Authored-by: Nicholas Baron
(https://github.com/llvm/llvm-project/pull/150288)

Modified-by: Dhruva Chakrabarti

Assisted-by: Cursor
DeltaFile
+546-687llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.ll
+390-374llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sched.group.barrier.ll
+337-388llvm/test/CodeGen/AMDGPU/mfma-cd-select.ll
+181-181llvm/test/CodeGen/AMDGPU/agpr-csr.ll
+120-112llvm/test/CodeGen/AMDGPU/mfma-no-register-aliasing.ll
+69-72llvm/test/CodeGen/AMDGPU/spill-agpr.ll
+1,643-1,8149 files not shown
+1,850-1,95915 files

LLVM/project 0872043llvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU coexec-scheduler.ll

Update for rebase

Change-Id: If807373eb8553665b4a49e076fb155d261d8347d
DeltaFile
+92-91llvm/test/CodeGen/AMDGPU/coexec-scheduler.ll
+1-4llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+93-952 files

FreeBSD/ports 31d509bgames/widelands Makefile distinfo, games/widelands/files patch-c0b44ccc04df35a9a23ca9be3e05f5d3a5428f6f

games/widelands: update 1.2.1 → 1.3.1

PR:             293644
Tested by:      thindil at laeran.pl.eu.org
DeltaFile
+0-224games/widelands/files/patch-c0b44ccc04df35a9a23ca9be3e05f5d3a5428f6f
+3-5games/widelands/Makefile
+3-3games/widelands/distinfo
+1-1games/widelands/pkg-plist
+7-2334 files

FreeBSD/ports 2791408astro/josm Makefile distinfo, astro/josm/files josm.sh.in

astro/josm: update 19439 → 19481

- Switch to latest supported openjdk
- Simplify wrapper script, run with correct java
DeltaFile
+3-4astro/josm/Makefile
+3-3astro/josm/distinfo
+1-5astro/josm/files/josm.sh.in
+7-123 files

FreeBSD/ports db52a59astro/osmosis Makefile

astro/osmosis: switch to default java version
DeltaFile
+1-2astro/osmosis/Makefile
+1-21 files

FreeBSD/ports 6418513astro/gpsprune Makefile

astro/gpsprune: switch to default java version
DeltaFile
+2-4astro/gpsprune/Makefile
+2-41 files

FreeBSD/ports a926280games/luanti distinfo Makefile

games/luanti: update 5.14.0 → 5.15.1

PR:             293560
Tested by:      giorgio.caculli at protonmail.com
DeltaFile
+3-3games/luanti/distinfo
+1-1games/luanti/Makefile
+2-0games/luanti/pkg-plist
+6-43 files

FreeBSD/ports 58d1e2fdevel/omnilinter distinfo Makefile

devel/omnilinter: update 0.7.0 → 0.7.1
DeltaFile
+203-219devel/omnilinter/distinfo
+101-110devel/omnilinter/Makefile
+304-3292 files

FreeBSD/ports ac7488cdevel/cppcheck distinfo Makefile, devel/cppcheck/files patch-CMakeLists.txt

devel/cppcheck: update 2.19.1 → 2.20.0
DeltaFile
+3-3devel/cppcheck/distinfo
+2-2devel/cppcheck/files/patch-CMakeLists.txt
+2-2devel/cppcheck/Makefile
+7-73 files

FreeBSD/ports f395188games/linwarrior Makefile

games/linwarrior: deprecate
DeltaFile
+3-0games/linwarrior/Makefile
+3-01 files

OpenBSD/ports pAVP1tgmath/gnuplot Makefile

   gnuplot: unbreak: bump REVISION and revert PATCHLEVEL bump
VersionDeltaFile
1.84+2-1math/gnuplot/Makefile
+2-11 files