LLVM/project bed0648flang/lib/Optimizer/Transforms CUFOpConversion.cpp, flang/lib/Optimizer/Transforms/CUDA CUFOpConversion.cpp

Merge branch 'main' into users/arsenm/instcombine/simplify-demanded-fpclass-minimum-maximum
DeltaFile
+1,300-0llvm/test/CodeGen/X86/avgceils.ll
+1,196-0llvm/test/CodeGen/X86/scmp.ll
+1,073-3llvm/test/CodeGen/X86/avgceilu.ll
+764-0llvm/test/CodeGen/X86/fast-isel-fcmp.ll
+613-0flang/lib/Optimizer/Transforms/CUDA/CUFOpConversion.cpp
+0-613flang/lib/Optimizer/Transforms/CUFOpConversion.cpp
+4,946-616511 files not shown
+23,946-9,393517 files

FreeNAS/freenas edbf3f5src/middlewared/middlewared/plugins/failover_ datastore.py

Do not spawn duplicate `failover_datastore` threads
DeltaFile
+5-2src/middlewared/middlewared/plugins/failover_/datastore.py
+5-21 files

FreeBSD/src 47015e4tests/sys/fs/fusefs Makefile, tests/sys/fs/tarfs tarfs_test.sh

tests: Increase timeout

Bump the timeout value, to avoid cutoff on emulated architectures on
ci.freebsd.org.

Reported by:    Jenkins
Reviewed by:    ngie
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54550
DeltaFile
+1-1tests/sys/fs/tarfs/tarfs_test.sh
+1-1tests/sys/geom/class/eli/reentrancy_test.sh
+1-1tests/sys/kern/jailmeta.sh
+1-1tests/sys/fs/fusefs/Makefile
+1-1tests/sys/netpfil/pf/rules_counter.sh
+1-1tests/sys/mac/portacl/Makefile
+6-61 files not shown
+7-67 files

FreeBSD/src 301bc14tests/sys/netpfil/pf killstate.sh

pf: tests: Require python3

Reported by:    Jenkins
Reviewed by:    kp, ngie
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54549
DeltaFile
+1-0tests/sys/netpfil/pf/killstate.sh
+1-01 files

LLVM/project b435634llvm/test/Transforms/InstCombine simplify-demanded-fpclass-maximumnum.ll simplify-demanded-fpclass-minimumnum.ll

