LLVM/project a45b6bfutils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes 6a86650 (#198355)

This fixes 6a866508f88c9c8ee7c1d43c1ee09bdd0300c76a.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+10-1utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+10-11 files

LLVM/project 721fb42llvm/lib/Target/AMDGPU AMDGPU.td AMDGPURemoveIncompatibleFunctions.cpp, llvm/lib/Target/AMDGPU/MCTargetDesc AMDGPUMCTargetDesc.cpp

Add HasWave32 & HasWave64
DeltaFile
+14-12llvm/lib/Target/AMDGPU/AMDGPU.td
+6-2llvm/lib/Target/AMDGPU/AMDGPURemoveIncompatibleFunctions.cpp
+3-3llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp
+23-173 files

LLVM/project 35d7c8bllvm/test/MC/Disassembler/AMDGPU gfx9_vop3.txt gfx11_dasm_vop3.txt

[AMDGPU] Allow printing i16 imm as f16 inline constant

This allows diasm to look the same way as asm and codegen.
DeltaFile
+228-228llvm/test/MC/Disassembler/AMDGPU/gfx9_vop3.txt
+200-200llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3.txt
+200-200llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3.txt
+194-194llvm/test/MC/Disassembler/AMDGPU/gfx10_vop3.txt
+144-144llvm/test/MC/Disassembler/AMDGPU/gfx10_vop3c.txt
+128-128llvm/test/MC/Disassembler/AMDGPU/gfx9_vop3c.txt
+1,094-1,09474 files not shown
+3,445-3,58980 files

LLVM/project 9eb3365llvm/test/MC/Disassembler/AMDGPU gfx11_dasm_vop3.txt gfx12_dasm_vop3.txt

[AMDGPU] Use shorter form for i16 operands

For 16-bit operands an inline constant is zero extended
which in particular allows to use FP constants. These
will have 16 bits of zeroes in the high half and FP16
value in the low 16 bits.
DeltaFile
+200-200llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3.txt
+200-200llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3.txt
+116-116llvm/test/MC/Disassembler/AMDGPU/gfx9_vop3.txt
+98-98llvm/test/MC/Disassembler/AMDGPU/gfx10_vop3.txt
+96-96llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vopc.txt
+96-96llvm/test/MC/Disassembler/AMDGPU/gfx10_vop3c.txt
+806-80655 files not shown
+2,169-2,16661 files

LLVM/project 91334a8llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/test/MC/AMDGPU literals.s gfx1250_asm_vop2.s

[AMDGPU] Error out on too large lit() constants (#197803)
DeltaFile
+8-16llvm/test/MC/AMDGPU/literals.s
+2-2llvm/test/MC/AMDGPU/gfx1250_asm_vop2.s
+2-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+12-183 files

LLVM/project 519eb6cflang-rt/include/flang-rt/runtime numeric-templates.h, flang-rt/lib/runtime character.cpp

[flang-rt][NFC] Clean up warnings when building flang-rt (#198384)

Summary:
Trivial warning fixes around uninitialized values.
DeltaFile
+4-4flang-rt/lib/runtime/character.cpp
+2-2flang-rt/include/flang-rt/runtime/numeric-templates.h
+1-1libc/shared/rpc_dispatch.h
+7-73 files

LLVM/project b7612bfllvm/test/CodeGen/DirectX discard_error.ll

[DirectX] Update intrinsic test with more precise error message (#198376)

Error messages for bad intrinsic signatures were improved in #196802,
update this test to match.
DeltaFile
+1-1llvm/test/CodeGen/DirectX/discard_error.ll
+1-11 files

Linux/linux 4d3a2a4drivers/hid hid-core.c

HID: core: Fix size_t specifier in hid_report_raw_event()

When building for 32-bit platforms, for which 'size_t' is
'unsigned int', there are warnings around using the incorrect format
specifier to print bsize in hid_report_raw_event():

  drivers/hid/hid-core.c:2054:29: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
   2053 |                 hid_warn_ratelimited(hid, "Event data for report %d is incorrect (%d vs %ld)\n",
        |                                                                                         ~~~
        |                                                                                         %zu
   2054 |                                      report->id, csize, bsize);
        |                                                         ^~~~~
  drivers/hid/hid-core.c:2076:29: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
   2075 |                 hid_warn_ratelimited(hid, "Event data for report %d was too short (%d vs %ld)\n",
        |                                                                                          ~~~
        |                                                                                          %zu
   2076 |                                      report->id, rsize, bsize);
        |                                                         ^~~~~


    [9 lines not shown]
DeltaFile
+2-2drivers/hid/hid-core.c
+2-21 files

LLVM/project 2b92ab0clang/include/clang/Driver Compilation.h Job.h, clang/lib/Driver Driver.cpp

[clang] Enable crash reproducers when multiple -arch flags are involved (#197600)

rdar://176327788
DeltaFile
+85-0clang/test/Driver/crash-report-multi-arch.c
+21-6clang/lib/Driver/Driver.cpp
+11-1clang/include/clang/Driver/Compilation.h
+8-0clang/include/clang/Driver/Job.h
+125-74 files

LLVM/project 862ba47mlir/include/mlir/Interfaces InferIntDivisibilityOpInterface.h, mlir/lib/Analysis/DataFlow IntegerDivisibilityAnalysis.cpp

Reland "[MLIR] Add `IntegerDivisibilityAnalysis` and `InferIntDivisibilityOpInterface`" (#198110)

Relands #197728, which was reverted in #198048 because it broke
shared-library builds.


## Summary of build fix:
`IntegerDivisibilityAnalysis.cpp` calls
`mlir::getConstantIntValue(OpFoldResult)`, which is defined in
`mlir/lib/Dialect/Utils/StaticValueUtils.cpp`. Without this link
dependency, shared-library
builds of `libMLIRAnalysis.so` fail with undefined references.

This was the root cause of
https://github.com/llvm/llvm-project/pull/198048.
DeltaFile
+312-0mlir/lib/Dialect/Affine/IR/InferIntDivisibilityOpInterfaceImpl.cpp
+152-0mlir/test/Analysis/DataFlow/integer-divisibility.mlir
+135-0mlir/lib/Analysis/DataFlow/IntegerDivisibilityAnalysis.cpp
+122-0mlir/lib/Dialect/Arith/IR/InferIntDivisibilityOpInterfaceImpl.cpp
+120-0mlir/include/mlir/Interfaces/InferIntDivisibilityOpInterface.h
+93-0mlir/test/lib/Analysis/DataFlow/TestIntegerDivisibilityAnalysis.cpp
+934-015 files not shown
+1,132-1121 files

NetBSD/pkgsrc e5rXWeKgraphics/inkscape Makefile

   inkscape: fix macos install

   Inkscape no longer adds an extra 0 to its libraries on macOS.
VersionDeltaFile
1.326+4-4graphics/inkscape/Makefile
+4-41 files

FreeNAS/freenas da86be5docs/source/accounts scram_authentication.rst, src/middlewared/middlewared/docs index.rst

mark auth.login and auth.login_with_api_key removed_in v27

Both methods are thin wrappers around auth.login_ex. Add removed_in='v27'
to their @api_method decorators so they're invisible on v27 sessions while
remaining reachable for v25/v26 callers via LegacyAPIMethod. Docstrings
updated to point at auth.login_ex with the appropriate mechanism.

The primary motivation for this is to encourage users to switch to more
secure authentication mechanisms for API key authentication. The
deprecated endpoint is incapable of a challenge-response flow.
DeltaFile
+15-5tests/api2/test_audit_websocket.py
+10-3tests/api2/test_api_key.py
+9-4src/middlewared/middlewared/docs/index.rst
+9-2src/middlewared/middlewared/plugins/auth.py
+5-2docs/source/accounts/scram_authentication.rst
+6-1tests/api2/test_account_privilege_role_private_fields.py
+54-176 files

FreeBSD/ports 07aef5bdevel/sem distinfo Makefile.crates

devel/sem: Update to 0.6.0

Changes:
    https://github.com/Ataraxy-Labs/sem/releases/tag/v0.6.0
    https://github.com/Ataraxy-Labs/sem/releases/tag/v0.5.5
DeltaFile
+39-3devel/sem/distinfo
+19-1devel/sem/Makefile.crates
+1-1devel/sem/Makefile
+59-53 files

FreeBSD/ports 0ac25ccdevel/air-go distinfo Makefile

devel/air-go: Update to 1.65.2

Changes: https://github.com/air-verse/air/releases/tag/v1.65.2
DeltaFile
+5-5devel/air-go/distinfo
+1-2devel/air-go/Makefile
+6-72 files

FreeBSD/ports 9b7ab74math/calc distinfo pkg-plist

math/calc: Update to 2.17.0.0

Changes: https://github.com/lcn2/calc/releases/tag/v2.17.0.0
DeltaFile
+3-3math/calc/distinfo
+0-3math/calc/pkg-plist
+1-1math/calc/Makefile
+4-73 files

FreeBSD/src 9306d04usr.sbin/ctld ctld.cc

ctld: Simplify pidfile rename handling in conf::apply

Explicitly copy the pidfile path from the initial configuration file
to the kernel-derived configuration to avoid having to check if the
old path is empty as a special case in conf::apply().

Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D56533
DeltaFile
+10-15usr.sbin/ctld/ctld.cc
+10-151 files

FreeBSD/src f1c5de5usr.sbin/ctld ctld.cc ctld.hh

ctld: Add a dedicated conf method for shutting down

Currently the main loop creates an empty config and applies it to
force a shutdown of all of the existing configuration.  While this is
functional and does avoid duplicating some code, it is also a bit
clunky and requires a special hack in the pidfile path handling
in the conf::apply method.

Instead, use a dedicated conf::shutdown method which tears down the
CTL ports and LUNs and closes the sockets.

Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D56532
DeltaFile
+40-16usr.sbin/ctld/ctld.cc
+1-0usr.sbin/ctld/ctld.hh
+41-162 files

FreeBSD/src 63d7b7fusr.sbin/ctld ctld.hh

ctld: Mark a few more isns_* methods in the conf class private

These are only invoked from other methods in the conf class.

Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D56531
DeltaFile
+3-3usr.sbin/ctld/ctld.hh
+3-31 files

FreeBSD/src 4f90de0usr.sbin/ctld ctld.cc

ctld: Remove redundant call to conf::isns_schedule_update

This is already called at the end of conf::apply.

Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D56530
DeltaFile
+0-2usr.sbin/ctld/ctld.cc
+0-21 files

FreeNAS/freenas 82b7633src/middlewared_docs changelog.py generate_docs.py

remove event sections (events are not versioned)
DeltaFile
+8-18src/middlewared_docs/changelog.py
+0-16src/middlewared_docs/generate_docs.py
+8-342 files

LLVM/project 0b4a877compiler-rt/lib/scudo/standalone/tests combined_test.cpp

[scudo] Add unit test for StackDepot edge cases

This increases test coverage for stack_depot.h to 100%.
DeltaFile
+25-0compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
+25-01 files

FreeBSD/ports 7f4100cgames/openrct2 distinfo Makefile

games/openrct2: update to 0.5.1

Changelog:      https://github.com/OpenRCT2/OpenRCT2/releases/tag/v0.5.1
DeltaFile
+11-11games/openrct2/distinfo
+1-1games/openrct2/Makefile
+12-122 files

FreeBSD/ports 4aca327games/fheroes2 distinfo Makefile

games/fheroes2: update to 1.1.16

Changelog:      https://github.com/ihhub/fheroes2/releases/tag/1.1.16
DeltaFile
+3-3games/fheroes2/distinfo
+1-1games/fheroes2/Makefile
+4-42 files

FreeBSD/ports eba3ac5misc/codex/files patch-cargo-crates_v8-146.4.0_build_config_compiler_BUILD.gn patch-cargo-crates_v8-146.4.0_build_toolchain_freebsd_BUILD.gn

misc/codex: fix build on powerpc64le

Same as www/deno.
DeltaFile
+10-1misc/codex/files/patch-cargo-crates_v8-146.4.0_build_config_compiler_BUILD.gn
+9-2misc/codex/files/patch-cargo-crates_v8-146.4.0_build_toolchain_freebsd_BUILD.gn
+19-32 files

FreeBSD/ports 3bb0a93lang/ruby33 Makefile, lang/ruby33/files patch-coroutine_ppc64le_Context.S

lang/ruby*: fix runtime on powerpc64*

The hand-written `coroutine_transfer` in `coroutine/ppc64le/Context.S`
lacks the ELFv2 ABI global entry prologue. When the function is reached
via the PLT (lazy resolution path), r2 (TOC pointer) is left pointing
at whatever the resolver had loaded — typically the dynamic linker's
own TOC — instead of libruby's TOC.

The wrong r2 propagates through the fiber switch into `fiber_entry`,
which jumps into `fiber_restore_thread` → `rb_current_ec_set`. The
first PLT thunk inside the new fiber (`__plt___tls_get_addr` for the
`ruby_current_ec` thread-local) computes its GOT entry as
`r2 + offset` and segfaults dereferencing the bogus address.

Fixes build of textproc/rubygem-nokogiri and devel/rubygem-glib2.
DeltaFile
+22-0lang/ruby34/files/patch-coroutine_ppc64le_Context.S
+22-0lang/ruby33/files/patch-coroutine_ppc64le_Context.S
+22-0lang/ruby40/files/patch-coroutine_ppc64le_Context.S
+1-0lang/ruby33/Makefile
+1-0lang/ruby34/Makefile
+1-0lang/ruby40/Makefile
+69-06 files

FreeBSD/ports afe0b7dlang/zig014 Makefile, lang/zig014/files patch-CMakeLists.txt

lang/zig014: add powerpc64le support

Submitted by:   clhamilto at gmail.com
DeltaFile
+14-0lang/zig014/files/patch-CMakeLists.txt
+1-1lang/zig014/Makefile
+15-12 files

FreeBSD/ports b9b40e3lang/zig Makefile, lang/zig/files patch-CMakeLists.txt

lang/zig: add powerpc64le support

Submitted by:   clhamilto at gmail.com
DeltaFile
+14-0lang/zig/files/patch-CMakeLists.txt
+1-1lang/zig/Makefile
+15-12 files

FreeBSD/ports 513a60fgraphics/blender/files patch-source_blender_blenlib_intern_math__half.cc

graphics/blender: fix build on powerpc64le

/wrkdirs/usr/ports/graphics/blender/work/blender-5.0.1/source/blender/blenlib/intern/math_half.cc:275:15: error: unknown type name '__m128i'
  275 | static inline __m128i srai_epi8_sse2(__m128i x, int imm)
      |               ^
/wrkdirs/usr/ports/graphics/blender/work/blender-5.0.1/source/blender/blenlib/intern/math_half.cc:275:38: error: unknown type name '__m128i'
  275 | static inline __m128i srai_epi8_sse2(__m128i x, int imm)
      |                                      ^
/wrkdirs/usr/ports/graphics/blender/work/blender-5.0.1/source/blender/blenlib/intern/math_half.cc:278:5: error: unknown type name '__m128i'
  278 |     __m128i sign = _mm_cmpgt_epi8(_mm_setzero_si128(), x); // 0xFF where x < 0
      |     ^
/wrkdirs/usr/ports/graphics/blender/work/blender-5.0.1/source/blender/blenlib/intern/math_half.cc:278:35: error: use of undeclared identifier '_mm_setzero_si128'
  278 |     __m128i sign = _mm_cmpgt_epi8(_mm_setzero_si128(), x); // 0xFF where x < 0
      |                                   ^
/wrkdirs/usr/ports/graphics/blender/work/blender-5.0.1/source/blender/blenlib/intern/math_half.cc:279:5: error: unknown type name '__m128i'
  279 |     __m128i lo = _mm_unpacklo_epi8(x, sign);
      |     ^
/wrkdirs/usr/ports/graphics/blender/work/blender-5.0.1/source/blender/blenlib/intern/math_half.cc:280:5: error: unknown type name '__m128i'
  280 |     __m128i hi = _mm_unpackhi_epi8(x, sign);

    [14 lines not shown]
DeltaFile
+11-0graphics/blender/files/patch-source_blender_blenlib_intern_math__half.cc
+11-01 files

FreeBSD/ports f5e9e70www/nginx-full Makefile

www/nginx-full: Bump PORTREVISION to chase www/nginx update

Approved by:    maintainer
DeltaFile
+1-1www/nginx-full/Makefile
+1-11 files

FreeBSD/ports d769e90www/nginx distinfo Makefile

www/nginx: Update ngx_cache_purge module to unbreak

PR:             295309
Approved by:    maintainer
DeltaFile
+2-2www/nginx/distinfo
+1-1www/nginx/Makefile
+1-1www/nginx/Makefile.extmod
+4-43 files