LLVM/project 57c8112llvm/test/CodeGen/AMDGPU sad.ll scalar_to_vector_v2x16.ll

AMDGPU: Replace test uses of ptr addrspace(5) undef with poison
DeltaFile
+6-6llvm/test/CodeGen/AMDGPU/sad.ll
+4-4llvm/test/CodeGen/AMDGPU/scalar_to_vector_v2x16.ll
+3-3llvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-select.ll
+3-3llvm/test/CodeGen/AMDGPU/memory-legalizer-multiple-mem-operands-atomics.mir
+2-2llvm/test/CodeGen/AMDGPU/private-access-no-objects.ll
+2-2llvm/test/CodeGen/AMDGPU/collapse-endcf.ll
+20-209 files not shown
+29-2915 files

LLVM/project fd4a1d8llvm/test/CodeGen/AMDGPU mfma-bf16-vgpr-cd-select.ll mfma-vgpr-cd-select.ll, llvm/test/CodeGen/AMDGPU/GlobalISel call-outgoing-stack-args.ll

AMDGPU: Replace some test undef uses with poison
DeltaFile
+9-9llvm/test/CodeGen/AMDGPU/mfma-bf16-vgpr-cd-select.ll
+5-5llvm/test/CodeGen/AMDGPU/mfma-vgpr-cd-select.ll
+2-2llvm/test/CodeGen/AMDGPU/v1024.ll
+2-2llvm/test/CodeGen/AMDGPU/ret_jump.ll
+2-2llvm/test/CodeGen/AMDGPU/sgpr-copy.ll
+2-2llvm/test/CodeGen/AMDGPU/GlobalISel/call-outgoing-stack-args.ll
+22-227 files not shown
+30-3013 files

LLVM/project 7ebd099llvm/test/CodeGen/AMDGPU memory-legalizer-local.mir memory-legalizer-region.mir, llvm/test/CodeGen/AMDGPU/GlobalISel function-returns.ll irtranslator-call.ll

AMDGPU: Replace ptr addrspace(4) undef uses with poison in tests
DeltaFile
+92-92llvm/test/CodeGen/AMDGPU/memory-legalizer-local.mir
+92-92llvm/test/CodeGen/AMDGPU/memory-legalizer-region.mir
+32-32llvm/test/CodeGen/AMDGPU/GlobalISel/function-returns.ll
+28-28llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-call.ll
+18-18llvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
+16-16llvm/test/CodeGen/AMDGPU/function-returns.ll
+278-27830 files not shown
+375-37536 files

LLVM/project 7251260llvm/test/CodeGen/AMDGPU merge-global-load-store.mir fold-imm-f16-f32.mir

AMDGPU: Replace more undef test pointer uses with poison
DeltaFile
+179-179llvm/test/CodeGen/AMDGPU/merge-global-load-store.mir
+85-85llvm/test/CodeGen/AMDGPU/fold-imm-f16-f32.mir
+46-46llvm/test/CodeGen/AMDGPU/memory-legalizer-region.mir
+46-46llvm/test/CodeGen/AMDGPU/memory-legalizer-local.mir
+32-32llvm/test/CodeGen/AMDGPU/fp-atomic-to-s_denormmode.mir
+29-29llvm/test/CodeGen/AMDGPU/merge-flat-with-global-load-store.mir
+417-41712 files not shown
+480-48018 files

LLVM/project 306b6edllvm/test/CodeGen/AMDGPU mdt-preserving-crash.ll

AMDGPU: Use generated checks in test missing checks
DeltaFile
+65-3llvm/test/CodeGen/AMDGPU/mdt-preserving-crash.ll
+65-31 files

LLVM/project 45508d8llvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU fma_legacy.ll

AMDGPU: Make fma_legacy intrinsic propagate poison
DeltaFile
+24-0llvm/test/Transforms/InstCombine/AMDGPU/fma_legacy.ll
+5-0llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+29-02 files

LLVM/project cd3c53bllvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU fmul_legacy.ll

AMDGPU: Make fmul_legacy intrinsic propagate poison
DeltaFile
+16-0llvm/test/Transforms/InstCombine/AMDGPU/fmul_legacy.ll
+5-0llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+21-02 files

LLVM/project 4b8aef2llvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU amdgcn-intrinsics.ll

AMDGPU: Make fmed3 intrinsic propagate poison
DeltaFile
+24-0llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
+5-0llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+29-02 files

LLVM/project bd6f2f2llvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU amdgcn-intrinsics.ll

Only propagate if both inputs poison
DeltaFile
+16-8llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
+2-1llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+18-92 files

LLVM/project be3d513llvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU amdgcn-intrinsics.ll

AMDGPU: Make ballot intrinsic propagate poison
DeltaFile
+16-0llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
+5-1llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+21-12 files

