LLVM/project c79333eflang/lib/Semantics check-omp-structure.cpp check-omp-structure.h

[flang][OpenMP] Centralize pushing/popping directive context (#204924)

Put calls to PushContextAndClauseSets to the Enter function for
OpenMPConstruct and OpenMPDeclarativeConstruct, and popping the context
to the corresponding Leave functions. This moves most of the context
handling to the top-level AST entries. This will allow more centralized
verification of common clause properties in the future.
DeltaFile
+21-149flang/lib/Semantics/check-omp-structure.cpp
+0-27flang/lib/Semantics/check-omp-structure.h
+0-19flang/lib/Semantics/check-omp-variant.cpp
+0-6flang/lib/Semantics/check-omp-atomic.cpp
+0-2flang/lib/Semantics/check-omp-loop.cpp
+21-2035 files

FreeNAS/freenas 282fbfcsrc/middlewared/middlewared/test/integration/assets two_factor_auth.py, src/middlewared/middlewared/utils/account authenticator.py

NAS-141441 / 26.0.0-RC.1 / Fix missing 2FA account flag and re-enable STIG tests (by anodos325) (#19161)

AccountFlag.TWOFACTOR was set in _get_user_obj() based on
self.twofactor_user, which only becomes true after the PAM OATH
conversation runs -- i.e. it was always false at that point. As a result
2FA web sessions never carried the '2FA' flag and validate_stig()
rejected every credential, blocking STIG enablement. This is why the
suite had been failing for months.

Set TWOFACTOR in authenticate_oath() on success instead, where the
second factor has actually been verified, mirroring how OTPW is
recorded. Drop the now-dead check from _get_user_obj().

Re-enable tests/stig test_01 and test_02 and restore the conftest server
setup. test_03 stays skipped.

Original PR: https://github.com/truenas/middleware/pull/19151

Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
DeltaFile
+86-66tests/stig/test_01_stig.py
+25-12src/middlewared/middlewared/test/integration/assets/two_factor_auth.py
+18-1tests/api2/test_authenticator_assurance_level.py
+7-5src/middlewared/middlewared/utils/account/authenticator.py
+8-2tests/stig/test_03_stig_auditing.py
+2-5tests/stig/conftest.py
+146-913 files not shown
+153-959 files

LLVM/project 5b687a5clang-tools-extra/clangd/test did-change-configuration-params.test

Be more permissive on spaces in command line argument parsing (#205111)

Fixes c888371ff0a3e10f8472676dc992f4347fca58d9.

This change properly accommodates both presence and absence of extra
trailing arguments like -resource-dir.
DeltaFile
+1-1clang-tools-extra/clangd/test/did-change-configuration-params.test
+1-11 files

LLVM/project 6b59e09clang/lib/Driver Driver.cpp, clang/test/Driver hip-phases.hip hip-binding.hip

[HIP] Fix `--no-offload-new-driver` behavior after #201457 (#205094)

Summary:
https://github.com/llvm/llvm-project/pull/201457 changed the default for
all targets. Even though the old offload driver is getting removed soon
we shouldn't break it for the LLVM23 release. This simply reverts to the
original behavior, the old driver builds its jobs manually so we can
just turn off this one specific case unless the user forced it.
DeltaFile
+44-32clang/test/Driver/hip-phases.hip
+5-4clang/lib/Driver/Driver.cpp
+4-4clang/test/Driver/hip-binding.hip
+4-3clang/test/Driver/hip-toolchain-no-rdc.hip
+1-1clang/test/Driver/hip-device-compile.hip
+58-445 files

LLVM/project 4e6976bclang/test/AST/ByteCode command-line-options.cpp

Fix test on read-only file systems (#205108)

Fixes 25e4057d49055a645dc6a51ae1f40ac647aaed5b.

Use the -fsyntax-only flag instead of -c. This performs the necessary
parsing and diagnostics verification (the actual intent of this test)
without attempting to emit an object file.
DeltaFile
+4-4clang/test/AST/ByteCode/command-line-options.cpp
+4-41 files

LLVM/project fe5ad84llvm/lib/Transforms/IPO AttributorAttributes.cpp, llvm/test/Transforms/Attributor callbr.ll

[Attributor] Do not delete side-effect-free terminator (#205052)

Fixes: https://github.com/llvm/llvm-project/issues/192012
DeltaFile
+23-0llvm/test/Transforms/Attributor/callbr.ll
+1-1llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+24-12 files

FreeNAS/freenas f780258src/middlewared/middlewared/api/base model.py, src/middlewared/middlewared/api/base/validators options.py

NAS-141433 / 27.0.0-BETA.1 / Make `filter_list` accept `model=` (#19164)

`filter_list` can now filter lists of pydantic models (required
https://github.com/truenas/truenas_pyos/pull/75). The model class should
be passed to the function. Currently, only filesystem plugin uses this,
but many more are coming.

Additionally, `options` parameter handling was simplified, validation
became declarative, less dict typing
DeltaFile
+62-60src/middlewared/middlewared/utils/filter_list.py
+28-20src/middlewared/middlewared/plugins/datastore/read.py
+22-21src/middlewared/middlewared/utils/filesystem/directory.py
+19-6src/middlewared/middlewared/api/base/model.py
+0-25src/middlewared/middlewared/api/base/validators/options.py
+6-16src/middlewared/middlewared/plugins/pool_/dataset_query_utils.py
+137-14812 files not shown
+182-22018 files

LLVM/project bcae37fllvm/test/tools/llubi reset_return_value_slot.ll, llvm/tools/llubi/lib Interpreter.cpp

[llubi] Reset retval when return type is void (#205107)

In `returnFromCallee`, the return value is moved out from
`CurrentFrame->RetVal`. So `visitReturnInst` is always responsible for
setting a valid value.

Closes https://github.com/llvm/llvm-project/issues/204992
DeltaFile
+30-0llvm/test/tools/llubi/reset_return_value_slot.ll
+2-0llvm/tools/llubi/lib/Interpreter.cpp
+32-02 files

FreeBSD/ports 0dc3cdfaudio/sidplayfp distinfo Makefile

audio/sidplayfp: Update to 3.1.0
DeltaFile
+3-3audio/sidplayfp/distinfo
+1-1audio/sidplayfp/Makefile
+4-42 files

LLVM/project 1e64e08llvm/test/CodeGen/AMDGPU memory-legalizer-local-system.ll memory-legalizer-flat-agent.ll

AMDGPU: Replace tgsplit subtarget feature with attribute

This is a per-entrypoint property and has a corresponding
assembler directive, so it should not be baked into the
subtarget. I couldn't find much documentation on what this
actually does, so the description isn't great.

Fixes #204149

Co-authored-by: Claude Opus 4.6 <noreply at anthropic.com>
DeltaFile
+96-94llvm/test/CodeGen/AMDGPU/memory-legalizer-local-system.ll
+96-94llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-agent.ll
+96-94llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-cluster.ll
+96-94llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-singlethread.ll
+96-94llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-system.ll
+96-94llvm/test/CodeGen/AMDGPU/memory-legalizer-global-singlethread.ll
+576-56443 files not shown
+2,546-2,45149 files

LLVM/project 4661c02llvm/test/CodeGen/AMDGPU buffer-fat-pointer-atomicrmw-fmin.ll buffer-fat-pointer-atomicrmw-fmax.ll

[AMDGPU] Waterfall loop codegen improvement in SIInstrInfo (#192415)

When generating waterfall loops, use the instructions `v_cmpx_eq_*` and
`s_andn2_wrexec_*` as recommended for recent architectures, instead of
`v_cmp_eq_*` and `s_and saveexec`.

This PR only updates waterfall loop code generation in
`SIInstrInfo.cpp`. Other places that generated waterfall loops can be
handled separately.

- Add new lane mask constant for `s_andn2_wrexec`
- Set `isTerminator` for `v_cmpx_eq_{u32,u64}_e32`
- Fix test `mubuf-legalize-operands.mir` to track liveness needed for
verifying phi nodes
- Update .ll and .mir tests to accept the new instruction sequences

Assisted-by: Claude
DeltaFile
+625-681llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
+625-681llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
+597-644llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
+270-282llvm/test/CodeGen/AMDGPU/mubuf-legalize-operands-non-ptr-intrinsics.ll
+270-282llvm/test/CodeGen/AMDGPU/mubuf-legalize-operands.ll
+320-121llvm/test/CodeGen/AMDGPU/mubuf-legalize-operands.mir
+2,707-2,69120 files not shown
+3,537-3,47226 files

LLVM/project 36fd985clang/include/clang/Driver CommonArgs.h, clang/lib/Driver/ToolChains CommonArgs.cpp AMDGPU.cpp

clang/AMDGPU: Fix double linking opencl libs with --libclc-lib

Noticed by inspection. If using an explicit --libclc-lib flag,
do not attempt to also link the rocm device libs which will contain
different implementations of the same opencl symbols.

Co-Authored-By: Claude <noreply at anthropic.com>
DeltaFile
+8-7clang/lib/Driver/ToolChains/CommonArgs.cpp
+9-0clang/test/Driver/opencl-libclc.cl
+5-1clang/include/clang/Driver/CommonArgs.h
+2-1clang/lib/Driver/ToolChains/AMDGPU.cpp
+24-94 files

LLVM/project 39760e3clang/lib/Driver/ToolChains AMDGPU.cpp HIPAMD.cpp

clang/AMDGPU: Merge toolchain subclasses

Simplify the toolchain implementations by collapsing
them into one. Previously we had a confusing split. The
AMDGPUToolChain base class implemented much of the base
support. It was subclassed by ROCMToolChain, which would
have been more accurately described as the offloading subclass.

That was further subclassed into HIP and OpenMP specific subclasses.
Deleting those two is the important part of this change. There was
code duplication, and features arbitrarily handled in one but not
the other. The offload kind is passed in almost everywhere if you
really need to know the original language. However, I consider
this an antifeature, and it is really poor QoI to have the HIP
and OpenMP toolchains behave differently in any way. The platform
should be consistent and the driver behaviors should not depend
on the language.

There is additional mess in the handling of spirv, which this

    [9 lines not shown]
DeltaFile
+264-123clang/lib/Driver/ToolChains/AMDGPU.cpp
+2-193clang/lib/Driver/ToolChains/HIPAMD.cpp
+0-94clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
+48-23clang/lib/Driver/ToolChains/AMDGPU.h
+0-68clang/lib/Driver/ToolChains/AMDGPUOpenMP.h
+1-50clang/lib/Driver/ToolChains/HIPAMD.h
+315-5514 files not shown
+340-56610 files

LLVM/project 9f2d21dclang/lib/Driver/ToolChains AMDGPU.cpp, clang/test/Driver amdgpu-openmp-gpu-max-threads-per-block.c

clang/AMDGPU: Remove driver restriction on --gpu-max-threads-per-block

Previously this flag was only handled for HIP, and would produce an unused
argument warning. There is a custom warning produced by cc1 that the
argument isn't supported, but practically speaking that was unreachable
due to not forwarding the argument. Also add a test for the untested warning.
Also use a simpler method for forwarding the flag to cc1.
DeltaFile
+14-0clang/test/Frontend/openmp-warn-gpu-max-threads-per-block.c
+2-8clang/lib/Driver/ToolChains/AMDGPU.cpp
+6-0clang/test/Driver/amdgpu-openmp-gpu-max-threads-per-block.c
+22-83 files

LLVM/project fbbd6efclang/lib/Driver Driver.cpp SanitizerArgs.cpp

cleanups
DeltaFile
+5-5clang/lib/Driver/Driver.cpp
+1-1clang/lib/Driver/SanitizerArgs.cpp
+6-62 files

LLVM/project 95d4e37clang/lib/Driver Driver.cpp

Fix more windows paths
DeltaFile
+4-4clang/lib/Driver/Driver.cpp
+4-41 files

LLVM/project 8201963clang/include/clang/Driver Driver.h, clang/lib/Driver Driver.cpp

Fix using unsanitized target id in filename
DeltaFile
+6-6clang/lib/Driver/Driver.cpp
+2-1clang/include/clang/Driver/Driver.h
+8-72 files

LLVM/project f7f4db9clang/include/clang/Basic OffloadArch.h, clang/include/clang/Driver BoundArch.h Job.h

Merge into OffloadArch header
DeltaFile
+0-49clang/include/clang/Driver/BoundArch.h
+31-1clang/include/clang/Basic/OffloadArch.h
+4-6clang/include/clang/Driver/Job.h
+1-1clang/include/clang/Driver/Compilation.h
+1-1clang/include/clang/Driver/Action.h
+1-1clang/include/clang/Driver/Driver.h
+38-593 files not shown
+41-629 files

LLVM/project 657499dclang/include/clang/Driver BoundArch.h Action.h, clang/lib/Driver Driver.cpp

clang/Driver: Use struct type for BoundArch instead of StringRef

Change BoundArch arguments in the clang driver from StringRef (or
sometimes const char*) to a dedicated struct type that contains both
the architecture string and a parsed OffloadArch enum field. In the
future it may be useful to contain other feature bits here.

Co-Authored-By: Claude Opus 4.6 <noreply at anthropic.com>
DeltaFile
+132-140clang/lib/Driver/Driver.cpp
+49-0clang/include/clang/Driver/BoundArch.h
+22-25clang/lib/Driver/ToolChains/Cuda.cpp
+23-23clang/include/clang/Driver/Action.h
+23-22clang/lib/Driver/ToolChains/AMDGPU.cpp
+18-24clang/lib/Driver/ToolChains/Darwin.cpp
+267-23484 files not shown
+573-59990 files

LLVM/project fd1c482llvm/test/CodeGen/RISCV clmul.ll, llvm/test/CodeGen/RISCV/rvv clmulh-sdnode.ll clmul-sdnode.ll

Merge branch 'main' into users/kparzysz/m02-locator-frontend
DeltaFile
+25,784-36,416llvm/test/CodeGen/RISCV/rvv/clmulh-sdnode.ll
+12,227-23,140llvm/test/CodeGen/RISCV/rvv/clmul-sdnode.ll
+12,991-3,310llvm/test/MC/AMDGPU/gfx13_asm_vop3_dpp16.s
+11,856-3,719llvm/test/MC/AMDGPU/gfx12_asm_vop3_dpp16.s
+4,004-11,142llvm/test/CodeGen/RISCV/clmul.ll
+3,502-9,174llvm/test/CodeGen/X86/clmul-vector.ll
+70,364-86,9011,997 files not shown
+132,546-159,5182,003 files

LLVM/project 8062e6dllvm/test/CodeGen/AMDGPU srem.ll amdgpu-codegenprepare-idiv.ll

[AMDGPU] Remove support for ADDC/ADDE/SUBC/SUBE DAG nodes (#205082)

Since #204694 we should be using UADDO/USUBO/UADDO_CARRY/USUBO_CARRY
instead.
DeltaFile
+551-551llvm/test/CodeGen/AMDGPU/srem.ll
+414-414llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
+258-258llvm/test/CodeGen/AMDGPU/bypass-div.ll
+254-253llvm/test/CodeGen/AMDGPU/srem64.ll
+204-204llvm/test/CodeGen/AMDGPU/carryout-selection.ll
+204-203llvm/test/CodeGen/AMDGPU/sdiv64.ll
+1,885-1,8839 files not shown
+2,186-2,28615 files

FreeBSD/src 1a8701elib/libusb libusb20.3 libusb20.c

libusb: Implement libusb20_tr_get_flags

Reviewed by:    adrian, bapt
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57543
DeltaFile
+11-0lib/libusb/libusb20.3
+6-0lib/libusb/libusb20.c
+1-0lib/libusb/Makefile
+1-0lib/libusb/libusb20.h
+19-04 files

LLVM/project 079683bmlir/include/mlir/Dialect/SCF/IR SCFOps.td

[mlir][scf] Tighten description of scf.for (#203713)

The previous description was vague in the case that the
one-past-the-last value for the induction variable is not representable
in the used integer type. Current passes implicitly exploit this by
implementing non-equivalent semantics (e.g. terminating vs
non-terminating loops).

We tighten the specification of `scf.for` by first stating the desired
ideal semantics, but deeming overflow undefined behavior. This fixes all
inconsistencies I am aware of.

Documentation only; no behavioral change.
DeltaFile
+20-12mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
+20-121 files

FreeBSD/src fc6d7a7sys/amd64/acpica acpi_wakeup.c, sys/dev/acpica acpi.c acpivar.h

acpi: Forbid requesting S4 when S4BIOS is not supported

Pending the OS-supported hibernate functionality, prevent requesting S4
when S4BIOS is not supported.

To this end, make sure that acpi_supported_stypes[] indicates that
POWER_STYPE_FW_HIBERNATE is not supported if 'acpi_s4bios_supported' is
false, even if S4 is supported by the platform (which is only
a power-down-like state, without any support to save the system image by
itself).  This will cause requests to enter S4, which are translated to
POWER_STYPE_FW_HIBERNATE before reaching
acpi_ReqSleepState()/acpi_EnterSleepState(), to fail in this case.

Retire the 'hw.acpi.s4bios' sysctl knob, as having it to 0 by default
(S4BIOS not supported) or setting it to 0 (default is 1 when S4BIOS is
supported) could only lead, on a S4 request, to a power down without any
possibility to restore the system (and, since a recent commit, it has
not been possible anymore to force it to 1 when S4BIOS is not announced
supported in the FACS table, which would cause a failure or a crash).

    [14 lines not shown]
DeltaFile
+8-26sys/dev/acpica/acpi.c
+0-8sys/dev/acpica/acpivar.h
+6-2sys/amd64/acpica/acpi_wakeup.c
+6-2sys/i386/acpica/acpi_wakeup.c
+20-384 files

OpenBSD/ports pM5fbxXmail/rspamd distinfo Makefile

   update to rspamd-4.1.1
VersionDeltaFile
1.88.2.2+2-2mail/rspamd/distinfo
1.160.2.2+1-1mail/rspamd/Makefile
+3-32 files

OpenBSD/ports VpG2Qz5mail/rspamd distinfo Makefile

   update to rspamd-4.1.1
VersionDeltaFile
1.90+2-2mail/rspamd/distinfo
1.162+1-1mail/rspamd/Makefile
+3-32 files

OpenBSD/ports FwrK4xedatabases/mariadb Makefile distinfo, databases/mariadb/patches patch-scripts_wsrep_sst_common_sh patch-client_CMakeLists_txt

   update to mariadb-client to 12.3.2 from the new LTS branch
   from Brad (maintainer)
VersionDeltaFile
1.74+887-53databases/mariadb/pkg/PLIST-tests
1.61+38-2databases/mariadb/pkg/PLIST-server
1.8+3-3databases/mariadb/patches/patch-scripts_wsrep_sst_common_sh
1.166+3-3databases/mariadb/Makefile
1.68+2-2databases/mariadb/distinfo
1.15+2-2databases/mariadb/patches/patch-client_CMakeLists_txt
+935-653 files not shown
+940-709 files

LLVM/project 685af3aclang-tools-extra/clangd/tool ClangdMain.cpp

[clangd] Log environment variables that influence compilation at startup (#204990)

When users face missing system include issues (especially on Windows), 
it's difficult to diagnose whether the problem is caused by missing
environment variables like `INCLUDE`, `CPATH`, etc.

This patch logs the values of environment variables that influence how the
compiler finds headers and libraries, at startup alongside the existing
version/PID/argv logs. Only variables that are actually set are printed.

  Variables logged:
- MSVC (set by vcvarsall.bat): `INCLUDE`, `LIB`, `LIBPATH`, `CL`, `_CL_`
- GCC/Clang: `CPATH`, `C_INCLUDE_PATH`, `CPLUS_INCLUDE_PATH`,
`OBJC_INCLUDE_PATH`, `LIBRARY_PATH`, `GCC_EXEC_PREFIX`

Fixes https://github.com/clangd/clangd/issues/2657
DeltaFile
+20-0clang-tools-extra/clangd/tool/ClangdMain.cpp
+20-01 files

FreeNAS/freenas 05ac3f3src/middlewared/middlewared/test/integration/assets two_factor_auth.py, src/middlewared/middlewared/utils/account authenticator.py

NAS-141441 / 27.0.0-BETA.1 / Fix missing 2FA account flag and re-enable STIG tests (#19151)

AccountFlag.TWOFACTOR was set in _get_user_obj() based on
self.twofactor_user, which only becomes true after the PAM OATH
conversation runs -- i.e. it was always false at that point. As a result
2FA web sessions never carried the '2FA' flag and validate_stig()
rejected every credential, blocking STIG enablement. This is why the
suite had been failing for months.

Set TWOFACTOR in authenticate_oath() on success instead, where the
second factor has actually been verified, mirroring how OTPW is
recorded. Drop the now-dead check from _get_user_obj().

Re-enable tests/stig test_01 and test_02 and restore the conftest server
setup. test_03 stays skipped.

(cherry picked from commit 1437d96a5f91b82640b483254fc357fde6a99237)
DeltaFile
+86-66tests/stig/test_01_stig.py
+25-12src/middlewared/middlewared/test/integration/assets/two_factor_auth.py
+18-1tests/api2/test_authenticator_assurance_level.py
+7-5src/middlewared/middlewared/utils/account/authenticator.py
+8-2tests/stig/test_03_stig_auditing.py
+2-5tests/stig/conftest.py
+146-913 files not shown
+153-959 files

OPNSense/core e5762desrc/opnsense/www/js/widgets/Metadata Core.xml

dashboard: sync endpoints for Kea leases widget
DeltaFile
+2-2src/opnsense/www/js/widgets/Metadata/Core.xml
+2-21 files