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

LLVM/project c0a8dfamlir/include/mlir/IR DialectImplementation.h, mlir/test/IR properties-invalid.mlir properties.mlir

[MLIR][ODS] Parse prop-dict fields with custom parsers (#218798)

Teach generated operation parsers to accept a key-value spelling for
prop-dict and dispatch known fields through their ODS parsers. Keep the
DictionaryAttr spelling as a compatibility path and use attribute
conversion when a property has no usable FieldParser.

Reland #217590 after fixing the MSAN specific failure: the
`FieldParser<SmallVector<int32_t>>` specialization collided with a
generic instantiation in another translation unit. Under MSan, the
linker selected the generic parser instead of the specialization.

See #155475

Assisted-by: Codex
DeltaFile
+264-0mlir/test/lib/Dialect/Test/TestOps.td
+218-0mlir/tools/mlir-tblgen/OpFormatGen.cpp
+94-1mlir/test/IR/properties.mlir
+76-4mlir/include/mlir/IR/DialectImplementation.h
+79-0mlir/test/IR/properties-invalid.mlir
+43-0mlir/test/lib/Dialect/Test/TestOps.h
+774-56 files not shown
+844-1312 files

LLVM/project b0675c0llvm/lib/Target/AMDGPU AMDGPUPrivateObjectVGPRs.cpp, llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR as-vgpr-private-object-vgprs.mir

Propagate object liveness to every changed successor, not only back edges
DeltaFile
+56-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-private-object-vgprs.mir
+14-4llvm/lib/Target/AMDGPU/AMDGPUPrivateObjectVGPRs.cpp
+70-42 files

LLVM/project df0e95fllvm/lib/Target/AMDGPU AMDGPUPromoteAlloca.cpp, llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR as-vgpr-allocate.ll as-vgpr-across-call.ll

Do not add a second lifetime start when allocating VGPRs again
DeltaFile
+21-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-across-call.ll
+17-3llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
+0-1llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-allocate.ll
+38-43 files

LLVM/project 8060db0llvm/lib/Target/AMDGPU AMDGPUPromoteAlloca.cpp AMDGPUPrivateObjectVGPRs.cpp, llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR as-vgpr-across-call.ll as-vgpr-private-object-vgprs.mir

Allocate and reserve registers for address space 13 objects
DeltaFile
+340-0llvm/lib/Target/AMDGPU/AMDGPUPrivateObjectVGPRs.cpp
+178-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-object-regalloc.ll
+140-12llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
+133-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-allocate.ll
+106-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-private-object-vgprs.mir
+80-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-across-call.ll
+977-1218 files not shown
+1,280-2324 files

LLVM/project b1c3ffcllvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR as-vgpr-divergent.ll

Treat a sub-dword VGPR-memory load as divergent too
DeltaFile
+48-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-divergent.ll
+3-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+51-12 files

LLVM/project 7c2cd47llvm/lib/Target/AMDGPU AMDGPUPrivateObjectVGPRs.cpp, llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR as-vgpr-asm-clobber.ll

Diagnose inline asm that clobbers a VGPR-memory object's registers
DeltaFile
+93-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-asm-clobber.ll
+31-5llvm/lib/Target/AMDGPU/AMDGPUPrivateObjectVGPRs.cpp
+124-52 files

LLVM/project 01e9a29llvm/lib/Target/AMDGPU AMDGPUPromoteAlloca.cpp, llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR as-vgpr-budget.ll

Diagnose an object that does not fit the function's register budget
DeltaFile
+82-0llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-budget.ll
+36-13llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
+118-132 files

LLVM/project 095103cllvm/test/CodeGen/AMDGPU/AddressSpaceVGPR as-vgpr-index-demanded-bits.ll

Regenerate the demanded-bits expectations for the gfx1250 entry sequence
DeltaFile
+16-8llvm/test/CodeGen/AMDGPU/AddressSpaceVGPR/as-vgpr-index-demanded-bits.ll
+16-81 files