LLVM/project 2284667llvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU amdgcn-intrinsics.ll

AMDGPU: Make cvt_pknorm and cvt_pk intrinsics propagate poison
DeltaFile
+96-0llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
+3-0llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+99-02 files

LLVM/project 315c02allvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize reduction-inloop.ll

[VPlan] Fix crash with inloop fmuladd reductions with blend (#131154)

When visiting in-loop reduction links, we previously crashed if we had
an fmuladd with a blend after it in the chain. This fixes it by lifting
the existing blend folding to also handle fmuladd.

This also simplifies the code structure slightly for an upcoming patch I
want to post to handle in-loop AnyOf reductions.

I removed the PhiR->isInLoop() check since it's already guarded at the
top of the parent Header->Phis() loop.
DeltaFile
+89-6llvm/test/Transforms/LoopVectorize/reduction-inloop.ll
+13-14llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+102-202 files

LLVM/project f23bbf6llvm/lib/Target/X86 X86PreTileConfig.cpp

[X86] Avoid repeated hash lookups (NFC) (#131069)

DeltaFile
+1-1llvm/lib/Target/X86/X86PreTileConfig.cpp
+1-11 files

LLVM/project f4ee62cllvm/lib/Transforms/IPO IROutliner.cpp

[IPO] Avoid repeated hash lookups (NFC) (#131068)

DeltaFile
+10-7llvm/lib/Transforms/IPO/IROutliner.cpp
+10-71 files

LLVM/project e838ca1llvm/lib/CodeGen RDFLiveness.cpp

[CodeGen] Avoid repeated hash lookups (NFC) (#131067)

DeltaFile
+2-4llvm/lib/CodeGen/RDFLiveness.cpp
+2-41 files

LLVM/project ca641b2llvm/lib/Analysis MemoryDependenceAnalysis.cpp

[Analysis] Avoid repeated hash lookups (NFC) (#131066)

DeltaFile
+4-2llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
+4-21 files

LLVM/project 7714df9clang/lib/Sema SemaOpenACCClause.cpp

[Sema] Avoid repeated hash lookups (NFC) (#131065)

DeltaFile
+3-3clang/lib/Sema/SemaOpenACCClause.cpp
+3-31 files

LLVM/project dec5589clang/lib/AST ASTImporter.cpp

[AST] Avoid repeated hash lookups (NFC) (#131064)

DeltaFile
+4-5clang/lib/AST/ASTImporter.cpp
+4-51 files

LLVM/project 8437b7flibc/shared rpc_server.h, libc/src/__support/RPC rpc_server.h

[libc] Make RPC server handling header only (#131205)

Summary:
This patch moves the RPC server handling to be a header only utility
stored in the `shared/` directory. This is intended to be shared within
LLVM for the loaders and `offload/` handling.

Generally, this makes it easier to share code without weird
cross-project binaries being plucked out of the build system. It also
allows us to soon move the loader interface out of the `libc` project so
that we don't need to bootstrap those and can build them in LLVM.
DeltaFile
+546-0libc/src/__support/RPC/rpc_server.h
+0-518libc/utils/gpu/server/rpc_server.cpp
+0-30libc/utils/gpu/server/CMakeLists.txt
+22-0libc/shared/rpc_server.h
+0-19runtimes/cmake/Modules/FindLibcCommonUtils.cmake
+19-0llvm/cmake/modules/FindLibcCommonUtils.cmake
+587-5679 files not shown
+606-60915 files

LLVM/project 214d47allvm/include/llvm/SandboxIR PassManager.h, llvm/unittests/SandboxIR PassTest.cpp

[SandboxVec][PassManager][NFC] Fix PM printing

It currently prints '(' instead of '<'. This patch fixes it.
DeltaFile
+9-9llvm/include/llvm/SandboxIR/PassManager.h
+2-2llvm/unittests/SandboxIR/PassTest.cpp
+11-112 files

LLVM/project 299cb5dllvm Maintainers.md

[LLVM] Update llvm-mca / MCA maintainers (#131187)

Adding myself as a co-maintainer alongside @adibiagio , who invited me
to take on this role.
DeltaFile
+3-1llvm/Maintainers.md
+3-11 files

LLVM/project dcec224clang/docs ReleaseNotes.rst, clang/include/clang/Lex LiteralSupport.h

Lex: add support for `i128` and `ui128` suffixes (#130993)

Microsoft's compiler supports an extension for 128-bit literals. This is
referenced in `intsafe.h` which is included transitievly. When building
with modules, the literal parsing causes a failure due to the missing
support for the extension. To alleviate this issue, support parsing this
literal, especially now that there is the BitInt extension.

Take the opportunity to tighten up the code slightly by ensuring that we
do not access out-of-bounds characters when lexing the token.
DeltaFile
+16-2clang/test/Lexer/ms-extensions.c
+12-4clang/lib/Sema/SemaExpr.cpp
+9-5clang/lib/Lex/LiteralSupport.cpp
+2-2clang/include/clang/Lex/LiteralSupport.h
+4-0clang/docs/ReleaseNotes.rst
+43-135 files

LLVM/project 3b5842cllvm/include/llvm/ExecutionEngine/Orc/Shared AllocationActions.h, llvm/lib/ExecutionEngine/JITLink JITLinkMemoryManager.cpp

[ORC] Make runAllocActions and runDeallocActions asynchorous.

Part of ongoing work to make core ORC operations asynchronous.

This only affects the runner utilities, not the AllocationActions themselves.
The AllocationActions will be made asynchronous in a future patch.
DeltaFile
+33-22llvm/lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp
+20-8llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp
+18-8llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
+15-7llvm/lib/ExecutionEngine/Orc/Shared/AllocationActions.cpp
+10-3llvm/include/llvm/ExecutionEngine/Orc/Shared/AllocationActions.h
+96-485 files

LLVM/project 864a53bclang/test/Misc time-passes.c, llvm/include/llvm/IR PassTimingInfo.h

Reapply "Use global TimerGroups for both new pass manager and old pass manager timers" (#131173) (#131217)

This reverts commit 31ebe6647b7f1fc7f6778a5438175b12f82357ae.

The reason for the test failure is likely due to
`Name2PairMap::getTimerGroup(...)` not holding a lock.
DeltaFile
+9-21llvm/lib/IR/PassTimingInfo.cpp
+22-5llvm/lib/Support/Timer.cpp
+11-7llvm/include/llvm/IR/PassTimingInfo.h
+5-0llvm/include/llvm/Support/Timer.h
+2-2llvm/unittests/IR/TimePassesTest.cpp
+0-1clang/test/Misc/time-passes.c
+49-366 files

LLVM/project d0c8695llvm/lib/Support LockFileManager.cpp

[Support] Prevent leaking unique lock files (#130984)

Prior to this PR, failing to get the host ID would leave the unique lock
file on the file system. This is now fixed by constructing
`RemoveUniqueLockFileOnSignal` earlier. This PR also removes one call to
`sys::fs::remove()` that is now redundant and another that was redundant
even before this patch.
DeltaFile
+4-9llvm/lib/Support/LockFileManager.cpp
+4-91 files

LLVM/project e26bcf1llvm/lib/CodeGen SplitKit.cpp

[CodeGen] Use early return to simplify SplitEditor::defFromParent [NFC]
DeltaFile
+26-28llvm/lib/CodeGen/SplitKit.cpp
+26-281 files

LLVM/project befa037mlir/test/Dialect/Affine invalid-reify-bound-dim.mlir, mlir/test/lib/Dialect/Affine TestReifyValueBounds.cpp

[mlir][affine] Guard invalid dim attribute in the test-reify-bound pass (#129013)

Computing the bound of affine op
(ValueBoundsConstraintSet::computeBound) crashes due to the invalid dim
value given to the op. It is necessary for the pass to check the dim
attribute not to be greater than the rank of the input type.

Fixes https://github.com/llvm/llvm-project/issues/128807
DeltaFile
+47-0mlir/test/Dialect/Affine/invalid-reify-bound-dim.mlir
+21-0mlir/test/lib/Dialect/Affine/TestReifyValueBounds.cpp
+68-02 files

LLVM/project fc28f83llvm/test/Transforms/SLPVectorizer/AMDGPU extract-ordering.ll

[SLP] Precommit test (#131236)

Precommit test for https://github.com/llvm/llvm-project/pull/131229
DeltaFile
+150-0llvm/test/Transforms/SLPVectorizer/AMDGPU/extract-ordering.ll
+150-01 files

LLVM/project ab58a3ccompiler-rt/test/sanitizer_common/TestCases/Darwin malloc_zone.cpp

XFAIL malloc_zone.cpp for darwin/lsan (#131234)

Silence darwin bot while we investigate the problem

rdar://145873843

Co-authored-by: Mariusz Borsa <m_borsa at apple.com>
DeltaFile
+2-0compiler-rt/test/sanitizer_common/TestCases/Darwin/malloc_zone.cpp
+2-01 files

LLVM/project 55e5e74llvm/lib/Target/RISCV RISCVInstrInfoVPseudos.td

[RISCV] Remove some unnecessary hasSideEffects = 0 and sink some to their base class. NFC (#131044)

Some of these were already present in their base class and therefore
redundant. Others were missing from their base classes. Maybe leftover
from when VXRM was modeled with side effects?
DeltaFile
+11-23llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
+11-231 files