LLVM/project 863f70ellvm/lib/Target/AMDGPU SIInsertHardClauses.cpp, llvm/test/CodeGen/AMDGPU hard-clauses-gfx1250.mir

[AMDGPU] Prevent clauses with incompatible scopes on gfx1250-strict
DeltaFile
+168-8llvm/test/CodeGen/AMDGPU/hard-clauses-gfx1250.mir
+20-1llvm/lib/Target/AMDGPU/SIInsertHardClauses.cpp
+188-92 files

LLVM/project 7e65276offload/test/offloading/CUDA blocking_stream_semantics.cu, offload/test/offloading/HIP blocking_stream_semantics.hip

unify tests
DeltaFile
+0-131offload/test/offloading/CUDA/blocking_stream_semantics.cu
+129-0offload/test/offloading/language/blocking_stream_semantics.cpp
+0-125offload/test/offloading/HIP/blocking_stream_semantics.hip
+110-0offload/test/offloading/language/stream_api.cpp
+102-0offload/test/offloading/language/get_errs.cpp
+100-0offload/test/offloading/language/devicesync_streams.cpp
+441-25646 files not shown
+1,116-1,95352 files

LLVM/project 90e874foffload/languages/include/kernel LanguageRuntime.h, offload/languages/kernel/src LanguageRuntime.cpp

add Memset
DeltaFile
+87-0offload/test/offloading/CUDA/memset.cu
+85-0offload/test/offloading/HIP/memset.hip
+14-0offload/languages/kernel/src/LanguageRuntime.cpp
+1-2offload/test/offloading/HIP/basic_launch_blocks_and_threads.hip
+1-2offload/test/offloading/CUDA/basic_launch_blocks_and_threads.cu
+2-0offload/languages/include/kernel/LanguageRuntime.h
+190-42 files not shown
+192-48 files

LLVM/project 646f69cllvm/lib/Target/DirectX DXILRemoveUnusedResources.cpp, llvm/test/CodeGen/DirectX unused-resources.ll

