LLVM/project 0129251clang/include/clang/CIR/Dialect/IR CIROps.td, clang/test/CIR/IR cleanup-scope.cir

[CIR] Allow return from cleanup scope op (#179820)

When the cir.cleanup.scope operation was added, it was not added to the
list of "returnable" operations. This fixes that oversight.
DeltaFile
+20-0clang/test/CIR/IR/cleanup-scope.cir
+1-1clang/include/clang/CIR/Dialect/IR/CIROps.td
+21-12 files

LLVM/project fab5b18llvm/test/CodeGen/NVPTX atomicrmw-sm60.ll atomicrmw-sm70.ll

Reland "[NVPTX][AtomicExpandPass] Complete support for AtomicRMW in NVPTX (#176015)" (#179553)

This PR adds full support for atomicrmw in NVPTX. This includes:

- Memory order and syncscope support (changes in AtomicExpandPass.cpp,
NVPTXIntrinsics.td)

- Script-generated tests for integer and atomic operations
(atomicrmw.py, atomicrmw-sm*.ll in tests/CodeGen/NVPTX). Existing
atomics tests which are subsumed by these have been removed
(atomics-sm*.ll, atomics.ll, atomicrmw-expand.ll).

- ~~Changes shouldExpandAtomicRMWInIR to take a constant argument: This
is to allow some other TargetLowering constant-argument functions to
call it. This change touches several backends. An alternative solution
exists, but to me, this seems the "right" way.~~ Has been split out into
https://github.com/llvm/llvm-project/pull/176073. Rebased.

- NOTE: The initial load issued for atomicrmw emulation loops (and

    [6 lines not shown]
DeltaFile
+3,137-0llvm/test/CodeGen/NVPTX/atomicrmw-sm60.ll
+3,111-0llvm/test/CodeGen/NVPTX/atomicrmw-sm70.ll
+2,983-0llvm/test/CodeGen/NVPTX/atomicrmw-sm90.ll
+3-476llvm/test/CodeGen/NVPTX/atomics.ll
+0-151llvm/test/CodeGen/NVPTX/atomicrmw-expand.ll
+0-147llvm/test/CodeGen/NVPTX/atomics-sm90.ll
+9,234-7748 files not shown
+9,549-1,05314 files

LLVM/project 87db215clang/lib/CIR/CodeGen CIRGenCUDANV.cpp, clang/test/CIR/CodeGenCUDA kernel-call.cu

[CIR][HIP] Add Stub body emission test coverage and Fix kernelHandle storage
DeltaFile
+12-2clang/test/CIR/CodeGenCUDA/kernel-call.cu
+3-7clang/lib/CIR/CodeGen/CIRGenCUDANV.cpp
+15-92 files

LLVM/project 4d0d5b8llvm/lib/Target/AMDGPU SIInstrInfo.cpp

[AMDGPU] Non convergent readfirstlane does not depend on EXEC. NFCI.
DeltaFile
+1-1llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+1-11 files

LLVM/project 7d29d43clang/lib/AST ASTContext.cpp, clang/lib/CodeGen CodeGenFunction.cpp CodeGenModule.cpp

clang-format
DeltaFile
+18-13clang/lib/CodeGen/CodeGenFunction.cpp
+16-13clang/lib/CodeGen/CodeGenModule.cpp
+7-7clang/lib/CodeGen/TargetBuiltins/PPC.cpp
+3-2clang/lib/CodeGen/CodeGenFunction.h
+4-1clang/lib/AST/ASTContext.cpp
+2-3clang/lib/CodeGen/Targets/PPC.cpp
+50-391 files not shown
+51-417 files

LLVM/project 72ced46clang/test/Sema attr-target.c

fix Sema/attr-target.c
DeltaFile
+5-7clang/test/Sema/attr-target.c
+5-71 files

LLVM/project 6e4997eclang/lib/Basic/Targets PPC.cpp PPC.h, clang/lib/CodeGen CodeGenFunction.cpp CodeGenModule.cpp

clang codegen for target_clones
DeltaFile
+68-2clang/lib/CodeGen/CodeGenFunction.cpp
+56-0clang/lib/Sema/SemaPPC.cpp
+47-0clang/lib/CodeGen/Targets/PPC.cpp
+36-0clang/lib/Basic/Targets/PPC.cpp
+6-4clang/lib/CodeGen/CodeGenModule.cpp
+4-0clang/lib/Basic/Targets/PPC.h
+217-65 files not shown
+231-711 files

LLVM/project 104732cclang/lib/Basic/Targets PPC.cpp

fix PPCTargetInfo::parseTargetAttr
DeltaFile
+14-12clang/lib/Basic/Targets/PPC.cpp
+14-121 files

LLVM/project bdd750eclang/lib/CodeGen CodeGenModule.cpp

ignore target_clones on a declaration and internalize the resolver and the clones
DeltaFile
+34-6clang/lib/CodeGen/CodeGenModule.cpp
+34-61 files

LLVM/project 2dc3d49clang/lib/CodeGen CodeGenFunction.h, clang/lib/CodeGen/TargetBuiltins PPC.cpp

refactor EmitPPCBuiltinCpu
DeltaFile
+35-27clang/lib/CodeGen/TargetBuiltins/PPC.cpp
+1-0clang/lib/CodeGen/CodeGenFunction.h
+36-272 files

LLVM/project dbafda5.ci compute_projects_test.py compute_projects.py

[CI] Move libclc to runtimes (#179795)

https://github.com/llvm/llvm-project/pull/179485 deprecated enabling
this as a project which will cause premerge to fail in CMake when
testing it (currently only done when touching libclc, .ci, or .github).
DeltaFile
+8-8.ci/compute_projects_test.py
+1-2.ci/compute_projects.py
+9-102 files

LLVM/project 400fd84llvm/lib/Analysis VectorUtils.cpp, llvm/lib/Transforms/Vectorize VPlanRecipes.cpp

Revert "[LoopVectorize] Support vectorization of overflow intrinsics (#174835)"

This reverts commit 04baf1105f53632802e60030a31e0607d1153653.
DeltaFile
+1-469llvm/test/Transforms/LoopVectorize/multiple-result-intrinsics.ll
+1-73llvm/test/Transforms/LoopVectorize/AArch64/multiple-result-intrinsics.ll
+15-18llvm/test/Transforms/LoopVectorize/struct-return.ll
+9-6llvm/lib/Analysis/VectorUtils.cpp
+1-6llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+27-5725 files

LLVM/project 2887813llvm/test/Transforms/SLPVectorizer/X86 shl-to-add-transformation4.ll

[SLP][NFC]Add another test for shl-to-add transformation, NFC
DeltaFile
+57-0llvm/test/Transforms/SLPVectorizer/X86/shl-to-add-transformation4.ll
+57-01 files

LLVM/project 3818d01llvm/lib/Transforms/InstCombine InstCombineSelect.cpp InstCombineAndOrXor.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in logical op creation and select folding
DeltaFile
+12-0llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+8-2llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+0-1llvm/utils/profcheck-xfail.txt
+20-33 files

LLVM/project 34e67dbllvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine zext-bool-add-sub.ll

[InstCombine][profcheck] Fix missing profdata for zext/sext transform and update tests
DeltaFile
+0-49llvm/utils/profcheck-xfail.txt
+8-12llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+1-1llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll
+9-623 files

LLVM/project 59b3596llvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine zext-bool-add-sub.ll

[InstCombine][profcheck] Fix missing profdata for zext transform.
DeltaFile
+17-4llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+9-5llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll
+0-1llvm/utils/profcheck-xfail.txt
+26-103 files

LLVM/project d48f199llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in select factorization folding
DeltaFile
+12-12llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+0-1llvm/utils/profcheck-xfail.txt
+12-132 files

LLVM/project 9b001d2llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in nested select folding
DeltaFile
+6-2llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+1-1llvm/utils/profcheck-xfail.txt
+7-32 files

LLVM/project 5c73ba8llvm/lib/Transforms/InstCombine InstCombineShifts.cpp InstCombineAddSub.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in shift-of-select folding
DeltaFile
+8-2llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
+3-0llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+2-1llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+0-1llvm/utils/profcheck-xfail.txt
+13-44 files

LLVM/project 032a262llvm/lib/Transforms/Utils SimplifyLibCalls.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Comprehensive fix for missing profile metadata in libcall simplifications
DeltaFile
+50-22llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+50-232 files

LLVM/project 76e3e6dllvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in symmetric select folding
DeltaFile
+6-3llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+0-1llvm/utils/profcheck-xfail.txt
+6-42 files

LLVM/project 2f8e52cllvm/lib/Transforms/Utils SimplifyLibCalls.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Set unknown profile metadata in memchr-to-select folding
DeltaFile
+10-1llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+10-22 files

LLVM/project b8722f8llvm/lib/Transforms/InstCombine InstCombineCalls.cpp InstCombineSelect.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in clamp folds and fix verifier errors
DeltaFile
+18-5llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+5-4llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+0-1llvm/utils/profcheck-xfail.txt
+23-103 files

LLVM/project b483610llvm/lib/Transforms/InstCombine InstCombineShifts.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Set unknown profile metadata in lshr-to-select folding
DeltaFile
+8-1llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
+0-1llvm/utils/profcheck-xfail.txt
+8-22 files

LLVM/project bdfc75allvm/lib/Transforms/InstCombine InstCombineAndOrXor.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Set unknown profile metadata in logic-to-select folding
DeltaFile
+3-0llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+0-1llvm/utils/profcheck-xfail.txt
+3-12 files

LLVM/project a8b3675llvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine fneg.ll

InstCombine: Propagate profile metadata in fneg(select) folding
DeltaFile
+8-4llvm/test/Transforms/InstCombine/fneg.ll
+6-0llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+0-1llvm/utils/profcheck-xfail.txt
+14-53 files

LLVM/project 7065b4dllvm/lib/Transforms/Utils SimplifyLibCalls.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in SimplifyLibCalls for FFS
DeltaFile
+15-1llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+15-22 files

LLVM/project e3bd4a0llvm/lib/Transforms/InstCombine InstCombineSelect.cpp InstCombineCalls.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in select(ldexp) and ldexp(select) folding
DeltaFile
+11-2llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+5-0llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+16-33 files

LLVM/project ef2e948llvm/lib/Transforms/InstCombine InstCombineCalls.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in ldexp(zext) folding
DeltaFile
+10-0llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+10-12 files

LLVM/project 3e46d26llvm/lib/Transforms/InstCombine InstCombineMulDivRem.cpp, llvm/test/Transforms/InstCombine fmul.ll

InstCombine: Propagate profile metadata in mul(select) folding
DeltaFile
+50-8llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
+5-3llvm/test/Transforms/InstCombine/fmul.ll
+0-1llvm/utils/profcheck-xfail.txt
+55-123 files