LLVM/project 86106ccllvm/lib/Target/DirectX/DXILWriter DXILBitcodeWriter.cpp, llvm/lib/Target/DirectX/DirectXIRPasses DXILDebugInfo.cpp

[DirectX] Make DISubprogram writing LLVM 3.7-compatible (#194418)

Reverse the links between DICompileUnit and DISubprogram
DeltaFile
+36-7llvm/test/tools/dxil-dis/di-subprogram.ll
+31-0llvm/lib/Target/DirectX/DirectXIRPasses/DXILDebugInfo.cpp
+10-10llvm/test/tools/dxil-dis/debug-info.ll
+2-2llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
+79-194 files

LLVM/project 918e93bmlir/include/mlir/IR MLIRContext.h, mlir/lib/IR MLIRContext.cpp

[MLIR] Add getter for the action handler of MLIR context (#197230)

Current implementation of MLIRContext's action handling, requires the
user to hold the stored memory for any observer or breakpoint manager
added to the execution context. Using a getter for the registered action
handler, permits the user to store the observers and breakpoints into
MLIRContext and modify their state later, by retrieving the action
handler and invoking the functor's target. Mainly for attaching new
observers later in the compilation pipeline, after the execution context
got registered.
DeltaFile
+4-0mlir/lib/IR/MLIRContext.cpp
+4-0mlir/include/mlir/IR/MLIRContext.h
+8-02 files

LLVM/project 61c241ellvm/lib/Target/AArch64 AArch64InstrInfo.cpp, llvm/unittests/Target/AArch64 InstSizes.cpp

[AArch64] Report accurate sizes for MOVaddr and MOVimm pseudos
DeltaFile
+89-0llvm/unittests/Target/AArch64/InstSizes.cpp
+25-0llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+114-02 files

LLVM/project 9f49b77llvm/lib/Target/AArch64 AArch64ExpandPseudoInsts.cpp AArch64ExpandImm.cpp

[NFC][AArch64] Extract MOVaddr* expansion model into common header (#183503)

This makes the expansion logic reusable by getInstSizeInBytes in a
follow-up patch.
DeltaFile
+71-53llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
+15-0llvm/lib/Target/AArch64/AArch64ExpandImm.cpp
+8-1llvm/lib/Target/AArch64/AArch64ExpandImm.h
+94-543 files

LLVM/project 67844b4libcxxabi/src/demangle ItaniumDemangle.h, llvm/include/llvm/Demangle ItaniumDemangle.h

[ItaniumDemangle] Fix conversion operators failing to demangle types with substitutions
DeltaFile
+9-0llvm/unittests/Demangle/DemangleTest.cpp
+4-0libcxxabi/src/demangle/ItaniumDemangle.h
+4-0llvm/include/llvm/Demangle/ItaniumDemangle.h
+17-03 files

LLVM/project c48a8d2clang/test/CodeGen scoped-atomic-ops.c, clang/test/CodeGenOpenCL builtins-amdgcn-gfx1250.cl

Merge upstream/main into users/mariusz-sikora-at-amd/gfx13/add-vimage-vsample
DeltaFile
+2,982-975llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+2,662-0llvm/test/MC/AMDGPU/gfx13_asm_vbuffer_mubuf.s
+544-713clang/test/CodeGenOpenCL/builtins-amdgcn-gfx1250.cl
+1,077-0llvm/test/Transforms/AggressiveInstCombine/popcount.ll
+431-406clang/test/CodeGen/scoped-atomic-ops.c
+751-0llvm/test/Transforms/InstCombine/AMDGPU/wave-shuffle-patterns.ll
+8,447-2,094865 files not shown
+21,003-7,570871 files

LLVM/project 3852f43llvm/test/CodeGen/AMDGPU llvm.amdgcn.permlane.gfx1250.ll llvm.amdgcn.permlane.down.ll

Split llvm.amdgcn.permlane.gfx1250.ll into multiple permlane.*.ll tests
DeltaFile
+0-6,053llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.gfx1250.ll
+1,489-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.down.ll
+1,489-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.up.ll
+1,489-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.xor.ll
+1,489-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.bcast.ll
+117-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.idx.gen.ll
+6,073-6,0536 files

LLVM/project 61a80callvm/lib/Transforms/Scalar NaryReassociate.cpp

update nary to use new uniformity api's
DeltaFile
+8-8llvm/lib/Transforms/Scalar/NaryReassociate.cpp
+8-81 files

LLVM/project aaad6a2lldb/source/ValueObject ValueObject.cpp, lldb/test/API/commands/frame/var-dil/expr/Casts TestFrameVarDILCast.py main.cpp

[lldb] Fix casting from float in `ValueObject::CastToEnumType` (#191908)

Fix how enum's underlying type sign is retrieved and adjust error
messaging.
DeltaFile
+15-0lldb/test/API/commands/frame/var-dil/expr/Casts/TestFrameVarDILCast.py
+6-5lldb/source/ValueObject/ValueObject.cpp
+6-0lldb/test/API/commands/frame/var-dil/expr/Casts/main.cpp
+27-53 files

LLVM/project 997e7d3llvm/include/llvm/Demangle ItaniumDemangle.h, llvm/unittests/Demangle DemangleTest.cpp

[ItaniumDemangle] Fix conversion operators failing to demangle types with substitutions
DeltaFile
+9-0llvm/unittests/Demangle/DemangleTest.cpp
+4-0llvm/include/llvm/Demangle/ItaniumDemangle.h
+13-02 files

LLVM/project 38fde8fmlir/lib/Interfaces MemorySlotInterfaces.cpp CMakeLists.txt

use walkSlice
DeltaFile
+14-16mlir/lib/Interfaces/MemorySlotInterfaces.cpp
+15-1mlir/lib/Interfaces/CMakeLists.txt
+29-172 files

LLVM/project 573ccb5mlir/include/mlir/Interfaces MemorySlotInterfaces.td MemorySlotInterfaces.h, mlir/lib/Interfaces MemorySlotInterfaces.cpp

rephrase descriptions
DeltaFile
+33-30mlir/include/mlir/Interfaces/MemorySlotInterfaces.td
+21-29mlir/include/mlir/Interfaces/MemorySlotInterfaces.h
+3-3mlir/lib/Interfaces/MemorySlotInterfaces.cpp
+57-623 files

LLVM/project 58abb90mlir/include/mlir/Interfaces MemorySlotInterfaces.td MemorySlotInterfaces.h, mlir/lib/Interfaces MemorySlotInterfaces.cpp

Move APIs in PromotableAliaserInterface  and split bidirectional conversion API.

Move the new APIs into a new PromotableAliaserInterface for more clarity.

Split convertSlotValue into two directional APIs:
- convertSlotValueToViewValue to be called before promoting a load on a view.
- projectViewValueToSlotValue to be called after promoting a store on a view.

projectViewValueToSlotValue also take the reaching def of the slot before the store
so that partial view can be promoted via insert/extract.
DeltaFile
+59-11mlir/include/mlir/Interfaces/MemorySlotInterfaces.td
+32-12mlir/lib/Interfaces/MemorySlotInterfaces.cpp
+19-10mlir/include/mlir/Interfaces/MemorySlotInterfaces.h
+11-9mlir/test/Transforms/mem2reg.mlir
+11-8mlir/test/lib/Dialect/Test/TestOps.td
+9-8mlir/lib/Transforms/Mem2Reg.cpp
+141-581 files not shown
+154-607 files

LLVM/project d87c715lldb/source/Plugins/LanguageRuntime/ObjC ObjCLanguageRuntime.cpp

[lldb][NFC] Use early returns in ObjCLanguageRuntime::GetDescriptorIterator (#197415)
DeltaFile
+27-27lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
+27-271 files

LLVM/project b65b38aoffload/liboffload/src OffloadImpl.cpp, offload/libomptarget interface.cpp omptarget.cpp

[offload] Clarify naming for block and thread numbers

As discussed in
https://github.com/llvm/llvm-project/pull/195102#discussion_r3205402105
and on Slack.
DeltaFile
+40-36offload/plugins-nextgen/common/src/PluginInterface.cpp
+9-9offload/libomptarget/interface.cpp
+10-7offload/plugins-nextgen/common/include/PluginInterface.h
+8-8offload/libomptarget/omptarget.cpp
+6-6offload/libomptarget/KernelLanguage/API.cpp
+6-6offload/liboffload/src/OffloadImpl.cpp
+79-722 files not shown
+87-808 files

LLVM/project 36e5ca0llvm/include/llvm/Demangle ItaniumDemangle.h, llvm/unittests/Demangle DemangleTest.cpp

[ItaniumDemangle] Fix conversion operators failing to demangle types with substitutions
DeltaFile
+9-0llvm/unittests/Demangle/DemangleTest.cpp
+4-0llvm/include/llvm/Demangle/ItaniumDemangle.h
+13-02 files

LLVM/project 35fc1d9llvm/lib/Transforms/Scalar NaryReassociate.cpp, llvm/test/Transforms/NaryReassociate/AMDGPU nary-add-uniform.ll

review: address suggestions
DeltaFile
+18-19llvm/lib/Transforms/Scalar/NaryReassociate.cpp
+4-2llvm/test/Transforms/NaryReassociate/AMDGPU/nary-add-uniform.ll
+22-212 files

LLVM/project abe8d11llvm/include/llvm/Transforms/Scalar NaryReassociate.h, llvm/lib/Transforms/Scalar NaryReassociate.cpp

review
DeltaFile
+5-1llvm/include/llvm/Transforms/Scalar/NaryReassociate.h
+1-0llvm/lib/Transforms/Scalar/NaryReassociate.cpp
+6-12 files

LLVM/project 932fa4dllvm/lib/Transforms/Scalar NaryReassociate.cpp

review: address suggestions
DeltaFile
+16-15llvm/lib/Transforms/Scalar/NaryReassociate.cpp
+16-151 files

LLVM/project 4cd5646llvm/lib/Transforms/Scalar NaryReassociate.cpp

review: address suggestions
DeltaFile
+21-29llvm/lib/Transforms/Scalar/NaryReassociate.cpp
+21-291 files

LLVM/project ff661bdllvm/include/llvm/Transforms/Scalar NaryReassociate.h

Update llvm/include/llvm/Transforms/Scalar/NaryReassociate.h

Co-authored-by: Jay Foad <jay.foad at amd.com>
DeltaFile
+1-1llvm/include/llvm/Transforms/Scalar/NaryReassociate.h
+1-11 files

LLVM/project da37c56llvm/lib/Transforms/Scalar NaryReassociate.cpp

delay fetching unifromity for target which don't need it
DeltaFile
+10-7llvm/lib/Transforms/Scalar/NaryReassociate.cpp
+10-71 files

LLVM/project 12b9683llvm/include/llvm/Transforms/Scalar NaryReassociate.h, llvm/lib/Transforms/Scalar NaryReassociate.cpp

review: address suggestion
DeltaFile
+8-6llvm/lib/Transforms/Scalar/NaryReassociate.cpp
+1-1llvm/include/llvm/Transforms/Scalar/NaryReassociate.h
+9-72 files

LLVM/project a3f5493llvm/include/llvm/Transforms/Scalar NaryReassociate.h, llvm/lib/Transforms/Scalar NaryReassociate.cpp

[NaryReassociate] Make uniformity-aware to prefer grouping uniform values
DeltaFile
+96-3llvm/lib/Transforms/Scalar/NaryReassociate.cpp
+5-5llvm/test/Transforms/NaryReassociate/AMDGPU/nary-add-uniform.ll
+6-3llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
+3-1llvm/include/llvm/Transforms/Scalar/NaryReassociate.h
+110-124 files

LLVM/project b82890ellvm/test/Transforms/NaryReassociate/AMDGPU nary-add-uniform.ll

[NaryReassociate][AMDGPU] Pre-commit test for uniformity-aware reassociation (NFC)
DeltaFile
+319-0llvm/test/Transforms/NaryReassociate/AMDGPU/nary-add-uniform.ll
+319-01 files

LLVM/project 1cec7b0llvm/include/llvm/IR VFABIDemangler.h, llvm/lib/CodeGen ReplaceWithVeclib.cpp

[NFCI][LV] Remove unsupported variable mask position for vector variants. (#197192)

We only support masks as the last argument of a vector function variant.
Make it official and remove the interface to query the position of the
mask.
DeltaFile
+7-16llvm/include/llvm/IR/VFABIDemangler.h
+7-13llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+2-3llvm/lib/CodeGen/ReplaceWithVeclib.cpp
+16-323 files

LLVM/project d805512lldb/source/Plugins/LanguageRuntime/ObjC ObjCLanguageRuntime.cpp

[lldb][NFCI] Delegate impl of ObjCLanguageRuntime::AddClass (#197410)

This is duplicated code.
DeltaFile
+1-7lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
+1-71 files

LLVM/project c7ec181llvm/lib/Target/AMDGPU SIInstrInfo.td VOP3Instructions.td

Rename true16(Lo|Hi)16ToReg32 to (lo|hi)16_to_vgpr32
DeltaFile
+2-2llvm/lib/Target/AMDGPU/SIInstrInfo.td
+2-2llvm/lib/Target/AMDGPU/VOP3Instructions.td
+4-42 files

LLVM/project 257262bclang/test/CodeGen scoped-atomic-ops.c, clang/test/CodeGenOpenCL builtins-amdgcn-gfx1250.cl

Rebase, address comments

Created using spr 1.3.7
DeltaFile
+2,982-975llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+544-713clang/test/CodeGenOpenCL/builtins-amdgcn-gfx1250.cl
+1,077-0llvm/test/Transforms/AggressiveInstCombine/popcount.ll
+431-406clang/test/CodeGen/scoped-atomic-ops.c
+751-0llvm/test/Transforms/InstCombine/AMDGPU/wave-shuffle-patterns.ll
+316-316llvm/test/CodeGen/RISCV/callee-saved-gprs.ll
+6,101-2,410842 files not shown
+16,327-7,320848 files

LLVM/project e218f70lldb/source/Plugins/Process/Linux NativeRegisterContextLinux_arm64.cpp NativeRegisterContextLinux_arm64.h, lldb/source/Plugins/Process/Utility RegisterInfoPOSIX_arm64.cpp RegisterInfoPOSIX_arm64.h

[lldb][AArch64][Linux] Remove Is<type of register> forwarding methods (#197412)

These don't add any utility and just make you wonder if we're doing
something more than the register info object can do. We are not.

Except for GPR and FPR, but nothing so complex that the register info
cannot do it too, so I've moved those into there.
DeltaFile
+19-65lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
+0-13lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
+10-0lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp
+2-0lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h
+31-784 files