[DirectX] Remove unused heap resources (#218093)

Add handling of `llvm.dx.resource.handlefromheap` to
`DXILRemoveUnusedResources` pass. In practice heap resources are usually
assigned to local variables, and get cleaned up in earlier passes if
unused. If that does not happen for some reason, they get removed by
`DXILRemoveUnusedResources`.

Related to #208053
DeltaFile
+12-7llvm/lib/Target/DirectX/DXILRemoveUnusedResources.cpp
+6-0llvm/test/CodeGen/DirectX/unused-resources.ll
+18-72 files

LLVM/project 5657cb8mlir/include/mlir/IR OperationSupport.h, mlir/lib/IR MLIRContext.cpp AttrTypeSubElements.cpp

[MLIR] Add inherent attribute visitor (#217881)

Visit inherent attributes directly from operation property storage.

Allow visitors to replace values through generated property conversions.

Keep populateInherentAttrs as a wrapper and migrate core IR callers.

This is intended as a more efficient than populateInherentAttrs that
avoids materializing the list.

Assisted-by: Codex
DeltaFile
+26-19mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
+21-7mlir/include/mlir/IR/OperationSupport.h
+25-1mlir/unittests/TableGen/OpBuildGen.cpp
+9-2mlir/lib/IR/AttrTypeSubElements.cpp
+2-3mlir/unittests/IR/OpPropertiesTest.cpp
+2-2mlir/lib/IR/MLIRContext.cpp
+85-342 files not shown
+90-368 files

LLVM/project 3b16900clang/test/CodeGen/AArch64 neon-intrinsics.c, clang/test/CodeGen/AArch64/neon widen.c

[CIR][AArch64] Migrate vmovl_high_* NEON tests to widen.c (#217950)

### summary

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

This is a light patch and a follow up of :
https://github.com/llvm/llvm-project/pull/205508

All lowering logic have been implemented in this PR :
https://github.com/llvm/llvm-project/pull/204285 , I just need to
migrate these intrinsics.

Migrate the 6 test_vmovl_high_{s,u}{8,16,32} tests from
neon-intrinsics.c to widen.c with LLVM + CIR checks, and drop the
now-stale TODO in widen.c.

This PR completed with the assistance of DeepSeek
DeltaFile
+97-2clang/test/CodeGen/AArch64/neon/widen.c
+0-74clang/test/CodeGen/AArch64/neon-intrinsics.c
+97-762 files

LLVM/project 0fecb76clang/lib/CIR/Dialect/Transforms CallConvLoweringPass.cpp, clang/test/CIR/Transforms/abi-lowering x86_64-aggregate-nyi.cir

[CIR] Diagnose a union whose spanning member supplies no data

The accept rule and mapCIRType disagreed on what counts as data.  The rule
asked !memberIsEmptyRecord, the mapper asked holdsDataForABI, and the two
part ways on an access unit holding only unnamed bit-fields: the rule
counted it, the mapper dropped it.  So a union could be accepted on the
strength of a member the classifier never saw, and one holding a 3-bit
named field beside a 64-bit unnamed one came out i8 where classic gives
i64, with no diagnostic.

Ask both questions of the same member so the two agree.  A union holding a
20-bit named field beside a 64-bit unnamed one goes NYI as well, and that
one is correct today at i64, so this costs a little coverage until the
unnamed unit can carry its bytes into the classification.

Assisted-by: Cursor / claude-opus-5
DeltaFile
+23-0clang/test/CIR/Transforms/abi-lowering/x86_64-aggregate-nyi.cir
+12-8clang/lib/CIR/Dialect/Transforms/CallConvLoweringPass.cpp
+35-82 files

LLVM/project 7ef1e51offload/languages/kernel/src LanguageRuntime.cpp, offload/test/offloading/CUDA devicesync_streams.cu

add proper deviceSync
DeltaFile
+98-0offload/test/offloading/CUDA/devicesync_streams.cu
+97-0offload/test/offloading/HIP/devicesync_streams.hip
+13-7offload/languages/kernel/src/LanguageRuntime.cpp
+1-1offload/test/offloading/HIP/launch_tu.hip
+1-1offload/test/offloading/HIP/basic_launch_multi_arg.hip
+1-1offload/test/offloading/HIP/basic_launch_blocks_and_threads.hip
+211-107 files not shown
+218-1313 files

LLVM/project 8074923llvm/test/CodeGen/NVPTX stop-after-npm.ll, llvm/tools/llc NewPMDriver.cpp

[llc] Initialize TargetLoweringObjectFile in the NewPM CodeGen path (#218750)
DeltaFile
+10-0llvm/test/CodeGen/NVPTX/stop-after-npm.ll
+3-0llvm/tools/llc/NewPMDriver.cpp
+13-02 files

LLVM/project a4c562fllvm/lib/Transforms/Utils Local.cpp PromoteMemoryToRegister.cpp, llvm/test/Transforms/PhaseOrdering always-inline-alloca-promotion.ll

Revert "[PromoteMemToReg] Insert store undef when removing lifetime markers" (#218804)

Reverts llvm/llvm-project#191909

This is causing downstream issues for Google as well as ROCm. Reverting
for now.

CC: @ronlieb @isoard-amd @rupprecht
DeltaFile
+0-190llvm/test/Transforms/SROA/lifetime-aware-phi.ll
+3-32llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
+7-7llvm/test/Transforms/PhaseOrdering/ARM/arm_var_q31.ll
+4-2llvm/test/Transforms/PhaseOrdering/always-inline-alloca-promotion.ll
+0-3llvm/lib/Transforms/Utils/Local.cpp
+1-1llvm/test/Transforms/PhaseOrdering/ARM/arm_mean_q7.ll
+15-2356 files

LLVM/project 6411134offload/languages/kernel/include Stream.h LanguageUtils.h, offload/languages/kernel/src LanguageLaunch.cpp State.cpp

add event cleanup
DeltaFile
+85-0offload/languages/kernel/src/Stream.cpp
+47-27offload/languages/kernel/include/LanguageUtils.h
+18-22offload/languages/kernel/src/LanguageRuntime.cpp
+19-0offload/languages/kernel/include/Stream.h
+7-3offload/languages/kernel/src/State.cpp
+4-4offload/languages/kernel/src/LanguageLaunch.cpp
+180-562 files not shown
+183-578 files

LLVM/project 7f79349lld/test/wasm bad-common-overflow.s, lld/wasm Writer.cpp

[Object][Wasm] Add more error checking to handling of COMMON symbols (#218557)

* Check for valid alignment when parsing common symbols (also for data
symbols)
* lld: Use uint32 for size field, matching similar class in in this file
* Add support for COMMON in YAML emitter for tests
DeltaFile
+27-0llvm/test/Object/Wasm/bad-segment-align.yaml
+21-0llvm/test/Object/Wasm/bad-common-align.yaml
+9-3llvm/lib/ObjectYAML/WasmEmitter.cpp
+11-0llvm/lib/Object/WasmObjectFile.cpp
+8-0lld/test/wasm/bad-common-overflow.s
+5-0lld/wasm/Writer.cpp
+81-31 files not shown
+83-57 files

LLVM/project ef3e594clang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/lib/CIR/CodeGen CIRGenModule.cpp

[CIR][OpenCL] Preserve OpenCL source languages in CIR (#217846)

Represent OpenCL C and C++ for OpenCL source languages in CIR module
attributes. Emit the source language from CIRGen so later lowering can
distinguish OpenCL language modes without reconstructing them from
target metadata.

Assisted-by: Codex / GPT-5.6 Sol
DeltaFile
+12-4clang/test/CIR/IR/module.cir
+9-1clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+9-0clang/test/CIR/CodeGenOpenCL/source-language.cl
+4-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+34-54 files

LLVM/project 02d49a7offload/languages/kernel/include LanguageUtils.h, offload/languages/kernel/src LanguageRuntime.cpp LanguageLaunch.cpp

add blocking semantics to LaunchKernel and Memcpy
DeltaFile
+131-0offload/test/offloading/CUDA/blocking_stream_semantics.cu
+125-0offload/test/offloading/HIP/blocking_stream_semantics.hip
+39-0offload/languages/kernel/include/LanguageUtils.h
+17-3offload/languages/kernel/src/LanguageLaunch.cpp
+11-4offload/languages/kernel/src/LanguageRuntime.cpp
+4-2offload/test/offloading/HIP/stream_api.hip
+327-94 files not shown
+336-1310 files

LLVM/project 357d84alibc/include unistd.yaml, libc/src/unistd CMakeLists.txt confstr.h

[libc] Add stub for confstr (#218789)

POSIX defines confstr as returning strings for various macros (see:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/confstr.html)
This PR adds an implementation as experimental that always returns that
there's no valid string.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+31-0libc/test/src/unistd/confstr_test.cpp
+30-0libc/src/unistd/confstr.cpp
+26-0libc/src/unistd/confstr.h
+16-0libc/src/unistd/CMakeLists.txt
+14-0libc/test/src/unistd/CMakeLists.txt
+8-0libc/include/unistd.yaml
+125-04 files not shown
+129-010 files

LLVM/project 16ec9eemlir/include/mlir/Dialect/Math/IR MathBase.td MathOps.td, mlir/test/Dialect/Math ops.mlir

[MLIR][Math] Enable strict property assembly format (#217275)

Enable the strict properties assembly format mode for the Math dialect.
Spell the classification fast-math attribute in the declarative format
so it is not parsed from attr-dict in strict mode.

Assisted-by: Codex
DeltaFile
+8-0mlir/test/Dialect/Math/ops.mlir
+2-1mlir/include/mlir/Dialect/Math/IR/MathOps.td
+1-0mlir/include/mlir/Dialect/Math/IR/MathBase.td
+11-13 files

LLVM/project b6aff56mlir/lib/Dialect/Affine/IR AffineOps.cpp, mlir/test/Dialect/Affine canonicalize.mlir

[MLIR][Affine] Reject fully consumed bounded delinearize split (#217472)

Do not apply SplitDelinearizeSpanningLastLinearizeArg when the split
would consume an entire outer-bounded basis. Rewriting that case can
discard earlier linearization inputs and previously built an invalid
zero-result prefix operation.

Assisted-by: Codex
DeltaFile
+21-2mlir/test/Dialect/Affine/canonicalize.mlir
+7-0mlir/lib/Dialect/Affine/IR/AffineOps.cpp
+28-22 files

LLVM/project 3e3927fmlir/include/mlir/IR OpDefinition.h, mlir/test/Dialect/LLVMIR rocdl.mlir

[MLIR][ODS] Print prop-dict fields with custom printers (#217589)

Generate a key-value prop-dict printer that dispatches each field to its
ODS printer while retaining attribute conversion for non-compositional
default parsers.

Keep operation-specific property printer hooks ahead of the generated
implementation and preserve legacy input compatibility.

See #155475

Assisted-by: Codex
DeltaFile
+134-4mlir/tools/mlir-tblgen/OpFormatGen.cpp
+23-15mlir/test/IR/properties.mlir
+32-0mlir/test/mlir-tblgen/op-format-custom-properties-printer.td
+14-14mlir/test/Dialect/LLVMIR/rocdl.mlir
+28-0mlir/test/lib/Dialect/Test/TestOps.td
+19-3mlir/include/mlir/IR/OpDefinition.h
+250-3624 files not shown
+335-10330 files

LLVM/project 8600f2bllvm/include/llvm/ExecutionEngine/Orc LookupAndRecordAddrs.h, llvm/lib/ExecutionEngine/Orc COFFPlatform.cpp CMakeLists.txt

[ORC] Remove lookupAndRecordAddrs (#218671)

All uses of lookupAndRecordAddrs have been replaced by lookupAndApply,
so remove the former (along with its unit tests).
DeltaFile
+0-108llvm/unittests/ExecutionEngine/Orc/LookupAndRecordAddrsTest.cpp
+0-63llvm/include/llvm/ExecutionEngine/Orc/LookupAndRecordAddrs.h
+0-55llvm/lib/ExecutionEngine/Orc/LookupAndRecordAddrs.cpp
+34-0llvm/unittests/ExecutionEngine/Orc/LookupAndApplyTest.cpp
+0-1llvm/lib/ExecutionEngine/Orc/COFFPlatform.cpp
+0-1llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
+34-2283 files not shown
+34-2319 files

LLVM/project 2d30893. CODE_OF_CONDUCT.md

Add conduct email contact for the CODE_OF_CONDUCT page (#218787)

This turns out to be the landing page users get linked to when
(temporarily or permanently) banned. And since there is no way to
privately message through GitHub, this is basically where they end up
and having an immediate way to reach the CoC Committee to discuss those
moderation actions is important.

---------

Co-authored-by: Cyndy Ishida <cyndyishida at gmail.com>
DeltaFile
+2-0CODE_OF_CONDUCT.md
+2-01 files

LLVM/project 5fcf7e0llvm/lib/Frontend/OpenMP OMPDescriptors.inc, llvm/test/CodeGen/AArch64 vector-ldst-offset.ll vector-ldst-align.ll

Rebase

Created using spr 1.3.7
DeltaFile
+9,921-0llvm/test/CodeGen/AArch64/vector-ldst-align-float.ll
+8,227-0llvm/test/CodeGen/AArch64/vector-ldst-align.ll
+3,448-2llvm/test/CodeGen/AArch64/vector-ldst-offset.ll
+2,421-285llvm/test/tools/llvm-mca/AArch64/Cortex/A57-forwarding.s
+2,386-0llvm/lib/Frontend/OpenMP/OMPDescriptors.inc
+1,217-1,125llvm/test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
+27,620-1,4121,905 files not shown
+109,770-40,8281,911 files

LLVM/project 2cd5388offload/languages/kernel/include Stream.h LanguageUtils.h, offload/languages/kernel/src LanguageLaunch.cpp State.cpp

add event cleanup
DeltaFile
+85-0offload/languages/kernel/src/Stream.cpp
+47-27offload/languages/kernel/include/LanguageUtils.h
+18-22offload/languages/kernel/src/LanguageRuntime.cpp
+19-0offload/languages/kernel/include/Stream.h
+7-3offload/languages/kernel/src/State.cpp
+4-4offload/languages/kernel/src/LanguageLaunch.cpp
+180-562 files not shown
+183-578 files

LLVM/project d084a26offload/languages/kernel/include LanguageUtils.h, offload/languages/kernel/src LanguageRuntime.cpp LanguageLaunch.cpp

add blocking semantics to LaunchKernel and Memcpy
DeltaFile
+131-0offload/test/offloading/CUDA/blocking_stream_semantics.cu
+125-0offload/test/offloading/HIP/blocking_stream_semantics.hip
+43-0offload/languages/kernel/include/LanguageUtils.h
+17-3offload/languages/kernel/src/LanguageLaunch.cpp
+11-4offload/languages/kernel/src/LanguageRuntime.cpp
+4-2offload/test/offloading/HIP/stream_api.hip
+331-94 files not shown
+340-1310 files

LLVM/project f783fe3offload/languages/include/kernel DefineLanguageNames.inc UndefineLanguageNames.inc, offload/languages/kernel/src LanguageRuntime.cpp

add StreamCreateWithFlags
DeltaFile
+26-1offload/languages/kernel/src/LanguageRuntime.cpp
+27-0offload/test/offloading/CUDA/stream_api.cu
+26-0offload/test/offloading/HIP/stream_api.hip
+10-1offload/languages/include/kernel/LanguageRuntime.h
+3-1offload/languages/include/kernel/UndefineLanguageNames.inc
+3-0offload/languages/include/kernel/DefineLanguageNames.inc
+95-36 files

LLVM/project 1d48357clang/lib/CIR/Dialect/Transforms CallConvLoweringPass.cpp

[CIR] Rewrap the x86_64 classifier bridge comment

This paragraph lost its shape over a couple of merges and ended up with
a short orphaned line in the middle.  Rewrapping the whole block lets
classifyX86_64Function land mid-line so the lines fill evenly.  The
wording is untouched, only the line breaks moved.

Assisted-by: Cursor / claude-opus-5
DeltaFile
+12-13clang/lib/CIR/Dialect/Transforms/CallConvLoweringPass.cpp
+12-131 files

LLVM/project 96767c6llvm/lib/Transforms/Utils Local.cpp PromoteMemoryToRegister.cpp, llvm/test/Transforms/PhaseOrdering always-inline-alloca-promotion.ll

Revert "[PromoteMemToReg] Insert store undef when removing lifetime markers (…"

This reverts commit efd053f8ef306e6fa21ab0cd1bd185ef48f09fc0.
DeltaFile
+0-190llvm/test/Transforms/SROA/lifetime-aware-phi.ll
+3-32llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
+7-7llvm/test/Transforms/PhaseOrdering/ARM/arm_var_q31.ll
+4-2llvm/test/Transforms/PhaseOrdering/always-inline-alloca-promotion.ll
+0-3llvm/lib/Transforms/Utils/Local.cpp
+1-1llvm/test/Transforms/PhaseOrdering/ARM/arm_mean_q7.ll
+15-2356 files

LLVM/project 4b690d4mlir/include/mlir/IR OpDefinition.h, mlir/test/Dialect/LLVMIR rocdl.mlir

[MLIR][ODS] Print prop-dict fields with custom printers

Generate a key-value prop-dict printer that dispatches each field to its ODS
printer while retaining attribute conversion for non-compositional default
parsers.

Keep operation-specific property printer hooks ahead of the generated
implementation and preserve legacy input compatibility.

Update the OpenACC cache checks for the generated custom property spelling.

Assisted-by: Codex
DeltaFile
+134-4mlir/tools/mlir-tblgen/OpFormatGen.cpp
+23-15mlir/test/IR/properties.mlir
+32-0mlir/test/mlir-tblgen/op-format-custom-properties-printer.td
+14-14mlir/test/Dialect/LLVMIR/rocdl.mlir
+28-0mlir/test/lib/Dialect/Test/TestOps.td
+19-3mlir/include/mlir/IR/OpDefinition.h
+250-3624 files not shown
+335-10330 files

LLVM/project 76f971bflang/include/flang/Optimizer/Passes Pipelines.h, flang/lib/Optimizer/Passes Pipelines.cpp

[flang][nfc] Split out the pre- and post-cfg FIR pipelines (#218778)

Split the FIR optimization pipeline in its pre- and post-cfg parts and
expose the builders so that alternative downstream pipelines can build
around them.
DeltaFile
+21-12flang/lib/Optimizer/Passes/Pipelines.cpp
+10-0flang/include/flang/Optimizer/Passes/Pipelines.h
+31-122 files

LLVM/project f8faa46lldb/include/lldb/Symbol Symbol.h

[lldb] Fix `shared_ptr<Section>` leak (#218794)

Introduced by #213356

```
SanitizerError
AddressSanitizer: 2760 byte(s) leaked in 15 allocation(s).
Details

=================================================================
==6162==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 1472 byte(s) in 8 object(s) allocated from:
...
    #8 0x7f4d08980c00 in ObjectFileELF::CreateSections(lldb_private::SectionList&) lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp:2168:28
    #9 0x7f4d085c5651 in lldb_private::Module::GetSectionList() lldb/source/Core/Module.cpp:1226:17
    #10 0x7f4d08af4f6f in lldb_private::plugin::dwarf::SymbolFileDWARF::SymbolFileDWARF(std::__u::shared_ptr<lldb_private::ObjectFile>, lldb_private::SectionList*) lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:490:44
    #11 0x7f4d08af331e in lldb_private::plugin::dwarf::SymbolFileDWARF::CreateInstance(std::__u::shared_ptr<lldb_private::ObjectFile>) lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:347:14
    #12 0x7f4d08cc36af in lldb_private::SymbolFile::FindPlugin(std::__u::shared_ptr<lldb_private::ObjectFile>) lldb/source/Symbol/SymbolFile.cpp:64:51

    [22 lines not shown]
DeltaFile
+8-5lldb/include/lldb/Symbol/Symbol.h
+8-51 files

LLVM/project 6ffdb49clang/test/CIR/CodeGenBuiltins builtin-stdc-bit.c, flang-rt/unittests/Runtime Assign.cpp

Rebase

Created using spr 1.3.7
DeltaFile
+1,160-0clang/test/CIR/CodeGenBuiltins/builtin-stdc-bit.c
+0-523libc/test/src/stdlib/StrfromTest.h
+513-0flang/test/Semantics/OpenACC/acc-loop-vector-value.f90
+110-400flang/lib/Semantics/resolve-directives.cpp
+0-441flang/lib/Evaluate/designator-path.cpp
+393-0flang-rt/unittests/Runtime/Assign.cpp
+2,176-1,364248 files not shown
+7,647-4,126254 files