InstCombine: Add baseline minimumnum/maximumnum SimplifyDemandedFPClass tests (#173976)

DeltaFile
+1,730-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximumnum.ll
+1,730-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimumnum.ll
+3,460-02 files

LLVM/project 1930903llvm/test/Transforms/InstCombine simplify-demanded-fpclass-maximumnum.ll simplify-demanded-fpclass-minimumnum.ll

Revert "InstCombine: Add baseline minimumnum/maximumnum SimplifyDemandedFPCla…"

This reverts commit 39a2c6fdf38f97e62df4b7e2e77ab8feb2873d9f.
DeltaFile
+0-1,730llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximumnum.ll
+0-1,730llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimumnum.ll
+0-3,4602 files

LLVM/project 114505bllvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Implement SimplifyDemandedFPClass for sqrt
DeltaFile
+38-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+10-19llvm/lib/Analysis/ValueTracking.cpp
+24-0llvm/lib/Support/KnownFPClass.cpp
+9-14llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-sqrt.ll
+4-0llvm/include/llvm/Support/KnownFPClass.h
+85-335 files

LLVM/project 68bcb20llvm/test/Transforms/InstCombine simplify-demanded-fpclass-sqrt.ll

InstCombine: Add baseline tests for sqrt SimplifyDemandedFPClass
DeltaFile
+308-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-sqrt.ll
+308-01 files

LLVM/project 75194dcllvm/include/llvm/ADT FloatingPointMode.h, llvm/include/llvm/Support KnownFPClass.h

InstCombine: Handle log/log2/log10 in SimplifyDemandedFPClass
DeltaFile
+16-30llvm/lib/Analysis/ValueTracking.cpp
+37-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+9-18llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-log.ll
+17-0llvm/lib/Support/KnownFPClass.cpp
+5-0llvm/include/llvm/ADT/FloatingPointMode.h
+4-0llvm/include/llvm/Support/KnownFPClass.h
+88-486 files

LLVM/project 32c01d3libc/src/__support/wctype/conversion/utils utils.h

include range and chunk utils
DeltaFile
+166-1libc/src/__support/wctype/conversion/utils/utils.h
+166-11 files

LLVM/project 5adae7flldb/tools/lldb-dap/extension package-lock.json

[lldb-dap] Fix qs integrity hash

I was using a different registry locally. I manually changed the URL but
didn't expect the hash to be different.
DeltaFile
+1-1lldb/tools/lldb-dap/extension/package-lock.json
+1-11 files

LLVM/project 6153876llvm/test/Transforms/InstCombine simplify-demanded-fpclass-maximum.ll simplify-demanded-fpclass-minimum.ll

InstCombine: Add baseline tests for minimum/maximum SimplifyDemandedFPClass handling (#173896)

DeltaFile
+1,730-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximum.ll
+1,730-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimum.ll
+3,460-02 files

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

[MLIR][OpenMP] Support cancel taskgroup inside of taskloop

Implementation follows exactly what is done for omp.wsloop and omp.task.
See #137841.

The change to the operation verifier is to allow a taskgroup
cancellation point inside of a taskloop. This was already allowed for
omp.cancel.
DeltaFile
+419-0mlir/test/Target/LLVMIR/openmp-taskloop-cancel.mlir
+280-0mlir/test/Target/LLVMIR/openmp-taskloop-cancellation-point.mlir
+12-20mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+2-1mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+713-214 files

LLVM/project 39a2c6fllvm/test/Transforms/InstCombine simplify-demanded-fpclass-maximumnum.ll simplify-demanded-fpclass-minimumnum.ll

InstCombine: Add baseline minimumnum/maximumnum SimplifyDemandedFPClass tests (#173976)

DeltaFile
+1,730-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximumnum.ll
+1,730-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimumnum.ll
+3,460-02 files

LLVM/project 5958842mlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python IRAffine.cpp

[mlir][py] ability to downcast AffineExpr after #172892 (#174808)

AffineExpr is a separate hierarchy of LLVM-style nested classes that
doesn't rely on TypeID and is not extensible. We need the ability to
downcast the Python equivalent of those to a specific subclass that was
seemingly lost in PR #172892. Bring it back by having an explicit cast.
We don't really need user-defined type casters here since AffineExpr is
entirely closed and not typed, unlike values.
DeltaFile
+26-4mlir/lib/Bindings/Python/IRAffine.cpp
+11-0mlir/test/python/ir/affine_expr.py
+2-0mlir/include/mlir/Bindings/Python/IRCore.h
+39-43 files

LLVM/project fd5cfccllvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/Attributor nofpclass-fma.ll

ValueTracking: Check if x is undef for fma(x, x, y) analysis (#174763)

DeltaFile
+42-12llvm/test/Transforms/Attributor/nofpclass-fma.ll
+3-3llvm/test/Transforms/InstCombine/fabs.ll
+3-1llvm/lib/Analysis/ValueTracking.cpp
+48-163 files

LLVM/project 12c89e4llvm/test/Transforms/InstCombine simplify-demanded-fpclass-log.ll

InstCombine: Add baseline test for SimplifyDemandedFPClass log handling (#173880)

DeltaFile
+268-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-log.ll
+268-01 files

LLVM/project 6086175llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-fmul.ll

InstCombine: Consider not-inf/nan context when simplifying fmul

Consider if the result can be nan, or if the inputs cannot
be infinity from the flag when trying to simplify fmul into
copysign.
DeltaFile
+18-12llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fmul.ll
+12-6llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+30-182 files

LLVM/project 25118cemlir/include/mlir/Bindings/Python IRCore.h, mlir/lib/Bindings/Python IRAffine.cpp

[mlir][py] ability to downcast AffineExpr after #172892

AffineExpr is a separate hierarchy of LLVM-style nested classes that doesn't
rely on TypeID and is not extensible. We need the ability to downcast the
Python equivalent of those to a specific subclass that was seemingly lost in
PR #172892. Bring it back by having an explicit cast. We don't really need
user-defined type casters here since AffineExpr is entirely closed and not
typed, unlike values.
DeltaFile
+26-4mlir/lib/Bindings/Python/IRAffine.cpp
+11-0mlir/test/python/ir/affine_expr.py
+2-0mlir/include/mlir/Bindings/Python/IRCore.h
+39-43 files

FreeNAS/freenas 5d708e8src/middlewared/middlewared/plugins smb.py

Fix
DeltaFile
+0-3src/middlewared/middlewared/plugins/smb.py
+0-31 files

LLVM/project 5fb4383flang/docs OpenMPSupport.md, flang/test/Lower/OpenMP target-spmd.f90 target.f90

[mlir][OpenMP] Lower device clause for target data/enter/exit/update (#174665)

Extend OpenMP device clause lowering for target data, target enter data,
target exit data, and target update to accept non-constant values.
Previously, only constant device IDs could be lowered to LLVM IR.

Add Flang tests to validate device clause handling and mark the feature
as supported in the OpenMPSupport documentation. New tests cover:
- target teams
- target teams distribute
- target teams distribute parallel do
- target teams distribute parallel do simd
- target data

Tests for target update and target enter/exit were
already present in Flang.
DeltaFile
+210-4mlir/test/Target/LLVMIR/omptarget-device.mlir
+211-0flang/test/Lower/OpenMP/target-spmd.f90
+21-31mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+44-1flang/test/Lower/OpenMP/target.f90
+6-6flang/docs/OpenMPSupport.md
+4-2mlir/test/Target/LLVMIR/omptarget-llvm.mlir
+496-446 files

LLVM/project 8a3039fclang/include/clang/Basic CodeGenOptions.def, clang/include/clang/Options Options.td

[Clang] Add clang driver option -fpartition-static-data-sections  (#124991)

DeltaFile
+16-0clang/test/Driver/fpartition-static-data-sections.c
+16-0clang/lib/Driver/ToolChains/Clang.cpp
+9-0clang/lib/Driver/ToolChains/CommonArgs.cpp
+6-0clang/include/clang/Options/Options.td
+2-0clang/lib/CodeGen/BackendUtil.cpp
+1-0clang/include/clang/Basic/CodeGenOptions.def
+50-06 files

LLVM/project 523ea45llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-fmul.ll

InstCombine: Handle fmul by -0 case in SimplifyDemandedFPClass

The fmul visitor handles this case as copysign and fneg.
DeltaFile
+20-2llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+4-2llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fmul.ll
+24-42 files

LLVM/project 94d4e3alibcxx/include semaphore, libcxx/include/__atomic atomic_sync.h

[libc++] Refactor poll_with_backoff (#173184)

This patch gets rid of bool result values which were confusing, and
instead replaces them with enum class values describing the meaning of
each return value.
DeltaFile
+27-8libcxx/include/__thread/poll_with_backoff.h
+7-7libcxx/include/__atomic/atomic_sync.h
+3-2libcxx/include/__thread/timed_backoff_policy.h
+2-1libcxx/include/semaphore
+39-184 files

LLVM/project 4d8ad18flang/lib/Optimizer/Transforms CUFOpConversion.cpp, flang/lib/Optimizer/Transforms/CUDA CUFOpConversion.cpp

Merge branch 'main' into users/arsenm/instcombine/add-baseline-tests-simplifydemandedfpclass-minimum-maximum
DeltaFile
+1,300-0llvm/test/CodeGen/X86/avgceils.ll
+1,196-0llvm/test/CodeGen/X86/scmp.ll
+1,073-3llvm/test/CodeGen/X86/avgceilu.ll
+764-0llvm/test/CodeGen/X86/fast-isel-fcmp.ll
+613-0flang/lib/Optimizer/Transforms/CUDA/CUFOpConversion.cpp
+0-613flang/lib/Optimizer/Transforms/CUFOpConversion.cpp
+4,946-616489 files not shown
+23,005-9,310495 files

LLVM/project ece7e71flang/lib/Optimizer/Transforms CUFOpConversion.cpp, flang/lib/Optimizer/Transforms/CUDA CUFOpConversion.cpp

Merge branch 'main' into users/arsenm/instcombine/add-baseline-test-simplifydemandedfpclass-log
DeltaFile
+1,300-0llvm/test/CodeGen/X86/avgceils.ll
+1,196-0llvm/test/CodeGen/X86/scmp.ll
+1,073-3llvm/test/CodeGen/X86/avgceilu.ll
+764-0llvm/test/CodeGen/X86/fast-isel-fcmp.ll
+0-613flang/lib/Optimizer/Transforms/CUFOpConversion.cpp
+613-0flang/lib/Optimizer/Transforms/CUDA/CUFOpConversion.cpp
+4,946-616489 files not shown
+23,005-9,310495 files

FreeBSD/src 9fc7fe6usr.sbin/bhyve/aarch64 bhyverun_machdep.c

bhyve: improve console error reporting on arm64

Currently, on arm64, if bhyve fails to initialize the console,
it falls into assert(), which does not look particularly pretty
for users.

Replace the assert with proper error handling so bhyve prints
a meaningful error message and exits with status code 4 (error).
That matches the behavior on amd64.

Approved by:            markj
Reviewed by:            markj
Differential Revision:  https://reviews.freebsd.org/D54504
DeltaFile
+8-5usr.sbin/bhyve/aarch64/bhyverun_machdep.c
+8-51 files

LLVM/project 8ada2afmlir/include/mlir/Interfaces ControlFlowInterfaces.td ControlFlowInterfaces.h, mlir/lib/Interfaces ControlFlowInterfaces.cpp

[mlir][Interfaces] Simplify and improve errors of `RegionBranchOpInterface` verifier
DeltaFile
+63-106mlir/lib/Interfaces/ControlFlowInterfaces.cpp
+8-4mlir/test/Dialect/SCF/invalid.mlir
+1-1mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
+1-1mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
+73-1124 files

FreeNAS/freenas 458f871src/middlewared/middlewared/plugins/smb_ util_smbconf.py

NAS-139203 / 26.04 / Disable SMB3 unix extensions by default (#17971)

This commit disables the SMB3 unix extensions by default. They will be
exposed as a configurable option in a future PR.
DeltaFile
+1-0src/middlewared/middlewared/plugins/smb_/util_smbconf.py
+1-01 files

LLVM/project 6e4eba1llvm/lib/Analysis ValueTracking.cpp, llvm/test/Transforms/Attributor nofpclass-fma.ll

ValueTracking: Check if x is undef for fma(x, x, y) analysis
DeltaFile
+42-12llvm/test/Transforms/Attributor/nofpclass-fma.ll
+3-3llvm/test/Transforms/InstCombine/fabs.ll
+3-1llvm/lib/Analysis/ValueTracking.cpp
+48-163 files