LLVM/project 2517f56 — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/CodeGen/X86 fp80-math-no-libcall-error.ll fp128-libcalls-longdouble.ll

RuntimeLibcalls: Allow fp128 sincosl on x86_64-linux-android (#242486)

On x86_64-linux-android, long double is fp128 rather than x87 fp80 as
on GNU targets, so sincosl provides SINCOS_F128 rather than SINCOS_F80.
Remove the x86 LibraryExclusion and x87-only guard for sincosl to fix
`error: no libcall available for fsincos`.

Link:
https://android.googlesource.com/platform/bionic/+/refs/heads/main/libm/upstream-freebsd/lib/msun/src/s_sincosl.c#47
Assisted-by: Gemini
DeltaFile
+22-0llvm/test/CodeGen/X86/fp128-libcalls-longdouble.ll
+1-6llvm/include/llvm/IR/RuntimeLibcalls.td
+7-0llvm/test/CodeGen/X86/fp80-math-no-libcall-error.ll
+30-63 files

LLVM/project 078483f — flang/lib/Optimizer/OpenACC/Support FIROpenACCUtils.cpp, flang/test/Transforms/OpenACC acc-implicit-data-common-block.fir

[flang][openacc] Look through converts when detecting common block storage uses (#243580)

A common block is not implicitly mapped as a whole when it is used in a
compute region only as the `storage` operand of the `fir.declare` of its
members. That check only matched a bare `fir.address_of` of the global.

Look through `fir.convert` before matching `fir.address_of`.
DeltaFile
+36-0flang/test/Transforms/OpenACC/acc-implicit-data-common-block.fir
+4-1flang/lib/Optimizer/OpenACC/Support/FIROpenACCUtils.cpp
+40-12 files

LLVM/project 45b0515 — llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU fmax3.ll fmin3.ll

[AMDGPU] Do not form min3/max3 from legacy min/max (#242538)

minMaxOpcToMin3Max3Opc has no mapping for FMIN_LEGACY and FMAX_LEGACY,
so a select-form min or max chain hit unreachable on gfx6 and gfx7.
DeltaFile
+174-0llvm/test/CodeGen/AMDGPU/fmin3.ll
+79-0llvm/test/CodeGen/AMDGPU/fmax3.ll
+0-2llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+253-23 files

LLVM/project 71ebedb — offload/ci openmp-offload-amdgpu-clang-flang.py

[Offload][Buildbot] Remove SDMA option from clang/flang buildbot config (#243605)

Removing the option to enable SDMA by default for the tests in the
buildbot.
DeltaFile
+2-6offload/ci/openmp-offload-amdgpu-clang-flang.py
+2-61 files

LLVM/project 5b75ba1 — llvm/lib/Transforms/Utils LoopUtils.cpp, llvm/test/Transforms/LoopVectorize runtime-checks-hoist.ll

[LoopUtils] Only expand RT check bounds for affine outer recurrences. (#243571)

When expanding the bounds to cover the outer loop, the outer step is
only checked to be non-negative once. This is not sufficient if the step
varies across outer iterations, i.e. the recurrences are not affine.
DeltaFile
+12-19llvm/test/Transforms/LoopVectorize/runtime-checks-hoist.ll
+1-1llvm/lib/Transforms/Utils/LoopUtils.cpp
+13-202 files

LLVM/project 617d3a6 — llvm/lib/CodeGen AtomicExpandPass.cpp, llvm/lib/Target/X86 X86ISelLowering.h X86ISelLowering.cpp

Reapply "X86: Use the DataLayout size in the atomic expansion hooks (#243118)"

This reverts commit 970a9c95cf21e946f2de12d7e781e17d2d7b0f5b.

The original version removed the MemType local from
shouldExpandAtomicRMWInIR, which conflicted with the vector atomicrmw
expansion added in #230788. Use the DataLayout size in the vector case
too.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+116-8llvm/test/CodeGen/X86/atomic-load-store.ll
+76-2llvm/test/Transforms/AtomicExpand/X86/expand-atomic-non-integer.ll
+18-21llvm/lib/Target/X86/X86ISelLowering.cpp
+2-2llvm/lib/CodeGen/AtomicExpandPass.cpp
+1-1llvm/lib/Target/X86/X86ISelLowering.h
+213-345 files

LLVM/project 164fbbe — llvm/lib/Analysis TypeBasedAliasAnalysis.cpp MetadataUtils.cpp, llvm/lib/Transforms/Scalar SROA.cpp

additional fixes
DeltaFile
+72-0llvm/unittests/Analysis/MetadataUtilsTest.cpp
+60-0llvm/test/Transforms/InstCombine/memory-metadata.ll
+35-12llvm/lib/Analysis/MetadataUtils.cpp
+43-4llvm/test/Transforms/VectorCombine/memory-metadata.ll
+11-5llvm/lib/Transforms/Scalar/SROA.cpp
+3-2llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
+224-231 files not shown
+227-237 files

LLVM/project dbb375e — libc/test/src/wchar swprintf_test.cpp, llvm/test/CodeGen/X86 clmul-vector.ll

Merge remote-tracking branch 'origin/main' into users/mrsidims/fix-slp-gather-vectorized-lane-cost-nfc
DeltaFile
+2,239-2,237llvm/test/tools/llvm-mca/AArch64/Cortex/A53-neon-instructions.s
+3,137-5libc/test/src/wchar/swprintf_test.cpp
+1,538-1,476llvm/test/CodeGen/X86/clmul-vector.ll
+1,495-1,493llvm/test/tools/llvm-mca/AArch64/Cortex/A53-basic-instructions.s
+2,496-0offload/libomptarget/src/omptarget.cpp
+0-2,494offload/libomptarget/omptarget.cpp
+10,905-7,7052,413 files not shown
+97,954-48,3652,419 files

LLVM/project 749a886 — llvm/include/llvm/IR Attributes.h, llvm/lib/IR AttributeImpl.h Attributes.cpp

IR: Make AttributeList::hasAttributeAtIndex and hasAttrSomewhere inline

Check the attributes available at any index through AttributeListImplBase.

CTMark instructions:u: O3 -0.22%, ThinLTO -0.29%.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+8-32llvm/lib/IR/Attributes.cpp
+23-6llvm/include/llvm/IR/Attributes.h
+0-6llvm/lib/IR/AttributeImpl.h
+31-443 files

LLVM/project 87e83f4 — llvm/lib/IR Attributes.cpp

Remove stale comment on the AttributeListImpl constructor
DeltaFile
+0-2llvm/lib/IR/Attributes.cpp
+0-21 files

LLVM/project 48bb93f — llvm/include/llvm/IR Attributes.h, llvm/lib/IR Attributes.cpp AttributeImpl.h

IR: Don't store the attribute set array pointer in AttributeListImplBase

Compute the address of the trailing attribute sets from the base instead
of loading a stored pointer, saving a dependent load on every
AttributeList query. Move AvailableSomewhereAttrs into the base so the
attribute sets directly follow it.

CTMark instructions:u, geomean:
  clang-23 built:            O3 -0.00%, ThinLTO -0.02%
  ThinLTO trunk clang built: O3 -0.01%

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+7-5llvm/lib/IR/AttributeImpl.h
+7-4llvm/include/llvm/IR/Attributes.h
+2-1llvm/lib/IR/Attributes.cpp
+16-103 files

LLVM/project 283d161 — llvm/include/llvm/IR Function.h Attributes.h, llvm/lib/IR AttributeImpl.h Function.cpp

IR: Make AttributeList::getAttributes inline

Store the attribute sets and their count in AttributeListImplBase.

CTMark instructions:u: O3 -0.16%, ThinLTO -0.14%.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+5-30llvm/lib/IR/Attributes.cpp
+26-7llvm/include/llvm/IR/Attributes.h
+0-4llvm/lib/IR/Function.cpp
+3-1llvm/include/llvm/IR/Function.h
+0-1llvm/lib/IR/AttributeImpl.h
+34-435 files

LLVM/project 25f0d6a — llvm/test/Transforms/SimplifyCFG rangereduce.ll, llvm/test/Transforms/SimplifyCFG/NVPTX switch-to-lookup-table-addrspace.ll

Revert "[SimplifyCFG] Enable IRBuilder GEP canonicalization (#241916)"

This reverts commit 7e3f035efab180092ab039720e48c93dda6b9370.
DeltaFile
+19-19llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
+7-7llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table_big.ll
+6-6llvm/test/Transforms/SimplifyCFG/NVPTX/switch-to-lookup-table-addrspace.ll
+5-5llvm/test/Transforms/SimplifyCFG/rangereduce.ll
+4-4llvm/test/Transforms/SimplifyCFG/RISCV/switch_to_lookup_table-rv64.ll
+4-4llvm/test/Transforms/SimplifyCFG/RISCV/switch_to_lookup_table-rv32.ll
+45-4517 files not shown
+67-6623 files

LLVM/project 27e9755 — llvm/lib/Transforms/IPO Attributor.cpp

Return early for indirect calls in getAssociatedArgument
DeltaFile
+4-2llvm/lib/Transforms/IPO/Attributor.cpp
+4-21 files

LLVM/project d1b69c7 — offload/test lit.cfg

[NFC][Offload] Refactor lit env var reading (#243601)

Organize the env vars a bit differently to make it look less cluttered.
DeltaFile
+11-7offload/test/lit.cfg
+11-71 files

LLVM/project 4acd700 — offload/test/offloading memory_manager.cpp

[offload][lit] Disable offloading/memory_manager.cpp on Intel GPU (#243599)

It started sporadically failing. I added this test to
https://github.com/llvm/llvm-project/issues/182897

Hopefully @adurang can investigate to see if some recent change broke
it.

https://lab.llvm.org/buildbot/#/builders/225/builds/26235

https://lab.llvm.org/buildbot/#/builders/225/builds/26220

Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>
DeltaFile
+2-0offload/test/offloading/memory_manager.cpp
+2-01 files

LLVM/project 7098cb8 — lldb/source/Plugins/Process/wasm ProcessWasm.h ProcessWasm.cpp, lldb/test/API/functionalities/gdb_remote_client TestWasm.py

[lldb] Let ProcessWasm order the call frame addresses of Wasm frames (#243535)

UnwindWasm now counts frames up from the outermost one, in the invalid
Wasm
address space, which has no memory, and ProcessWasm::CompareCFAs orders
them, so
a synthetic address can neither decrease below zero nor fall inside
linear
memory.

Stack:
- #243487
- #243488
- #243535
DeltaFile
+6-11lldb/source/Plugins/Process/wasm/UnwindWasm.cpp
+12-0lldb/source/Plugins/Process/wasm/ProcessWasm.cpp
+2-2lldb/test/API/functionalities/gdb_remote_client/TestWasm.py
+2-0lldb/source/Plugins/Process/wasm/ProcessWasm.h
+22-134 files

LLVM/project d3a8042 — clang/lib/Format ContinuationIndenter.cpp, clang/unittests/Format FormatTest.cpp

[clang-format] Fix unformatted nested designated initializers (#240605)

The value of a designated initializer, such as `.a = {` or `.a = T{`,
was treated as a nested block inlined into its parent, like a JavaScript
closure passed as a function argument. A break after its `{` then set
NoLineBreak on every enclosing scope. The enclosing braced list still
needed breaks before its remaining elements and its closing brace, so no
state was left and the line was kept as written.

LLVM style got around this by breaking after the `=`, which is why it
puts the `{` on its own line below `.a =`. With
BreakBeforeBinaryOperators: All (used by WebKit), a break after `=` is
not allowed, so nothing was formatted.

Don't treat the value of a designated initializer as an inlined block.
Each designated initializer already goes on its own line.

Fixes #201736
Fixes #237142
DeltaFile
+40-0clang/unittests/Format/FormatTest.cpp
+28-0clang/lib/Format/ContinuationIndenter.cpp
+68-02 files

LLVM/project 8343b84 — clang/test/CodeGen basic-block-sections-sample-profile-supplement.cpp, llvm/include/llvm/CodeGen BasicBlockMatchingAndInference.h

[clang:codegen][Propeller] Supplement missing block weights using an AFDO profile (#236242)

When generating basic block sections with Propeller CFG profiles, blocks
that are cold in a non-representative load test can be split into cold
sections even though they are warm in production. Add
`-sample-profile-supplement` and
`-sample-profile-supplement-remapping-file` to supplement the Propeller
profile with a representative sample profile, ideally collected in
production.

`BasicBlockMatchingAndInference` reads the sample profile for each
module and looks up block weights itself rather than calling
SampleProfileLoader. Only line-based, non-context-sensitive sample
profiles are currently supported, and a profile must be flow-sensitive
exactly when `-enable-fs-discriminator` is set; unsupported or
mismatched profiles are ignored with a warning.

For each function, only blocks with zero Propeller samples are
supplemented so blocks covered by Propeller keep their Propeller

    [22 lines not shown]
DeltaFile
+181-0llvm/lib/CodeGen/BasicBlockMatchingAndInference.cpp
+129-0llvm/test/CodeGen/X86/basic-block-sections-sample-profile-supplement.ll
+80-0clang/test/CodeGen/basic-block-sections-sample-profile-supplement.cpp
+15-0llvm/include/llvm/CodeGen/BasicBlockMatchingAndInference.h
+7-0llvm/lib/CodeGen/CodeGenOptions.td
+412-05 files

LLVM/project 2081d55 — llvm/include/llvm/DWARFLinker RelocationFixups.h, llvm/lib/DWARFLinker RelocationFixups.cpp

 [dsymutil] Fix the DWARF 5 relocation maps of the classic linker (#239037)

The dSYM of a mergeable library holds a relocation map, which lets
dsymutil carry the debug info of the library into the binaries that
merge it. That map came out empty, so the debug info of a merged library
was dropped:

- The parallel DWARF linker, did not save the relocations (as opposed to
the classic) for DWARF 4, and DWARF 5.
- The classic DWARF linker looked up the .debug_addr relocations of
DWARF 5 with .debug_info offsets, and dropped those it had saved,
without using them.

Both linkers now save the relocations of .debug_info and .debug_addr,
once per unit.
The parallel linker, which unloads each input before it places the
units, saves them relative to the units, and reports where
the units landed through DWARFFile::UnitOffsetsFunc. dsymutil warns when
the relocations of an object file were all lost.

    [8 lines not shown]
DeltaFile
+193-0llvm/test/tools/dsymutil/AArch64/mergeable-libs-relocation-map.test
+141-0llvm/include/llvm/DWARFLinker/RelocationFixups.h
+80-41llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
+61-45llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
+92-0llvm/lib/DWARFLinker/RelocationFixups.cpp
+86-0llvm/test/tools/dsymutil/AArch64/mergeable-libs-expressions.test
+653-8640 files not shown
+873-15246 files

LLVM/project 8636031 — llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV inline-asm-invalid.ll inline-asm-rv32-zdinx-constraint-R.ll

[RISCV] Disable R constraint for f64 in inline asm when Zdinx is not enabled. (#243588)

Matches the r constraint.

Fixes #243541

Assisted-by: Claude (for the tests)
DeltaFile
+25-0llvm/test/CodeGen/RISCV/inline-asm-rv32-zdinx-constraint-R.ll
+12-0llvm/test/CodeGen/RISCV/inline-asm-invalid.ll
+4-2llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+41-23 files

LLVM/project 46a5f20 — llvm/test/Transforms/SLPVectorizer/X86 or-like-select-chain.ll

[SLP][NFC]Add extra test for or-like-select chains, NFC

Pull-request: https://github.com/llvm/llvm-project/pull/243598
DeltaFile
+59-0llvm/test/Transforms/SLPVectorizer/X86/or-like-select-chain.ll
+59-01 files

LLVM/project 1b6582c — clang/lib/CIR/CodeGen CIRGenClass.cpp CIRGenItaniumCXXABI.cpp

[CIR][NFC] Remove a pair of RelativeVTable checks that are not needed (#243511)

The following 2 checks are not currently reachable. The Itanium CXXABI
fix is now going to be handled during lowering, and the CIRGenClass
issue is hidden by other diagnostics.

This cleans the two up.
DeltaFile
+12-17clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
+3-6clang/lib/CIR/CodeGen/CIRGenClass.cpp
+15-232 files

LLVM/project c82a3ba — clang/lib/AST OpenMPLockSequence.cpp, clang/lib/Sema SemaOpenMP.cpp

[Clang][OpenMP] Serialize lockstep warp lanes across omp_set_lock regions

Where the threads of a wavefront/warp run in lockstep (as for many typical
GPUs), multiple lanes reaching an omp_set_lock call may deadlock (or trap,
on AMDGPU) if they contend for a lock.  This is actually permitted by
the spec (OpenMP 6.0, 1.2 Execution Model: "A program that relies on
concurrent execution of such diverging code paths for the purposes of
synchronization may deadlock.").

However, in some common cases we can do better.  This patch allows
set/unset pairs to work as long as their lock expressions are the
same, they are in the same compound statement, and no intervening code
has control-flow that enters or leaves the sequence or various other
constructs.  I.e.:

  omp_set_lock(L); ... omp_unset_lock(L);

is emitted through the lane serialization that OpenMPIRBuilder provides
for critical regions, so that each lane takes and releases the lock

    [13 lines not shown]
DeltaFile
+337-0clang/test/OpenMP/amdgcn_lock_lane_serialization.c
+233-0clang/test/OpenMP/target_lock_lane_warning.cpp
+177-0clang/lib/AST/OpenMPLockSequence.cpp
+165-0clang/lib/Sema/SemaOpenMP.cpp
+158-0clang/test/OpenMP/amdgcn_lock_lane_serialization.cpp
+115-0offload/test/offloading/target_lock_lanes.c
+1,185-012 files not shown
+1,384-318 files

LLVM/project 11b83b9 — clang/docs ReleaseNotes.md, offload/test/api omp_lock_wave_contention.c omp_lock.c

[OpenMP][AMDGPU] Implement the device lock routines

This patch adds implementations of omp_init_lock, omp_set_lock,
omp_unset_lock and omp_destroy_lock for AMDGPU.

A spin lock has a problem on targets that group execution threads into
wavefronts or warps: the lanes of a wavefront share one instruction
stream.  When several active lanes spin for the same lock, the one that
takes it is predicated off until all the others have left the loop, so
it never reaches the omp_unset_lock that would let those others proceed.
OpenMP 6.0 permits this (threads in one progress unit that synchronize
while divergent may deadlock), but a hung kernel is hard to diagnose, so
omp_set_lock checks whether another active lane of its wavefront wants
the same lock, says so, and traps.  The check cannot see lanes of one
wavefront that reach omp_set_lock for the same lock on divergent paths,
one after the other; those still hang.

The message goes to stderr through the GPU libc when it is available,
by way of a new ompx::reportError: this allows errors to be emitted more

    [5 lines not shown]
DeltaFile
+69-0offload/test/api/omp_lock.c
+35-6openmp/device/src/Synchronization.cpp
+40-0offload/test/api/omp_lock_wave_contention.c
+18-0openmp/device/src/LibC.cpp
+7-0clang/docs/ReleaseNotes.md
+4-0openmp/device/include/LibC.h
+173-61 files not shown
+173-97 files

LLVM/project 88c378c — llvm/lib/Support KnownFPClass.cpp, llvm/test/CodeGen/AArch64/GlobalISel knownfpclass-ops.mir

[KnownFPClass] Rule out zero and subnormal in more cases for fadd/fsub (#242911)

Part of https://github.com/llvm/llvm-project/issues/242935

Refines deductions around zero/subnormal for `fadd`/`fsub`:
- zero: `x + y` is only zero if `x` and `y` are both zeros or if `x ==
-y` (cancellation).
- subnormal: Only `psub + (zero | sub)` and `pnorm + (nsub | nnorm)` may
produce `psub`.
- normal: only `pnorm + finite` and `psub + psub` may produce `pnorm`.

Follow-up to https://github.com/llvm/llvm-project/pull/239064
DeltaFile
+188-24llvm/test/Transforms/Attributor/nofpclass-fadd-fsub.ll
+30-30llvm/test/Transforms/Attributor/nofpclass-constrained-fadd-fsub.ll
+43-16llvm/lib/Support/KnownFPClass.cpp
+2-2llvm/test/CodeGen/AArch64/GlobalISel/knownfpclass-ops.mir
+263-724 files

LLVM/project abb5bdf — clang/test/CIR/CodeGen fixed-point-conversions.cpp, clang/test/Frontend fixed_point_conversions.c

[IR][Clang] Guard full-width shift in FixedPointBuilder (#239969)

Casting unsigned _Fract to an integer shifts by its full width, since
scale == width.

Fixes https://github.com/llvm/llvm-project/issues/221207
DeltaFile
+54-0clang/test/Frontend/fixed_point_conversions.c
+10-8clang/test/CIR/CodeGen/fixed-point-conversions.cpp
+8-3llvm/include/llvm/IR/FixedPointBuilder.h
+72-113 files

LLVM/project 50db763 — lldb/include/lldb/Target Target.h, lldb/source/Commands CommandObjectTarget.cpp Options.td

[lldb] Don't run stop hooks at the initial stop by default (#242939)

When LLDB first gains control of a process, it runs every stop hook that
wasn't added with `--at-initial-stop false`: when an attach completes,
when a core file has loaded, and at a launch's entry stop. That entry
stop comes before the dynamic loader has loaded the process's libraries,
and unless the launch asked to stop at entry, LLDB resumes the process
right after it, so nobody sees it stop. On Darwin, where the launch goes
through an attach, `Process::CompleteAttach` runs the stop hooks there
too. A stop hook that reads the process usually runs too early there.

This patch makes `--at-initial-stop` default to `false`, for both
`target stop-hook add` and `target hook add`, so stop hooks first run at
a stop the user sees. A stop hook that has to run when LLDB gains
control of the process, for example to set things up when an attach
completes or when a core file has loaded, asks for it with
`--at-initial-stop true`.

A follow-up, #243394, runs the stop hooks that a module's script adds at

    [2 lines not shown]
DeltaFile
+7-5lldb/source/Commands/Options.td
+8-2lldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py
+3-3lldb/source/Commands/CommandObjectTarget.cpp
+2-2lldb/include/lldb/Target/Target.h
+1-1lldb/test/API/tools/lldb-dap/stop-hooks/TestDAP_stop_hooks.py
+1-1lldb/test/API/functionalities/scripted_process/dummy_scripted_process.py
+22-142 files not shown
+24-168 files

LLVM/project 771bb7f — lldb/include/lldb/ValueObject ValueObjectSynthetic.h, lldb/source/ValueObject ValueObjectSynthetic.cpp

[lldb] Keep foreign synthetic children alive in ValueObjectSynthetic (#241553)

ValueObjectSynthetic::GetChildAtIndex caches each child as a raw pointer
in m_children_byindex and only keeps a shared pointer to children marked
as synthetic-children-generated. A child that the provider created in
its own ClusterManager, and that is not marked, is kept alive only by
the shared pointer handed back to the caller. Once the caller drops it,
the child's manager destroys it, and the next lookup of that index calls
GetSP() on freed memory.

Python providers do this when they return a new root value, for example
from SBTarget::CreateValueFromData or an expression result, and keep no
reference to it. The crash shows up as a SIGSEGV in
ClusterManager::GetSharedPointer under SBValue::GetChildAtIndex.

Also keep a shared pointer to any child whose manager differs from ours.
Children in our own manager live as long as we do, so they still need no
extra reference.

assisted with: claude
DeltaFile
+77-0lldb/test/API/functionalities/data-formatter/synthetic-foreign-child/TestSyntheticForeignChild.py
+43-0lldb/test/API/functionalities/data-formatter/synthetic-foreign-child/provider.py
+41-1lldb/source/ValueObject/ValueObjectSynthetic.cpp
+13-0lldb/test/API/functionalities/data-formatter/synthetic-foreign-child/main.c
+4-0lldb/include/lldb/ValueObject/ValueObjectSynthetic.h
+3-0lldb/test/API/functionalities/data-formatter/synthetic-foreign-child/Makefile
+181-16 files

LLVM/project d9c1066 — offload/test/api omp_test_lock.c, openmp/device/src Synchronization.cpp

[OpenMP] Make device omp_test_lock try to set the lock

This patch fixes the semantics of omp_test_lock for NVPTX and SPIR-V, and
uses the same implementation for AMDGPU too.  The function is intended
to take the lock without blocking, and return whether it succeeded,
whereas the previous implementations just tested whether the lock was
already taken or not.

Other AMDGPU lock routines are added by subsequent patches, so the
newly-added test is XFAILed for that target until those land.

Assisted-By: Claude
DeltaFile
+62-0offload/test/api/omp_test_lock.c
+7-8openmp/device/src/Synchronization.cpp
+69-82 files