FreeBSD/src 00e8808lib/libc/locale localeconv.c

libc locale/localeconv.c: use release semantic when clearing locale_changed

PR:     296410

(cherry picked from commit 4efbcf36a0d49ab142023a767871532f515f1381)
DeltaFile
+2-2lib/libc/locale/localeconv.c
+2-21 files

LLVM/project a4d12bflldb/cmake/modules FindPythonAndSwig.cmake

[lldb][Windows] Enforce Python 3.11 (#209759)

https://github.com/llvm/llvm-project/pull/191159 recommended Python 3.11
or later. Now that llvm 23 has branched, we can enforce Python 3.11 as
the minimum requirement.
DeltaFile
+3-4lldb/cmake/modules/FindPythonAndSwig.cmake
+3-41 files

LLVM/project 2975daclldb/test/Shell lit.cfg.py, lldb/test/Shell/helper toolchain.py

[lldb] Drop support for using the external shell

The lit external shell is going to be removed soon, so drop support for
using it to run the LLDB tests.

Reviewers: DavidSpickett, JDevlieghere, petrhosek, ilovepi

Pull Request: https://github.com/llvm/llvm-project/pull/209627
DeltaFile
+1-10lldb/test/Shell/lit.cfg.py
+4-4lldb/test/Shell/helper/toolchain.py
+5-142 files

LLVM/project 2c978faflang/lib/Lower/Support Utils.cpp, flang/test/Integration/OpenMP private-global.f90

[flang][OpenMP] Avoid boxing constant-size trivial private arrays (#208315)

Part of #208086. `privatizeSymbol` (used for both OpenMP privatization
and `do concurrent` locals) currently boxes every array as a workaround
for `fir.array` not being directly `alloca`-able in the OpenMP→LLVMIR
translation. This PR carves out the common case: a constant-shape array
of trivial intrinsic elements (e.g. `real(8) :: xx(3)`) is now
privatized unboxed, as a plain `fir.array`.
DeltaFile
+48-0flang/test/Lower/OpenMP/private-array-boxing.f90
+16-28flang/test/Integration/OpenMP/private-global.f90
+19-9flang/lib/Lower/Support/Utils.cpp
+7-20flang/test/Lower/do_concurrent_local_assoc_entity.f90
+7-13flang/test/Lower/OpenMP/lastprivate-equivalence.f90
+4-13flang/test/Lower/OpenMP/delayed-privatization-array.f90
+101-836 files not shown
+125-11112 files

LLVM/project 4584a64lldb/source/Plugins/Process/Utility NativeRegisterContextDBReg_arm64.cpp

[lldb][AArch64][NFC] Make watchpoint adjustment more clear (#209483)

NativeRegisterContextDBReg_arm64::AdjustWatchpoint has a way of
adjusting the range of a watchpoint but it took me a while to figure out
how it worked. I've rewritten it in a way I think is easier to follow,
with more explanatory comments.

It turns out that this adjustment results in us only using a subset of
what the hardware allows.
* You don't have to select a continuous range of bytes (1, 2, 3). You
can select (1, 4) for example.
* The address can be 4 byte aligned, in which case only 4 bits of the
byte select apply (though you can set up an equivalent watch with 8 byte
alignment and a different 8 bit BAS value).
DeltaFile
+53-23lldb/source/Plugins/Process/Utility/NativeRegisterContextDBReg_arm64.cpp
+53-231 files

LLVM/project 1d269dcllvm/include/llvm/CodeGen Rematerializer.h, llvm/lib/CodeGen Rematerializer.cpp

Stray debug + inline closure
DeltaFile
+6-8llvm/lib/CodeGen/Rematerializer.cpp
+1-4llvm/include/llvm/CodeGen/Rematerializer.h
+7-122 files

LLVM/project 706db1emlir/include/mlir/Dialect/Tosa/IR TosaComplianceData.h.inc TosaOps.td, mlir/test/Dialect/Tosa tosa-validation-version-1p1-valid.mlir tosa-validation-version-1p0-invalid.mlir

[mlir][tosa] Add support for MXFP row_gather (#207933)

Adds profile compliance support for MXFP row_gather.
DeltaFile
+76-31mlir/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc
+18-0mlir/test/Dialect/Tosa/tosa-validation-version-1p1-valid.mlir
+13-4mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
+9-0mlir/test/Dialect/Tosa/tosa-validation-version-1p0-invalid.mlir
+8-0mlir/test/Dialect/Tosa/invalid_extension.mlir
+8-0mlir/test/Dialect/Tosa/ops.mlir
+132-351 files not shown
+133-367 files

LLVM/project 4b66bacclang/lib/AST ExprConstant.cpp, clang/lib/AST/ByteCode Compiler.cpp EvaluationResult.cpp

[clang][ExprConst] Support virtual bases in C++26 (#204289)

Add support for virtual bases in constant expressions (P3533R2) to both the current constant interpreter as well as the bytecode interpreter.
DeltaFile
+482-0clang/test/AST/ByteCode/virtual-bases.cpp
+236-73clang/lib/AST/ExprConstant.cpp
+119-41clang/lib/AST/ByteCode/Compiler.cpp
+59-33clang/lib/CodeGen/CGExprConstant.cpp
+46-20clang/lib/AST/ByteCode/EvaluationResult.cpp
+43-0clang/test/AST/ByteCode/virtual-bases-codegen.cpp
+985-16721 files not shown
+1,135-20727 files

LLVM/project 653c1dallvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 vector-interleaved-store-i8-stride-4.ll x86-interleaved-access.ll

[X86] combineINSERT_SUBVECTOR - enable shuffle combining of insertsub(extractsub(shuffle),extractsub(shuffle)) patterns (#209735)

Allows combineX86ShuffleChainWithExtract to more consistently fold
patterns from wider sources
DeltaFile
+32-64llvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-4.ll
+26-34llvm/test/CodeGen/X86/x86-interleaved-access.ll
+1-1llvm/lib/Target/X86/X86ISelLowering.cpp
+59-993 files

FreeNAS/freenas 65af511src/middlewared/middlewared/api/base model.py, src/middlewared/middlewared/api/base/handler accept.py

Change `model_dump` to have `by_alias=True` and `warnings=False` by default
DeltaFile
+39-2src/middlewared/middlewared/api/base/model.py
+5-5src/middlewared/middlewared/plugins/vm/lifecycle.py
+4-4src/middlewared/middlewared/plugins/container/container_device_crud.py
+4-4src/middlewared/middlewared/plugins/apps/crud.py
+4-4src/middlewared/middlewared/plugins/vm/vm_device_crud.py
+1-6src/middlewared/middlewared/api/base/handler/accept.py
+57-2546 files not shown
+124-9652 files

FreeNAS/freenas b2f0dc8src/middlewared/middlewared/plugins cloud_sync.py, src/middlewared/middlewared/plugins/cloud_credentials __init__.py crud.py

NAS-141770 / 27.0.0-BETA.1 / Cloud credentials type-safe conversion (#19297)
DeltaFile
+8-155src/middlewared/middlewared/plugins/cloud_sync.py
+94-0src/middlewared/middlewared/plugins/cloud_credentials/__init__.py
+76-0src/middlewared/middlewared/plugins/cloud_credentials/crud.py
+35-0src/middlewared/middlewared/pytest/unit/api/base/test_decorator.py
+35-0src/middlewared/middlewared/plugins/cloud_credentials/verify.py
+15-11src/middlewared/middlewared/plugins/keychain/used_by.py
+263-16610 files not shown
+313-19016 files

LLVM/project 4079a98bolt/test/X86 dwarf-inline-range-plt-shift.s, llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

Rebase

Created using spr 1.3.7
DeltaFile
+732-732llvm/test/MC/RISCV/corev/XCVsimd-invalid.s
+1,437-0llvm/test/Instrumentation/MemorySanitizer/X86/avx512dq-intrinsics.ll
+590-590llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-6.ll
+824-17llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+614-0bolt/test/X86/dwarf-inline-range-plt-shift.s
+578-0llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit-postinc.ll
+4,775-1,3391,546 files not shown
+21,048-8,4991,552 files

LLVM/project 0350a23orc-rt/include/orc-rt-c WrapperFunction.h, orc-rt/test/unit WrapperFunctionBufferTest.cpp

[orc-rt] Fix WrapperFunctionBuffer empty range construction (#209751)

orc_rt_CreateWrapperFunctionBufferFromRange(const char *, size_t) left
the constructed buffer's data member uninitialized when the size
argument was zero. This could result in the returned buffer having a
non-null data field and a zero size field, which is a (malformed)
out-of-band error value, not an empty buffer.

Update orc_rt_CreateWrapperFunctionBufferFromRange to zero-initialize
the data field so that the size == 0 case yields a correctly formed
empty buffer.
DeltaFile
+6-0orc-rt/test/unit/WrapperFunctionBufferTest.cpp
+3-1orc-rt/include/orc-rt-c/WrapperFunction.h
+9-12 files

LLVM/project 42605e7mlir/lib/Dialect/MemRef/Transforms ElideReinterpretCast.cpp, mlir/test/Dialect/MemRef elide-reinterpret-cast.mlir

[mlir][memref] Support truncating copied dims to non-unit in reinterpret_cast elision (#209536)

Relax the `memref.copy`through `memref.reinterpret_cast` rewrite to
support same-dimension slices where strictly one non-unit source
dimension size is truncated to a smaller non-unit result dimension.

Previously, the rewrite only supported truncating to unit size:
```mlir
memref<1xMxNxf32>
  to memref<1xMx1xf32, strided<[M*N, N, 1], offset: OFF>>
```

This change relaxes constraints to also support:
```mlir
memref<1xMxNxf32>
  to memref<1xMxKxf32, strided<[M*N, N, 1], offset: OFF>>
```
where `K < N`.


    [7 lines not shown]
DeltaFile
+123-10mlir/test/Dialect/MemRef/elide-reinterpret-cast.mlir
+32-30mlir/lib/Dialect/MemRef/Transforms/ElideReinterpretCast.cpp
+155-402 files

LLVM/project 2746fc6llvm/test/CodeGen/AMDGPU/GlobalISel legalize-fceil.mir legalize-intrinsic-trunc.mir

AMDGPU: Migrate GlobalISel CodeGen tests to amdgpu subarch triple (43) (#209733)

Mechanically migrate the command-line target spelling on llc/opt RUN
lines in llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the
folded subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+6-6llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fceil.mir
+6-6llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-trunc.mir
+6-6llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcmp.mir
+6-6llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.store.2d.d16.ll
+6-6llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.s32.mir
+6-6llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
+36-3694 files not shown
+291-291100 files

LLVM/project 567c6a7llvm/test/CodeGen/AMDGPU/GlobalISel inst-select-store-global.mir lds-misaligned-bug.ll

AMDGPU: Migrate GlobalISel CodeGen tests to amdgpu subarch triple (42) (#209732)

Mechanically migrate the command-line target spelling on llc/opt RUN
lines in llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the
folded subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+8-8llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-global.mir
+8-8llvm/test/CodeGen/AMDGPU/GlobalISel/lds-misaligned-bug.ll
+7-7llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ptr-add.mir
+7-7llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-global.s96.mir
+6-6llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-flat.mir
+6-6llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-lshr.mir
+42-4294 files not shown
+281-281100 files

LLVM/project 9744b47clang/lib/CIR/CodeGen CIRGenBuiltinAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn.hip builtins-amdgcn-gfx1250.hip

[CIR][AMDGPU] Add support for AMDGCN rsq and rsq_clamp builtins (#197349)

Adds codegen for the following AMDGCN reciprocal square root builtins:

- __builtin_amdgcn_rsq (double)
- __builtin_amdgcn_rsqf (float)
- __builtin_amdgcn_rsqh (half)
- __builtin_amdgcn_rsq_bf16 (bfloat16)
- __builtin_amdgcn_rsq_clamp (double)
- __builtin_amdgcn_rsq_clampf (float)

These are lowered to the corresponding `llvm.amdgcn.rsq` and
`llvm.amdgcn.rsq.clamp` intrinsic calls.
DeltaFile
+32-0clang/test/CIR/CodeGenHIP/builtins-amdgcn.hip
+10-2clang/test/CIR/CodeGenHIP/builtins-amdgcn-gfx1250.hip
+3-8clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+8-0clang/test/CIR/CodeGenHIP/builtins-amdgcn-vi-f16.hip
+53-104 files

FreeNAS/freenas 02f0e49src/middlewared/middlewared/plugins/keychain used_by.py

`ruff`
DeltaFile
+1-1src/middlewared/middlewared/plugins/keychain/used_by.py
+1-11 files

FreeNAS/freenas 103e0ffsrc/middlewared/middlewared/plugins replication.py boot.py, src/middlewared/middlewared/plugins/replication crud.py __init__.py

Merge branch 'master' into cloud_credentials-mypy
DeltaFile
+0-835src/middlewared/middlewared/plugins/replication.py
+650-0src/middlewared/middlewared/plugins/replication/crud.py
+0-372src/middlewared/middlewared/plugins/boot.py
+246-0src/middlewared/middlewared/plugins/replication/__init__.py
+196-0src/middlewared/middlewared/pytest/unit/plugins/pool/test_validate_topology.py
+193-0src/middlewared/middlewared/plugins/replication/methods.py
+1,285-1,20783 files not shown
+2,596-1,63389 files

LLVM/project 52eb051clang/test/Driver openmp-invalid-target-id.c

clang: Add OpenMP driver test for invalid target IDs (#209740)

Submit test that already exists in the rocm fork. This stresses
the error cases when using the legacy OpenMP -march target specifier,
which appears to be missing upstream.
DeltaFile
+129-0clang/test/Driver/openmp-invalid-target-id.c
+129-01 files

LLVM/project 437a679clang/docs ClangOffloadBundler.rst, clang/include/clang/Driver OffloadBundler.h

clang-offload-bundler: Remove conflicting-target-ID diagnostic

This was checking that you did not try to combine arches with
any mode vs. a specific mode (e.g, gfx90a and gfx90a:xnack+). I
don't see any point in this diagnostic. All the modes have a natural
interpretation as distinct targets with a selection preference. It's
more defensible to have this rule in the user facing clang driver,
but not the low level binary utilities. This reduces the surface area
of some special case target ID parsing.

Co-authored-by: Claude (Opus 4.8)
DeltaFile
+0-78clang/lib/Driver/OffloadBundler.cpp
+3-40clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
+15-6clang/test/OffloadTools/clang-offload-bundler/basic.c
+0-6clang/docs/ClangOffloadBundler.rst
+0-1clang/include/clang/Driver/OffloadBundler.h
+18-1315 files

LLVM/project cceae35llvm/test/CodeGen/AMDGPU/GlobalISel inst-select-load-global.mir inst-select-load-global-old-legalization.mir

AMDGPU: Migrate GlobalISel CodeGen tests to amdgpu subarch triple (41) (#209731)

Mechanically migrate the command-line target spelling on llc/opt RUN
lines in llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the
folded subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+8-8llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.mir
+8-8llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global-old-legalization.mir
+8-8llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-atomic-cmpxchg-global.mir
+7-7llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.s96.mir
+7-7llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-atomicrmw-add-global.mir
+7-7llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-atomic-global.mir
+45-4594 files not shown
+349-349100 files

LLVM/project f482000clang/test/Driver/print-enabled-extensions aarch64-cortex-a320.c, llvm/lib/Target/AArch64 AArch64Processors.td AArch64Features.td

[AArch64] Remove HCX feature flag from backend (#209477)

This patch removes +hcx option from the llvm and removes guarding of
HCRX_EL2 system register on it.
DeltaFile
+4-6llvm/lib/Target/AArch64/AArch64Processors.td
+1-6llvm/test/MC/AArch64/armv8.7a-hcx.s
+1-5llvm/test/MC/Disassembler/AArch64/armv8.7a-hcx.txt
+1-4llvm/lib/Target/AArch64/AArch64Features.td
+1-3llvm/lib/Target/AArch64/AArch64SystemOperands.td
+0-2clang/test/Driver/print-enabled-extensions/aarch64-cortex-a320.c
+8-2632 files not shown
+8-5838 files

LLVM/project 1980283llvm/test/CodeGen/AMDGPU/GlobalISel fdiv.f32.ll flat-scratch.ll

AMDGPU: Migrate GlobalISel CodeGen tests to amdgpu subarch triple (40) (#209730)

Mechanically migrate the command-line target spelling on llc/opt RUN
lines in llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the
folded subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude-Opus-4.8)
DeltaFile
+12-12llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f32.ll
+10-10llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
+10-10llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f16.ll
+10-10llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f64.ll
+8-8llvm/test/CodeGen/AMDGPU/GlobalISel/fma.ll
+7-7llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.class.s16.mir
+57-5794 files not shown
+296-296100 files

LLVM/project 161e7fdllvm/docs AMDGPUUsage.rst

Update docs
DeltaFile
+20-13llvm/docs/AMDGPUUsage.rst
+20-131 files

LLVM/project 12f5f33llvm/lib/Target/AMDGPU SIISelLowering.cpp AMDGPULegalizerInfo.cpp, llvm/test/CodeGen/AMDGPU addrspacecast-barrier.ll s-barrier-signal-var-gep.ll

[RFC][AMDGPU] Add BARRIER address space

Add a new BARRIER address space that is used for global variables that are used to represent the barrier IDs in GFX12.5.

These barrier addresses just have values corresponding 1-1 to barrier IDs. They are still implemented on top of LDS, but the offsetting happens during an addrspacecast to generic, not whenever the barrier GV is used.

The motivation for this is to make the relation between LDS and barrier GVs explicit in the compiler. It does add a bit more complexity, but that complexity was already there, just hidden by pretending barrier GVs were actual LDS.
DeltaFile
+474-0llvm/test/CodeGen/AMDGPU/addrspacecast-barrier.ll
+81-74llvm/test/CodeGen/AMDGPU/s-barrier-signal-var-gep.ll
+72-61llvm/test/CodeGen/AMDGPU/s-barrier.ll
+59-43llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+52-14llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+32-32llvm/test/CodeGen/AMDGPU/amdgpu-lower-exec-sync.ll
+770-22448 files not shown
+1,234-57454 files

LLVM/project 2c1998dllvm/lib/Target/AMDGPU SIDefines.h AMDGPUMemoryUtils.cpp, llvm/test/CodeGen/AMDGPU addrspacecast-barrier.ll

Comments
DeltaFile
+4-3llvm/lib/Target/AMDGPU/SIDefines.h
+1-3llvm/test/CodeGen/AMDGPU/addrspacecast-barrier.ll
+1-1llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+1-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+1-1llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+1-1llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.h
+9-106 files

LLVM/project b8eba57llvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPULegalizerInfo.cpp SIISelLowering.cpp

[AMDGPU] Add synthetic apertures and use them for barriers

Define what a synthetic aperture is, and adjust the barrier AS
to use this new system. This makes the barrier AS even safer to
use as now we can use all 32 bits of it without ever risking
hitting a valid address of any kind (LDS or outside LDS).
DeltaFile
+72-87llvm/test/CodeGen/AMDGPU/addrspacecast-barrier.ll
+44-5llvm/docs/AMDGPUUsage.rst
+21-23llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+18-17llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+12-0llvm/lib/Target/AMDGPU/SIDefines.h
+9-0llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
+176-1324 files not shown
+186-13710 files

LLVM/project e13698dclang/lib/AST Type.cpp, clang/lib/Sema SemaAMDGPU.cpp

[clang][AMDGPU] Clean-up handling of named barrier type

- Allow the type in struct/classes in very limited circumstances. The goal is to enable creating trivial wrappers around the named barrier variable, but ensure we can't get into situations where things would get awkward. Currently this means we only allow the named barrier in RecordDecls with exactly 1 field, that have no base class, and are not inherited.
- Use a `amdgpu_barrier` LangAS for this type that currently maps to the local AS. This allows easy switching to the barrier AS in a future patch.
DeltaFile
+85-0clang/lib/Sema/SemaAMDGPU.cpp
+72-0clang/test/SemaHIP/amdgpu-barrier.hip
+71-0clang/test/SemaCXX/amdgpu-barrier.cpp
+28-16clang/test/CodeGenHIP/amdgpu-barrier-type.hip
+26-1clang/lib/AST/Type.cpp
+24-0clang/test/SemaOpenCL/amdgpu-barrier.cl
+306-1722 files not shown
+377-3528 files

LLVM/project e41f5aallvm/runtimes CMakeLists.txt

[runtimes] Add explicit offload arch tool dependencies (#206076)

Needed for the offload unittests which detect the target arch at
configure time if not forced by OFFLOAD_TESTS_FORCE_AMDGPU_ARCH. Bug had
been masked by the dependency on flang, which we recently removed in
https://github.com/llvm/llvm-project/pull/198205.

Claude assisted with this patch.
DeltaFile
+7-0llvm/runtimes/CMakeLists.txt
+7-01 files