LLVM/project 721cddfllvm/test/Transforms/SLPVectorizer/AMDGPU inst-count-heuristic.ll

[SLP][NFC]Add a test with inst count heuristic for AMDHSA, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/199693
DeltaFile
+144-0llvm/test/Transforms/SLPVectorizer/AMDGPU/inst-count-heuristic.ll
+144-01 files

OpenBSD/ports JuVHzTXaudio/gmpc/patches patch-src_browsers_playlist3-current-playlist-browser_c

   audio/gmpc: blindly add a #pragma to fix build errors with llvm 22

   #pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
   is already found in many source files for gmpc, which is on life support
   anyway :)
VersionDeltaFile
1.2+14-2audio/gmpc/patches/patch-src_browsers_playlist3-current-playlist-browser_c
+14-21 files

LLVM/project e8d5037clang/test/ASTMerge/class-template-spec test.cpp, clang/test/ASTMerge/class-template-spec/Inputs class-template-spec.cpp

[clang] NFC: readd test cases reverted in 79f4d8f014 (#199676)

This adds back the test cases reverted in 79f4d8f014

We need some sort of process to stop losing regression tests due to
reverts...
DeltaFile
+110-0clang/test/CXX/temp/temp.spec/temp.expl.spec/p7.cpp
+47-0clang/test/ASTMerge/class-template-spec/Inputs/class-template-spec.cpp
+8-0clang/test/ASTMerge/class-template-spec/test.cpp
+165-03 files

LLVM/project 3a25f7bclang/lib/AST Decl.cpp DeclCXX.cpp, clang/lib/Sema SemaLookup.cpp

[clang] preserve exact redeclaration for getTemplateInstantiationPattern (#199473)

This makes these functions not always return the definition if any. The
few users which depend on this are updated to fetch the definition
themselves.

Also fixes the VarDecl variant returning the queried declaration itself.
DeltaFile
+7-28clang/lib/AST/Decl.cpp
+9-10clang/test/AST/ast-dump-templates-pattern.cpp
+3-10clang/lib/AST/DeclCXX.cpp
+6-6clang/test/AST/ast-dump-decl.cpp
+6-4clang/lib/Sema/SemaLookup.cpp
+1-1clang/lib/StaticAnalyzer/Core/BugSuppression.cpp
+32-592 files not shown
+34-618 files

LLVM/project 977b460mlir/include/mlir/IR BuiltinOps.td

drop unrealized_conversion_cast change
DeltaFile
+3-3mlir/include/mlir/IR/BuiltinOps.td
+3-31 files

LLVM/project 1f644aamlir/docs Tokens.md LangRef.md

address comments: symbols / IsolatedFromAbove
DeltaFile
+6-1mlir/docs/Tokens.md
+1-2mlir/docs/LangRef.md
+7-32 files

LLVM/project d510483mlir/docs Tokens.md LangRef.md

move structural contract to LangRef
DeltaFile
+20-40mlir/docs/Tokens.md
+27-6mlir/docs/LangRef.md
+47-462 files

LLVM/project 4b84c10mlir/docs Tokens.md

Update mlir/docs/Tokens.md

Co-authored-by: Mehdi Amini <joker.eph at gmail.com>
DeltaFile
+2-1mlir/docs/Tokens.md
+2-11 files

LLVM/project 8f218f9mlir/docs Tokens.md, mlir/docs/Traits _index.md

[mlir][IR] Require token producer and consumer traits

Add marker traits for operations that intentionally produce or consume the
builtin token type. The verifier now rejects token results without
TokenProducerTrait, token operands without TokenConsumerTrait, token entry
block arguments whose parent op does not produce tokens, and token block
arguments outside entry blocks.

Extend the Test dialect token ops to cover valid opt-in cases and each
verifier rejection path.

Assisted-by: Codex
DeltaFile
+100-2mlir/test/IR/token-type.mlir
+93-3mlir/lib/IR/Verifier.cpp
+28-3mlir/test/lib/Dialect/Test/TestOps.td
+14-7mlir/docs/Tokens.md
+14-0mlir/docs/Traits/_index.md
+12-0mlir/include/mlir/IR/OpDefinition.h
+261-152 files not shown
+268-168 files

LLVM/project b917cfdmlir/docs Tokens.md

address comments
DeltaFile
+2-3mlir/docs/Tokens.md
+2-31 files

LLVM/project 63fea96mlir/test/Dialect/Builtin/Bytecode builtin_fixed_0.mlirbc

regenerate bytecode
DeltaFile
+0-0mlir/test/Dialect/Builtin/Bytecode/builtin_fixed_0.mlirbc
+0-01 files

LLVM/project 3f01feamlir/include/mlir/Dialect/LLVMIR LLVMIntrinsicOps.td LLVMOps.td, mlir/lib/Dialect/LLVMIR/IR LLVMTypeSyntax.cpp LLVMTypes.cpp

remove LLVM token type
DeltaFile
+23-37mlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
+15-10mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
+11-11mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp
+9-9mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
+7-7mlir/test/Target/LLVMIR/Import/intrinsic.ll
+6-7mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
+71-8112 files not shown
+94-10918 files

LLVM/project 2f3be65mlir/docs/Dialects LLVM.md, mlir/lib/IR Verifier.cpp

address comments
DeltaFile
+5-9mlir/lib/IR/Verifier.cpp
+1-2mlir/docs/Dialects/LLVM.md
+6-112 files

LLVM/project 9e80f60mlir/docs Tokens.md

call out IsolatedFromAbove restriction
DeltaFile
+4-0mlir/docs/Tokens.md
+4-01 files

LLVM/project 1972092mlir/docs Tokens.md LangRef.md

rewrite design contract
DeltaFile
+13-9mlir/docs/Tokens.md
+9-2mlir/docs/LangRef.md
+22-112 files

LLVM/project 3cf9df3mlir/docs Tokens.md LangRef.md, mlir/include/mlir/IR CommonTypeConstraints.td

address comments
DeltaFile
+17-21mlir/docs/Tokens.md
+2-17mlir/test/IR/token-type.mlir
+1-8mlir/include/mlir/IR/CommonTypeConstraints.td
+0-7mlir/test/lib/Dialect/Test/TestOps.td
+2-1mlir/docs/LangRef.md
+22-545 files

LLVM/project 58230e3mlir/docs Tokens.md, mlir/lib/Conversion/AsyncToLLVM AsyncToLLVM.cpp

[mlir][IR] Add builtin `TokenTypeInterface`

type instead of type interface

add bytecode
DeltaFile
+104-0mlir/docs/Tokens.md
+36-24mlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
+60-0mlir/test/IR/token-type.mlir
+18-17mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
+30-0mlir/test/lib/Dialect/Test/TestOps.td
+12-12mlir/test/Dialect/SparseTensor/invalid.mlir
+260-5324 files not shown
+365-9530 files

LLVM/project 0425fbamlir/docs Tokens.md

Update mlir/docs/Tokens.md

Co-authored-by: Mehdi Amini <joker.eph at gmail.com>
DeltaFile
+2-0mlir/docs/Tokens.md
+2-01 files

LLVM/project fbbaa54mlir/lib/Dialect/Async/Transforms AsyncToAsyncRuntime.cpp, mlir/test/Dialect/Async async-to-async-runtime.mlir

[mlir][async] Lazily create the coroutine destroy-cleanup block (#199583)

`setupCoroMachinery` previously emitted a `cleanupForDestroy` block
unconditionally, alongside the normal `cleanup` block. That block is
only ever used as the "destroy" successor of an `async.coro.suspend`, so
for coroutines that never suspend (e.g. an `async.func` whose body
contains no `async.await`) it ended up unreachable in the lowered CFG.

Make `cleanupForDestroy` mirror the existing `setError` (and
`setupSetErrorBlock`) pattern and materialize it lazily via a new
`setupCleanupForDestroyBlock` helper, called only from the two places
(`outlineExecuteOp` and the `async.await` lowering) that actually wire
it up. Store the coroutine id on `CoroMachinery` so the helper can
rebuild the block contents without keeping the original `async.coro.id`
op around.

This change is in preparation of adding a new builtin token type. Dead
`async.coro.free` ops are inefficient and cause problems in the lowering
to LLVM.

Assisted-by: Opus 4.7
DeltaFile
+33-15mlir/lib/Dialect/Async/Transforms/AsyncToAsyncRuntime.cpp
+33-0mlir/test/Dialect/Async/async-to-async-runtime.mlir
+66-152 files

FreeBSD/ports 564f77bnet/hostapd-devel distinfo Makefile

net/hostapd-devel: Update to the latest GH commit

Update to the latest w1.fi commit, proxied through my GH account
DeltaFile
+3-3net/hostapd-devel/distinfo
+2-2net/hostapd-devel/Makefile
+5-52 files

FreeBSD/ports 687a520security/wpa_supplicant-devel Makefile distinfo

security/wpa_supplicant-devel: Update to latest GH commit

Update to the latest w1.fi commit, proxied through my GH account.
DeltaFile
+4-3security/wpa_supplicant-devel/Makefile
+3-3security/wpa_supplicant-devel/distinfo
+7-62 files

LLVM/project 7ab21eb

Merge remote-tracking branch 'official/users/meinersbur/flang_builtin-mods_3' into users/meinersbur/flang_builtin-mods_3
DeltaFile
+0-00 files

LLVM/project 97e3becflang-rt/lib/runtime CMakeLists.txt __fortran_builtins.f90

Apply suggestions by @jhuber6
DeltaFile
+20-20flang-rt/lib/runtime/CMakeLists.txt
+1-1flang-rt/lib/runtime/__fortran_builtins.f90
+21-212 files

OpenBSD/ports TndElmEwww/mozilla-firefox distinfo Makefile

   www/mozilla-firefox: MFC update to 151.0.2.

   see https://www.firefox.com/en-US/firefox/151.0.2/releasenotes/
VersionDeltaFile
1.397.2.2+2-2www/mozilla-firefox/distinfo
1.680.2.3+1-1www/mozilla-firefox/Makefile
+3-32 files

OpenBSD/ports XB1kYurwww/firefox-i18n distinfo Makefile.inc, www/mozilla-firefox distinfo Makefile

   www/mozilla-firefox: update to 151.0.2.

   see https://www.firefox.com/en-US/firefox/151.0.2/releasenotes/
VersionDeltaFile
1.389+164-164www/firefox-i18n/distinfo
1.402+2-2www/mozilla-firefox/distinfo
1.344+1-1www/firefox-i18n/Makefile.inc
1.686+1-1www/mozilla-firefox/Makefile
+168-1684 files

LLVM/project ca9884dclang-tools-extra/clangd SemanticHighlighting.cpp Selection.cpp, clang/include/clang/AST DeclarationName.h

[clang] Add missing type source info of `decltype` specifier in destructor call to AST (#197680)

The type source info will be stored in `MemberExpr::MemberDNLoc`.

This patch fixes the underlying issue of #195788.
DeltaFile
+12-13clang-tools-extra/clangd/SemanticHighlighting.cpp
+8-10clang/unittests/Tooling/Syntax/BuildTreeTest.cpp
+4-10clang-tools-extra/clangd/Selection.cpp
+5-1clang/lib/Sema/SemaExprCXX.cpp
+2-2clang/include/clang/AST/DeclarationName.h
+2-2clang/test/AST/ast-dump-expr-json.cpp
+33-382 files not shown
+35-398 files

LLVM/project cb96a3eclang/test/Driver clang-offload-bundler.c linker-wrapper-image.c, clang/test/OffloadTools/clang-linker-wrapper linker-wrapper-image.c linker-wrapper.c

[clang][test] Move offload tools tests to clang/test/OffloadTools (#198434)

Tests for clang-offload-bundler, clang-linker-wrapper,
clang-nvlink-wrapper, and clang-sycl-linker were scattered across
clang/test/Driver/ and clang/test/Tooling/. Neither location was
appropriate: Driver/ is for testing the compiler driver, and Tooling/ is
for testing the LibTooling infrastructure.

Move them to clang/test/OffloadTools/ with one subdirectory per tool,
following the convention used by llvm/test/tools/. The tool-name prefix
is dropped from filenames since the containing directory already
identifies the tool.

The spirv-tools feature/substitution setup is carried over from
Tooling's lit.local.cfg into a new lit.local.cfg in
clang-linker-wrapper/, since the parent clang/test/lit.cfg.py does not
set up that feature. The dead spirv-tools block is removed from
Tooling/lit.local.cfg now that no tests there depend on it.


    [3 lines not shown]
DeltaFile
+0-571clang/test/Driver/clang-offload-bundler.c
+571-0clang/test/OffloadTools/clang-offload-bundler/basic.c
+326-0clang/test/OffloadTools/clang-linker-wrapper/linker-wrapper-image.c
+0-326clang/test/Driver/linker-wrapper-image.c
+0-268clang/test/Driver/linker-wrapper.c
+268-0clang/test/OffloadTools/clang-linker-wrapper/linker-wrapper.c
+1,165-1,16530 files not shown
+1,979-1,96436 files

LLVM/project e068f99clang/test/CodeGen scoped-atomic-ops.c, clang/test/CodeGenCUDA atomic-options.hip amdgpu-kernel-arg-pointer-type.cu

Revert "[clang] remove lots of "innocuous" addrspacecasts (#197745)"

This reverts commit 2825dfa027e62693753593a8e80511ea88fea6c1.
DeltaFile
+852-568clang/test/CodeGen/scoped-atomic-ops.c
+216-144clang/test/CodeGenCUDA/atomic-options.hip
+103-95clang/test/CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu
+41-60clang/test/CodeGenCXX/amdgcn-func-arg.cpp
+54-36clang/test/CodeGenCUDA/builtins-spirv-amdgcn.cu
+42-32clang/test/OpenMP/target_teams_generic_loop_codegen_as_parallel_for.cpp
+1,308-93534 files not shown
+1,560-1,15640 files

NetBSD/pkgsrc WtNqXPntextproc/R-openxlsx Makefile distinfo, textproc/R-openxlsx/patches patch-src_Makevars

   (textproc/R-openxlsx) Fix build against R 4.6.0
VersionDeltaFile
1.1+14-0textproc/R-openxlsx/patches/patch-src_Makevars
1.5+3-1textproc/R-openxlsx/Makefile
1.6+2-1textproc/R-openxlsx/distinfo
+19-23 files

LLVM/project 34622bbclang/test/ASTMerge/class-template-spec test.cpp, clang/test/ASTMerge/class-template-spec/Inputs class-template-spec.cpp

[clang] NFC: readd test cases reverted in 79f4d8f0145d72dff8c33745f35d45c74ecb3fdf

We need some sort of process to stop losing regression tests due to reverts...
DeltaFile
+110-0clang/test/CXX/temp/temp.spec/temp.expl.spec/p7.cpp
+47-0clang/test/ASTMerge/class-template-spec/Inputs/class-template-spec.cpp
+8-0clang/test/ASTMerge/class-template-spec/test.cpp
+165-03 files