LLVM/project 5ef967a — lldb/test/API/functionalities/target_var TestTargetVar.py, lldb/test/API/lang/c/tls_globals TestTlsGlobals.py

[NFC][lldb] Remove remaining TEST_WITH_PDB_DEBUG_INFO (#231579)

`TEST_WITH_PDB_DEBUG_INFO` is no longer used.
DeltaFile
+0-2lldb/test/API/lang/cpp/class_static/TestStaticVariables.py
+0-2lldb/test/API/functionalities/target_var/TestTargetVar.py
+0-1lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py
+0-53 files

LLVM/project 376d7c5 — lldb/test/API/api/multithreaded test_listener_event_description.cpp test_concurrent_unwind.cpp, lldb/test/API/api/multithreaded/concurrent_unwind test_concurrent_unwind.cpp

[lldb][NFC] Split up TestMultithreaded.py (#231856)

This splits the big and slow TestMultithreaded test into several smaller
tests. This allows running subtests in parallel.

It also makes it more obvious which of the subtests is flakey as the
test sometimes hangs on the bots without any output.
DeltaFile
+0-161lldb/test/API/api/multithreaded/test_stop-hook.cpp
+161-0lldb/test/API/api/multithreaded/stop_hook/test_stop-hook.cpp
+0-124lldb/test/API/api/multithreaded/TestMultithreaded.py
+0-98lldb/test/API/api/multithreaded/test_concurrent_unwind.cpp
+98-0lldb/test/API/api/multithreaded/concurrent_unwind/test_concurrent_unwind.cpp
+0-94lldb/test/API/api/multithreaded/test_listener_event_description.cpp
+259-47729 files not shown
+872-78735 files

LLVM/project dddc56d — mlir/docs/Dialects SPIR-V.md, mlir/lib/Dialect/SPIRV/IR SPIRVDialect.cpp

[mlir][SPIRV] Support Alignment and FuncParamAttr on parameters (#231069)

Clang-produced SPIR-V can decorate function parameters with Alignment
and one or more FuncParamAttr decorations. The deserializer currently
rejects these decorations, preventing such modules from being imported.

Represent Alignment as a signless i32 attribute and FuncParamAttr as an
array of typed FunctionParameterAttribute attributes. Preserve both when
deserializing and serializing function definitions and declarations,
including parameters that also carry an existing decoration.

Verify the attribute types, reject duplicate or mutually exclusive
parameter attributes, and enforce the pointer and Sret position
requirements. Add round-trip coverage for all core enumerants and an
alignment with its high bit set, verifier diagnostics, and malformed
binary tests.
DeltaFile
+239-0mlir/test/Dialect/SPIRV/IR/function-parameter-attributes.mlir
+145-0mlir/unittests/Dialect/SPIRV/DeserializationTest.cpp
+105-0mlir/test/Target/SPIRV/function-parameter-attributes.mlir
+80-0mlir/lib/Dialect/SPIRV/IR/SPIRVDialect.cpp
+58-14mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp
+67-0mlir/docs/Dialects/SPIR-V.md
+694-148 files not shown
+810-1414 files

LLVM/project ec498bb — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

remove BoUpSLP.resetRuntimeAliasCheckState()
DeltaFile
+43-44llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+43-441 files

LLVM/project f920efe — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

put some fields back on BoUpSLP
DeltaFile
+410-467llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+410-4671 files

LLVM/project e0af104 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

restore original positions of forwarding methods
DeltaFile
+98-64llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+98-641 files

LLVM/project 977f74a — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

remove CandidateState getters
DeltaFile
+48-130llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+48-1301 files

LLVM/project 88b0657 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

remove setters from CandidateState
DeltaFile
+14-2llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+14-21 files

LLVM/project 5c7f3a3 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

apply suggestions
DeltaFile
+7-11llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+7-111 files

LLVM/project c5a6ed9 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

make it private
DeltaFile
+183-134llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+183-1341 files

LLVM/project b425031 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

[SLP] NFC: make candidate state ownership explicit

BoUpSLP contains a mixture of state which relates to the current
candidate and state which persists beyond its lifetime. Gather this
state onto a new CanidateState object which belongs to BoUpSLP.

I think this is compatible with the existing modularisation proposal.

Assisted-by: codex
DeltaFile
+2,103-1,751llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+2,103-1,7511 files

LLVM/project 1f43136 — llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

make CandidateState members private
DeltaFile
+18-7llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+18-71 files

LLVM/project c5a756a — utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes 4400e2d (#231859)

This fixes 4400e2d4ae4bfb672558060a8bddecafc769ef4a (#222661).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=4400e2d4ae4bfb672558060a8bddecafc769ef4a

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

LLVM/project 4528666 — lldb/source/Plugins/Process/Windows/Common NativeThreadWindows.h NativeThreadWindows.cpp

[lldb][Windows][NFC] Factor out NativeThreadWindows::SetSingleStepFlag (#231488)

Move the code that sets the trace flag out of `DoResume` so it can be
reused by llvm#227353.
DeltaFile
+28-25lldb/source/Plugins/Process/Windows/Common/NativeThreadWindows.cpp
+2-0lldb/source/Plugins/Process/Windows/Common/NativeThreadWindows.h
+30-252 files

LLVM/project 6d916f0 — lldb/test/API/functionalities/thread/num_threads TestNumThreads.py

[lldb][test] Use thread index IDs in TestNumThreads.test_unique_stacks (#231491)

The test assumes the thread at index `i` has index ID `i + 1`, which
doesn't hold when thread IDs aren't contiguous.

Use `GetIndexID()` instead.
DeltaFile
+3-2lldb/test/API/functionalities/thread/num_threads/TestNumThreads.py
+3-21 files

LLVM/project 368f1cc — libc/src/sched/linux CMakeLists.txt sched_setscheduler.cpp, utils/bazel/llvm-project-overlay/libc BUILD.bazel

[libc] Use a syscall wrapper for sched_setscheduler
DeltaFile
+15-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+5-8libc/src/sched/linux/sched_setscheduler.cpp
+4-3libc/src/sched/linux/CMakeLists.txt
+24-113 files

LLVM/project 2d23503 — llvm/include/llvm/CodeGen MachineScheduler.h, llvm/lib/CodeGen MachineScheduler.cpp

Remove AggressiveAntiDepBreaker header

Created using spr 1.3.6-beta.1
DeltaFile
+2-3llvm/lib/CodeGen/MachineScheduler.cpp
+1-1llvm/include/llvm/CodeGen/MachineScheduler.h
+3-42 files

LLVM/project 3edde47 — lldb/source/Plugins/Process/Windows/Common NativeProcessWindows.cpp

[lldb][Windows] Hold the process and thread list locks in OnCreateThread and OnExitThread (#231489)

`OnExitThread` modifies `m_threads` without holding `m_mutex`, unlike
the other debug event handlers.

This patch makes `OnCreateThread` hold `m_threads_mutex` for its whole
body, so the new thread is set up and added to the list under one lock.
DeltaFile
+4-3lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
+4-31 files

LLVM/project 0c55c0b — clang/lib/CIR/Dialect/Transforms/TargetLowering LowerModule.cpp TargetLoweringInfo.h, clang/lib/CIR/Dialect/Transforms/TargetLowering/Targets SPIRV.cpp

[CIR][SPIR-V] Split SPIR and SPIR-V target lowering to keep atomic sync scopes (#231754)

Split SPIR and SPIR-V target lowering so only spir maps every sync scope
to System, like classic codegen
DeltaFile
+77-0clang/test/CIR/CodeGenHIP/amdgcnspirv-atomic-scope.hip
+13-1clang/lib/CIR/Dialect/Transforms/TargetLowering/Targets/SPIRV.cpp
+2-0clang/lib/CIR/Dialect/Transforms/TargetLowering/TargetLoweringInfo.h
+1-0clang/lib/CIR/Dialect/Transforms/TargetLowering/LowerModule.cpp
+93-14 files

LLVM/project 6756b2f — llvm/test/Transforms/SLPVectorizer/X86 divrem-scalar-pair.ll

[SLP][NFC]Add a test with non-profitable vectorization, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/231861
DeltaFile
+105-0llvm/test/Transforms/SLPVectorizer/X86/divrem-scalar-pair.ll
+105-01 files

LLVM/project 78fe510 — llvm/lib/Analysis ScalarEvolution.cpp, llvm/test/Transforms/IndVarSimplify ult-nonneg-bound-implies-nonneg.ll

[SCEV] Derive x >=s 0 from x <u y when y is non-negative

If x <u y and y <=u 2^(n-1) (e.g. y >=s 0), then x >=s 0.

Prove this in SCEV's isImpliedCondBalancedTypes so a guard
like "start <u len" proves start >=s 0. This also covers
x <=u y with y up to INT_MAX, which reaches the implication
code canonicalized as x <u y + 1.

The query is proven from the derived fact via
isImpliedCondOperands, so weaker bounds (x >=s c, c <= 0) follow
too.

y is checked via ranges only, to keep compile time low.

Co-Authored-By: Claude Sonnet 5.5 <noreply at anthropic.com>
DeltaFile
+9-12llvm/unittests/Analysis/ScalarEvolutionTest.cpp
+19-0llvm/lib/Analysis/ScalarEvolution.cpp
+5-10llvm/test/Transforms/IndVarSimplify/ult-nonneg-bound-implies-nonneg.ll
+33-223 files

LLVM/project 1adc0c9 — llvm/test/Transforms/IndVarSimplify ult-nonneg-bound-implies-nonneg.ll, llvm/unittests/Analysis ScalarEvolutionTest.cpp

[SCEV][NFC] Precommit tests for x <u y && y >=s 0 implying x >=s 0

SCEV derives x <s y from x <u y && y >=s 0, but not x >=s 0, so a loop
guarded by "start <u len" with a non-negative len does not prove
start >=s 0.

Add unit tests for isImpliedCond and an IndVars lit test.
Checks SCEV cannot prove yet are marked FIXME.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+273-0llvm/test/Transforms/IndVarSimplify/ult-nonneg-bound-implies-nonneg.ll
+97-0llvm/unittests/Analysis/ScalarEvolutionTest.cpp
+370-02 files

LLVM/project c0f4017 — llvm/include/llvm/CodeGen MachineScheduler.h

Add back

Created using spr 1.3.6-beta.1
DeltaFile
+1-0llvm/include/llvm/CodeGen/MachineScheduler.h
+1-01 files

LLVM/project 27e3cbb — clang/test/Driver print-supported-extensions-aarch64.c, llvm/lib/Target/AArch64 AArch64SVEInstrInfo.td

fixup! Apply suggestions
DeltaFile
+2-2llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
+1-1clang/test/Driver/print-supported-extensions-aarch64.c
+3-32 files

LLVM/project ea2ea10 — llvm/lib/Target/X86 X86TargetTransformInfo.cpp

Rebase, address comments

Created using spr 1.3.7
DeltaFile
+4-3llvm/lib/Target/X86/X86TargetTransformInfo.cpp
+4-31 files

LLVM/project 734362e — llvm/include/llvm/CodeGen MachineScheduler.h

Remove unneeded header

Created using spr 1.3.6-beta.1
DeltaFile
+0-1llvm/include/llvm/CodeGen/MachineScheduler.h
+0-11 files

LLVM/project 2bba8b5 — orc-rt/test/regression/languages/c/addressing static-data-load.c global-data-store.c

[orc-rt] Complete the static/global x load/store data tests. (#231853)

Binding affects which fixups a store uses: static data is always
addressed directly, so the store carries a fixup, while global data may
be addressed through the GOT. Add static-data-store.c to cover the
former, and global-data-load.c to complete the grid.

Update the Stresses: lines to say what each test checks: load tests
check the section's initial contents, and store tests check that it is
writable.
DeltaFile
+23-0orc-rt/test/regression/languages/c/addressing/static-data-store.c
+20-0orc-rt/test/regression/languages/c/addressing/global-data-load.c
+3-2orc-rt/test/regression/languages/c/addressing/global-data-store.c
+3-1orc-rt/test/regression/languages/c/addressing/static-data-load.c
+49-34 files

LLVM/project 7e704e5 — llvm/include/llvm/CodeGen MachineScheduler.h, llvm/lib/CodeGen MachineScheduler.cpp

Factor out AntiDepState

Created using spr 1.3.6-beta.1
DeltaFile
+26-23llvm/include/llvm/CodeGen/MachineScheduler.h
+13-12llvm/lib/CodeGen/MachineScheduler.cpp
+39-352 files

LLVM/project 6c3eec9 — lldb/test/API/functionalities/inferior-assert TestInferiorAssert.py

[lldb][Windows] Add bugnumber to test failures (#231847)

Follow up to llvm#230116 and llvm#231831.
DeltaFile
+5-0lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py
+5-01 files

LLVM/project 54c5604 — llvm/lib/Target/AArch64 AArch64PredicateAsCounterLoopRewrites.cpp, llvm/test/CodeGen/AArch64 pn-loop-rewrites-metadata.ll

Fixups
DeltaFile
+177-0llvm/test/CodeGen/AArch64/pn-loop-rewrites-metadata.ll
+10-11llvm/lib/Target/AArch64/AArch64PredicateAsCounterLoopRewrites.cpp
+187-112 files