[all-commits] [llvm/llvm-project] 872a1e: [TableGen][DecoderEmitter] Remove PredicateNamespa...
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Mon Aug 25 11:55:43 PDT 2025
Branch: refs/heads/users/rampitec/08-21-_amdgpu_refactor_insertwavesizefeature
Home: https://github.com/llvm/llvm-project
Commit: 872a1ed081b1fa9ac84a320b0cbd27871a15d542
https://github.com/llvm/llvm-project/commit/872a1ed081b1fa9ac84a320b0cbd27871a15d542
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M llvm/utils/TableGen/DecoderEmitter.cpp
M llvm/utils/TableGen/DisassemblerEmitter.cpp
M llvm/utils/TableGen/TableGenBackends.h
Log Message:
-----------
[TableGen][DecoderEmitter] Remove PredicateNamespace (NFC) (#155211)
There is no target named Thumb, so there is no need to make a special
case for it.
As part of this change, pass CodeGenTarget instead of DecoderEmitter
to FilterChooser to remove dependency between the latter two.
Commit: 7dbdb66a5d2ee1496a2660ddc5a068a821842871
https://github.com/llvm/llvm-project/commit/7dbdb66a5d2ee1496a2660ddc5a068a821842871
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M llvm/utils/TableGen/Common/CodeGenTarget.cpp
Log Message:
-----------
[TableGen] Avoid field lookup in a performance critical place (NFC) (#154871)
`Target.getInstructions()` is called by virtually all TableGen backends.
It is slow, and one of the two factors is the use of an expensive
predicate in `llvm::sort`. This change speeds up sorting by 10x.
Commit: 02540b2ccf94a541848094fcb97b2207668d0f87
https://github.com/llvm/llvm-project/commit/02540b2ccf94a541848094fcb97b2207668d0f87
Author: Ivan Butygin <ivan.butygin at gmail.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M flang/lib/Optimizer/Transforms/SimplifyRegionLite.cpp
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/lib/Dialect/Transform/PDLExtension/PDLExtensionOps.cpp
M mlir/unittests/Rewrite/PatternBenefit.cpp
Log Message:
-----------
[mlir][nfc] Remove `TrivialPatternRewriter`s (#155248)
These are relics from the times when `PatternRewriter` was not
instantiable directly, I suppose.
Commit: 9899567c476e3ca16a73d3a62a19fa5a0f47370b
https://github.com/llvm/llvm-project/commit/9899567c476e3ca16a73d3a62a19fa5a0f47370b
Author: Shenghang Tsai <jackalcooper at gmail.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
Log Message:
-----------
[MLIR] Fix LLVM doc link in MemRefOps.td (#155254)
Commit: 613ec4c24c145eb20ef1967a714d74c9cf403da5
https://github.com/llvm/llvm-project/commit/613ec4c24c145eb20ef1967a714d74c9cf403da5
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/lib/Dialect/Vector/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp
M mlir/lib/Dialect/Vector/Transforms/LowerVectorMask.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorUnroll.cpp
Log Message:
-----------
[mlir][vector] Rename gather/scatter arguments (nfc) (#153640)
Renames `indices` as `offsets` and `index_vec` as `indices`. This is
primarily to make clearer distinction between the arguments.
Commit: d1cbe6ed747e606308b8c51321b988fda7dbf058
https://github.com/llvm/llvm-project/commit/d1cbe6ed747e606308b8c51321b988fda7dbf058
Author: RolandF77 <froese at ca.ibm.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M clang/include/clang/Basic/BuiltinsPPC.def
M clang/lib/CodeGen/TargetBuiltins/PPC.cpp
M clang/test/CodeGen/PowerPC/builtins-ppc-dmf.c
M clang/test/CodeGen/PowerPC/ppc-dmf-mma-builtin-err.c
M llvm/include/llvm/IR/IntrinsicsPowerPC.td
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.h
M llvm/test/CodeGen/PowerPC/dmr-enable.ll
Log Message:
-----------
[PowerPC] Add DMF builtins for build and disassemble (#153097)
Add support for PPC Dense Math builtins mma_build_dmr and
mma_disassemble_dmr builtins.
Commit: 2a586a81181fb69c26ba3ea87e051cd4d59e70f8
https://github.com/llvm/llvm-project/commit/2a586a81181fb69c26ba3ea87e051cd4d59e70f8
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M llvm/include/llvm/MC/MCDecoderOps.h
M llvm/test/TableGen/FixedLenDecoderEmitter/additional-encoding.td
M llvm/test/TableGen/FixedLenDecoderEmitter/big-filter.td
M llvm/test/TableGen/HwModeEncodeDecode.td
M llvm/test/TableGen/HwModeEncodeDecode2.td
M llvm/test/TableGen/HwModeEncodeDecode3.td
M llvm/test/TableGen/VarLenDecoder.td
M llvm/test/TableGen/trydecode-emission.td
M llvm/test/TableGen/trydecode-emission2.td
M llvm/test/TableGen/trydecode-emission3.td
M llvm/test/TableGen/trydecode-emission4.td
M llvm/utils/TableGen/DecoderEmitter.cpp
Log Message:
-----------
[TableGen][DecoderEmitter] Remove dead OPC_Fail (#155229)
It can never be reached. It could be reached if we emitted an opcode
that could fall outside the outermost scope, but emission of all such
opcodes is guarded by `!isOutermostScope()`.
That also means we never add fixups to the outermost scope, so avoid
pushing an entry for it onto the stack.
Commit: 8ab917a241e5b9e153012eef9d76519c6eab9526
https://github.com/llvm/llvm-project/commit/8ab917a241e5b9e153012eef9d76519c6eab9526
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.h
M llvm/test/CodeGen/Mips/implicit-sret.ll
M llvm/test/CodeGen/Mips/msa/basic_operations.ll
M llvm/test/CodeGen/NVPTX/bf16x2-instructions.ll
M llvm/test/CodeGen/NVPTX/cmpxchg-sm60.ll
M llvm/test/CodeGen/NVPTX/cmpxchg-sm70.ll
M llvm/test/CodeGen/NVPTX/cmpxchg-sm90.ll
M llvm/test/CodeGen/NVPTX/cmpxchg.ll
M llvm/test/CodeGen/NVPTX/i8x2-instructions.ll
M llvm/test/CodeGen/NVPTX/misaligned-vector-ldst.ll
M llvm/test/CodeGen/NVPTX/mulwide.ll
Log Message:
-----------
Reland "[NVPTX] Legalize aext-load to zext-load to expose more DAG combines" (#155063)
The original version of this change inadvertently dropped
b6e19b35cd87f3167a0f04a61a12016b935ab1ea. This version retains that fix
as well as adding tests for it and an explanation for why it is needed.
Commit: 20dd053160f7d933037aacb69067ef4d77996ba1
https://github.com/llvm/llvm-project/commit/20dd053160f7d933037aacb69067ef4d77996ba1
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M lldb/packages/Python/lldbsuite/test/make/libcxx-simulators-common/compressed_pair.h
M lldb/source/Plugins/Language/CPlusPlus/GenericList.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.h
M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxVector.cpp
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/invalid-vector/main.cpp
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/TestDataFormatterLibcxxStringSimulator.py
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/main.cpp
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/unique_ptr/TestDataFormatterLibcxxUniquePtrSimulator.py
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/unique_ptr/main.cpp
Log Message:
-----------
[lldb][DataFormatters] Support newer _LIBCPP_COMPRESSED_PAIR layout (#155153)
Starting with https://github.com/llvm/llvm-project/pull/154686 the
compressed_pair children are now wrapped in an anonymous structure.
This patch adjusts the LLDB data-formatters to support that.
Outstanding questions:
1. Should GetChildMemberWithName look through anonymous structures? That
will break users most likely. But maybe introducing a new API is worth
it? Then we wouldnt have to do this awkward passing around of
`anon_struct_index`
2. Do we support the layout without the anonymous structure? It's not
too much added complexity. And we did release that version of libc++, so
there is code out there compiled against it. But there is no great way
of testing it (some of our macOS matrix bots do test it i suppose, but
not in a targeted way). We have the layout "simulator" tests for some of
the STL types which I will adjust.
Commit: db6a8f10096762d292f135a7b16ac23b39553380
https://github.com/llvm/llvm-project/commit/db6a8f10096762d292f135a7b16ac23b39553380
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2025-08-26 (Tue, 26 Aug 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/X86/insert-binop-inseltpoison.ll
Log Message:
-----------
[VectorCombine] Avoid crash when the next node is deleted. (#155115)
`RecursivelyDeleteTriviallyDeadInstructions` is introduced by
https://github.com/llvm/llvm-project/pull/149047 to immediately drop
dead instructions. However, it may invalidate the next iterator in
`make_early_inc_range` in some edge cases, which leads to a crash. This
patch manually maintains the next iterator and updates it when the next
instruction is about to be deleted.
Closes https://github.com/llvm/llvm-project/issues/155110.
Commit: 790a132b8535e28d118ba3c9f5e02dd7853bbac4
https://github.com/llvm/llvm-project/commit/790a132b8535e28d118ba3c9f5e02dd7853bbac4
Author: Adam Siemieniuk <adam.siemieniuk at intel.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M mlir/test/Dialect/AMX/invalid.mlir
Log Message:
-----------
[mlir][amx] Increase op verifier test coverage (#155264)
Refactors and adds more test cases for invalid AMX operations.
Commit: 2e896274bd4e61891824fce35f7e0552b2f4be4b
https://github.com/llvm/llvm-project/commit/2e896274bd4e61891824fce35f7e0552b2f4be4b
Author: Kazu Hirata <kazu at google.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M llvm/include/llvm/ADT/DenseMap.h
Log Message:
-----------
[ADT] Refactor DenseMap::insert, try_emplace, and operator[] (NFC) (#155204)
try_emplace and operator[] contain nearly identical code, and the code
is duplicated for l-value and r-value reference variants.
This patch introduces a templated helper function, try_emplace_impl,
and uses it in all of DenseMap::insert, try_emplace, and operator[].
The helper function uses perfect forwarding to preserve the exact key
type.
Commit: 9ae059bc22a49fb233a62837b6dc91004882b918
https://github.com/llvm/llvm-project/commit/9ae059bc22a49fb233a62837b6dc91004882b918
Author: Kazu Hirata <kazu at google.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M llvm/include/llvm/ADT/MapVector.h
Log Message:
-----------
[ADT] Refactor MapVector::insert, try_emplace, and operator[] (NFC) (#155205)
The l-value and r-value reference variants of try_emplace contain
nearly identical code. Also, operator[] makes its own call to
Map.try_emplace.
This patch introduces a templated helper function, try_emplace_impl,
and uses it in all of MapVector::insert, try_emplace, and operator[].
The helper function uses perfect forwarding to preserve the exact key
type.
This patch moves the "private:" section to the end of the class so
that the new helper function can use iterator.
Commit: 7153392a1089107d419ae9234486263b748b9e88
https://github.com/llvm/llvm-project/commit/7153392a1089107d419ae9234486263b748b9e88
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M compiler-rt/lib/fuzzer/FuzzerDriver.cpp
M compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp
Log Message:
-----------
Reapply "[fuzzer][Fuchsia] Prevent deadlock from suspending threads" … (#155271)
…(#155042)
This reverts commit 781a4db6b50bb660cb293d3e7e29957aeb4b02ac.
Relanded with the fix declaring StartRssThread.
Commit: d467bd90a91becc9a953e432a6f9b292d136ffc9
https://github.com/llvm/llvm-project/commit/d467bd90a91becc9a953e432a6f9b292d136ffc9
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenVTables.cpp
A clang/test/CIR/CodeGen/multi-vtable.cpp
Log Message:
-----------
[CIR] Add support for emitting multi-vtables (#155027)
This change adds support for emitting multiple tables in a global vtable
object to handle the case of multiple-inheritence.
Commit: 7b74a2755165a1e4d0f3b8c3a5d1591be4b45ed1
https://github.com/llvm/llvm-project/commit/7b74a2755165a1e4d0f3b8c3a5d1591be4b45ed1
Author: Steven Hedges <steven.hedges34 at gmail.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M llvm/examples/Kaleidoscope/MCJIT/cached/toy-jit.cpp
M llvm/examples/Kaleidoscope/MCJIT/cached/toy.cpp
M llvm/examples/Kaleidoscope/MCJIT/complete/toy.cpp
M llvm/examples/Kaleidoscope/MCJIT/initial/toy.cpp
M llvm/examples/Kaleidoscope/MCJIT/lazy/toy-jit.cpp
M llvm/examples/Kaleidoscope/MCJIT/lazy/toy.cpp
Log Message:
-----------
[llvm] Fix Typos in Kaleidoscope MCJIT Examples (#134394)
Fix a few typos found in llvm/examples/Kaleidoscope/MCJIT/.
Commit: a61ff1487b6696b9ab3bb7d9c2c1ea899eb7a4f0
https://github.com/llvm/llvm-project/commit/a61ff1487b6696b9ab3bb7d9c2c1ea899eb7a4f0
Author: Rahman Lavaee <rahmanl at google.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M llvm/docs/Extensions.rst
M llvm/include/llvm/CodeGen/AsmPrinter.h
M llvm/include/llvm/Object/ELFTypes.h
M llvm/include/llvm/ObjectYAML/ELFYAML.h
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/Object/ELF.cpp
M llvm/lib/ObjectYAML/ELFEmitter.cpp
M llvm/lib/ObjectYAML/ELFYAML.cpp
M llvm/test/tools/llvm-readobj/ELF/bb-addr-map.test
M llvm/test/tools/obj2yaml/ELF/bb-addr-map.yaml
M llvm/test/tools/yaml2obj/ELF/bb-addr-map.yaml
M llvm/tools/llvm-readobj/ELFDumper.cpp
M llvm/tools/obj2yaml/elf2yaml.cpp
M llvm/unittests/Object/ELFObjectFileTest.cpp
Log Message:
-----------
[SHT_LLVM_BB_ADDR_MAP] Change the callsite feature to emit end of callsites. (#155041)
This PR simply moves the callsite anchors from the beginning of
callsites to their end.
Emitting the end of callsites is more sensible as it allows breaking the
basic block into subblocks which end with control transfer instructions.
Commit: e612f37f2c110987ec43f8aa4fe8e86d6f64186f
https://github.com/llvm/llvm-project/commit/e612f37f2c110987ec43f8aa4fe8e86d6f64186f
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/test/CodeGenCXX/ptrauth-explicit-vtable-pointer-control.cpp
Log Message:
-----------
[PAC] Fix codegen for polymorphic class variables with consteval constructors (#154858)
Fix a bug in CodeGen where such variables could cause a compilation
error or be emitted with an undef initializer when the vtable was signed
with address discrimination.
rdar://155696134
Commit: 5d172965c0c8bdc582244f6d08881d46786d921f
https://github.com/llvm/llvm-project/commit/5d172965c0c8bdc582244f6d08881d46786d921f
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M .github/CODEOWNERS
Log Message:
-----------
[mlir][GPU] Update CODEOWNERS (#155258)
Updating the CODEOWNERS file to more easily perform the MLIR GPU dialect
maintainer role.
Commit: 6072fc1223ae22d7abbabe3e4f4f662c15d959c9
https://github.com/llvm/llvm-project/commit/6072fc1223ae22d7abbabe3e4f4f662c15d959c9
Author: Connector Switch <c8ef at outlook.com>
Date: 2025-08-26 (Tue, 26 Aug 2025)
Changed paths:
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/test/Lower/Intrinsics/cosd.f90
Log Message:
-----------
[flang] optimize `cosd` precision (#154955)
Part of https://github.com/llvm/llvm-project/issues/150452.
Commit: f941769a8af61159e27f5598f1dffaab6f7b0fbb
https://github.com/llvm/llvm-project/commit/f941769a8af61159e27f5598f1dffaab6f7b0fbb
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M clang/lib/Sema/TreeTransform.h
M clang/test/SemaTemplate/nested-name-spec-template.cpp
Log Message:
-----------
[clang] fix runtime check listing types which can appear in a NestedNameSpecifier (#155272)
Through alias templates, followed by canonicalization, any canonical
dependent type can appear in a NestedNameSpecifier. Remove the list as a
practical matter.
This fixes a regression reported here:
https://github.com/llvm/llvm-project/pull/147835#issuecomment-3220455978
Since the regression was never released, there are no release notes.
Fixes #155260
Commit: d12829de2eb87726edc344abadf23982e5142f21
https://github.com/llvm/llvm-project/commit/d12829de2eb87726edc344abadf23982e5142f21
Author: Grigory Pastukhov <99913765+grigorypas at users.noreply.github.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M bolt/test/perf2bolt/perf_test.test
Log Message:
-----------
[BOLT] Fix perf2bolt/perf_test.test (#154209)
The original test crashed with segmentation fault:
` perf_test.test.script: line 8: 1470352 Segmentation fault (core
dumped) perf record -Fmax -e cycles:u -o
/home/gpastukhov/llvm-build-release/tools/bolt/test/perf2bolt/Output/perf_test.test.tmp2
--
/home/gpastukhov/llvm-build-release/tools/bolt/test/perf2bolt/Output/perf_test.test.tmp
`
The crash happens if the compiler set up not to build PIE by default,
however the test expects PIE.
Commit: f492eb9509dea311d4e5a5ebbebbf58eb2e7e877
https://github.com/llvm/llvm-project/commit/f492eb9509dea311d4e5a5ebbebbf58eb2e7e877
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/fmax-without-fast-math-flags.ll
M llvm/test/Transforms/LoopVectorize/AArch64/fmin-without-fast-math-flags.ll
M llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll
M llvm/test/Transforms/LoopVectorize/AArch64/single-early-exit-interleave.ll
M llvm/test/Transforms/LoopVectorize/fmax-without-fast-math-flags-interleave.ll
M llvm/test/Transforms/LoopVectorize/fmax-without-fast-math-flags.ll
M llvm/test/Transforms/LoopVectorize/fmin-without-fast-math-flags.ll
M llvm/test/Transforms/LoopVectorize/single-early-exit-cond-poison.ll
M llvm/test/Transforms/LoopVectorize/single-early-exit-deref-assumptions.ll
M llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-hint.ll
M llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll
M llvm/test/Transforms/LoopVectorize/single-early-exit-interleave.ll
M llvm/test/Transforms/LoopVectorize/single_early_exit.ll
M llvm/test/Transforms/LoopVectorize/single_early_exit_live_outs.ll
M llvm/test/Transforms/LoopVectorize/vector-loop-backedge-elimination-early-exit.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/std-find.ll
Log Message:
-----------
[VPlan] Make VPInstruction::AnyOf poison-safe. (#154156)
AnyOf reduces multiple input vectors to a single boolean value. When
used for early-exit vectorization, we need to consider any lane after
the early exit being poison. Any poison lane would result in poison
after the AnyOf reduction. To prevent this, freeze all inputs to AnyOf.
Fixes https://github.com/llvm/llvm-project/issues/153946.
Fixes https://github.com/llvm/llvm-project/issues/155162.
https://alive2.llvm.org/ce/z/FD-XxA
PR: https://github.com/llvm/llvm-project/pull/154156
Commit: a49df8ec7d9529b52d0aeefed4dd52b03049f69e
https://github.com/llvm/llvm-project/commit/a49df8ec7d9529b52d0aeefed4dd52b03049f69e
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M lldb/include/lldb/Protocol/MCP/Server.h
M lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp
M lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.h
M lldb/source/Protocol/MCP/Server.cpp
M lldb/unittests/ProtocolServer/ProtocolMCPServerTest.cpp
Log Message:
-----------
[lldb] Adopt JSONTransport in the MCP Server (#155034)
This PR adopts JSONTransport in the MCP server implementation. It
required a slight change in design in the relationship between the two
server classes. Previously, these two had an "is-a" connection, while
now they have a "has-a" connection.
The "generic" protocol server in Protocol/MCP now operates using a
single connection (Transport). This matches the design in DAP where each
DAP instance has its own connection. The protocol server in Plugins
still supports multiple clients and creates a new server instance for
each connection.
I believe the new design makes sense in the long term (as proved by DAP)
and allows us to make the server stateful if we choose to do so. There's
no reason that multiple client support can't live in the generic
protocol library, but for now I kept it in ProtocolServerMCP to avoid
creating unnecessary abstractions.
Commit: a3e2b64b0ddf42abf065377d77a9957edd142585
https://github.com/llvm/llvm-project/commit/a3e2b64b0ddf42abf065377d77a9957edd142585
Author: tcottin <timcottin at gmx.de>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M clang-tools-extra/clangd/CodeComplete.cpp
M clang-tools-extra/clangd/CodeCompletionStrings.cpp
M clang-tools-extra/clangd/Hover.cpp
M clang-tools-extra/clangd/Protocol.cpp
M clang-tools-extra/clangd/Quality.cpp
M clang-tools-extra/clangd/SymbolDocumentation.cpp
M clang-tools-extra/clangd/SymbolDocumentation.h
M clang-tools-extra/clangd/unittests/HoverTests.cpp
M clang-tools-extra/clangd/unittests/SymbolDocumentationTests.cpp
M clang/include/clang/Index/IndexSymbol.h
M clang/lib/Index/IndexSymbol.cpp
Log Message:
-----------
[clangd] extend and rearrange doxygen hover documentation (#152918)
This is the final patch to solve clangd/clangd#529.
This uses the patches from
[llvm/llvm-project#140498](https://github.com/llvm/llvm-project/pull/140498)
and
[llvm/llvm-project#150790](https://github.com/llvm/llvm-project/pull/150790)
to improve the hover content for doxygen documented code.
The patch uses the information from the parsed doxygen comment to extend
and rearrange the hover documentation:
- own section for brief, notes and warning documentation
- for functions add parameter/template parameter documentation
- for functions add return documentation
Note: this requires to configure
```yaml
Documentation:
CommentFormat: Doxygen
```
in your `.clangd` configuration.
---------
Co-authored-by: Maksim Ivanov <emaxx at google.com>
Commit: 9801a0f62e49cbd81ce8352ab140af7c240e51ba
https://github.com/llvm/llvm-project/commit/9801a0f62e49cbd81ce8352ab140af7c240e51ba
Author: Samarth Narang <70980689+snarang181 at users.noreply.github.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/ElementwiseToLinalg.cpp
M mlir/test/Dialect/Linalg/convert-elementwise-to-linalg.mlir
Log Message:
-----------
[mlir] Add helper to check elementwise-mappable ops with tensors and scalars (#154872)
This patch introduces a more general helper for identifying
elementwise-mappable operations. The existing utility,
`isElementwiseMappableOpOnRankedTensors`, only accepted operations when
all operands were ranked tensors. In practice, many elementwise
operations in MLIR allow mixing tensor operands with scalars.
The new helper relaxes the restriction by accepting operands that are
either ranked tensors or “scalar-like” types.
Commit: 9958b1c908f4b6f6ab1cc437b1e19888581b5754
https://github.com/llvm/llvm-project/commit/9958b1c908f4b6f6ab1cc437b1e19888581b5754
Author: Joel Sing <joel at sing.id.au>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M compiler-rt/lib/tsan/go/test.c
M compiler-rt/lib/tsan/rtl/tsan_platform.h
M compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
Log Message:
-----------
[tsan][riscv] add Go race detector support for RISC-V sv39 VMA (#154701)
The majority of readily available RISC-V hardware provides sv39, rather
than
sv48. Add a memory mapping for sv39, which will allow the Go race
detector
to be used on more hardware.
Commit: 5886a276ed24c2cd936e602441365bb0bbe5ef40
https://github.com/llvm/llvm-project/commit/5886a276ed24c2cd936e602441365bb0bbe5ef40
Author: Joel Sing <joel at sing.id.au>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_platform.h
Log Message:
-----------
[tsan][riscv] correct Go race detector mapping for RISC-V sv48 VMA (#154700)
The executable and heap range for RISC-V sv48 VMA is supposed to end at
0xe000000000, rather than 0x0e00000000 as currently configured.
Commit: c7e8319d2cba815922a1ee8a9b022fb24d3a1a0f
https://github.com/llvm/llvm-project/commit/c7e8319d2cba815922a1ee8a9b022fb24d3a1a0f
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M .github/CODEOWNERS
M bolt/test/perf2bolt/perf_test.test
M clang-tools-extra/clangd/CodeComplete.cpp
M clang-tools-extra/clangd/CodeCompletionStrings.cpp
M clang-tools-extra/clangd/Hover.cpp
M clang-tools-extra/clangd/Protocol.cpp
M clang-tools-extra/clangd/Quality.cpp
M clang-tools-extra/clangd/SymbolDocumentation.cpp
M clang-tools-extra/clangd/SymbolDocumentation.h
M clang-tools-extra/clangd/unittests/HoverTests.cpp
M clang-tools-extra/clangd/unittests/SymbolDocumentationTests.cpp
M clang/include/clang/Basic/BuiltinsPPC.def
M clang/include/clang/Index/IndexSymbol.h
M clang/lib/CIR/CodeGen/CIRGenVTables.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/TargetBuiltins/PPC.cpp
M clang/lib/Index/IndexSymbol.cpp
M clang/lib/Sema/TreeTransform.h
A clang/test/CIR/CodeGen/multi-vtable.cpp
M clang/test/CodeGen/PowerPC/builtins-ppc-dmf.c
M clang/test/CodeGen/PowerPC/ppc-dmf-mma-builtin-err.c
M clang/test/CodeGenCXX/ptrauth-explicit-vtable-pointer-control.cpp
M clang/test/SemaTemplate/nested-name-spec-template.cpp
M compiler-rt/lib/fuzzer/FuzzerDriver.cpp
M compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp
M compiler-rt/lib/tsan/go/test.c
M compiler-rt/lib/tsan/rtl/tsan_platform.h
M compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Transforms/SimplifyRegionLite.cpp
M flang/test/Lower/Intrinsics/cosd.f90
M lldb/include/lldb/Protocol/MCP/Server.h
M lldb/packages/Python/lldbsuite/test/make/libcxx-simulators-common/compressed_pair.h
M lldb/source/Plugins/Language/CPlusPlus/GenericList.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.h
M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxVector.cpp
M lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp
M lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.h
M lldb/source/Protocol/MCP/Server.cpp
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/invalid-vector/main.cpp
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/TestDataFormatterLibcxxStringSimulator.py
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/main.cpp
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/unique_ptr/TestDataFormatterLibcxxUniquePtrSimulator.py
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/unique_ptr/main.cpp
M lldb/unittests/ProtocolServer/ProtocolMCPServerTest.cpp
M llvm/docs/Extensions.rst
M llvm/examples/Kaleidoscope/MCJIT/cached/toy-jit.cpp
M llvm/examples/Kaleidoscope/MCJIT/cached/toy.cpp
M llvm/examples/Kaleidoscope/MCJIT/complete/toy.cpp
M llvm/examples/Kaleidoscope/MCJIT/initial/toy.cpp
M llvm/examples/Kaleidoscope/MCJIT/lazy/toy-jit.cpp
M llvm/examples/Kaleidoscope/MCJIT/lazy/toy.cpp
M llvm/include/llvm/ADT/DenseMap.h
M llvm/include/llvm/ADT/MapVector.h
M llvm/include/llvm/CodeGen/AsmPrinter.h
M llvm/include/llvm/IR/IntrinsicsPowerPC.td
M llvm/include/llvm/MC/MCDecoderOps.h
M llvm/include/llvm/Object/ELFTypes.h
M llvm/include/llvm/ObjectYAML/ELFYAML.h
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/Object/ELF.cpp
M llvm/lib/ObjectYAML/ELFEmitter.cpp
M llvm/lib/ObjectYAML/ELFYAML.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.h
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.h
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/CodeGen/Mips/implicit-sret.ll
M llvm/test/CodeGen/Mips/msa/basic_operations.ll
M llvm/test/CodeGen/NVPTX/bf16x2-instructions.ll
M llvm/test/CodeGen/NVPTX/cmpxchg-sm60.ll
M llvm/test/CodeGen/NVPTX/cmpxchg-sm70.ll
M llvm/test/CodeGen/NVPTX/cmpxchg-sm90.ll
M llvm/test/CodeGen/NVPTX/cmpxchg.ll
M llvm/test/CodeGen/NVPTX/i8x2-instructions.ll
M llvm/test/CodeGen/NVPTX/misaligned-vector-ldst.ll
M llvm/test/CodeGen/NVPTX/mulwide.ll
M llvm/test/CodeGen/PowerPC/dmr-enable.ll
M llvm/test/TableGen/FixedLenDecoderEmitter/additional-encoding.td
M llvm/test/TableGen/FixedLenDecoderEmitter/big-filter.td
M llvm/test/TableGen/HwModeEncodeDecode.td
M llvm/test/TableGen/HwModeEncodeDecode2.td
M llvm/test/TableGen/HwModeEncodeDecode3.td
M llvm/test/TableGen/VarLenDecoder.td
M llvm/test/TableGen/trydecode-emission.td
M llvm/test/TableGen/trydecode-emission2.td
M llvm/test/TableGen/trydecode-emission3.td
M llvm/test/TableGen/trydecode-emission4.td
M llvm/test/Transforms/LoopVectorize/AArch64/fmax-without-fast-math-flags.ll
M llvm/test/Transforms/LoopVectorize/AArch64/fmin-without-fast-math-flags.ll
M llvm/test/Transforms/LoopVectorize/AArch64/simple_early_exit.ll
M llvm/test/Transforms/LoopVectorize/AArch64/single-early-exit-interleave.ll
M llvm/test/Transforms/LoopVectorize/fmax-without-fast-math-flags-interleave.ll
M llvm/test/Transforms/LoopVectorize/fmax-without-fast-math-flags.ll
M llvm/test/Transforms/LoopVectorize/fmin-without-fast-math-flags.ll
M llvm/test/Transforms/LoopVectorize/single-early-exit-cond-poison.ll
M llvm/test/Transforms/LoopVectorize/single-early-exit-deref-assumptions.ll
M llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-hint.ll
M llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll
M llvm/test/Transforms/LoopVectorize/single-early-exit-interleave.ll
M llvm/test/Transforms/LoopVectorize/single_early_exit.ll
M llvm/test/Transforms/LoopVectorize/single_early_exit_live_outs.ll
M llvm/test/Transforms/LoopVectorize/vector-loop-backedge-elimination-early-exit.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/std-find.ll
M llvm/test/Transforms/VectorCombine/X86/insert-binop-inseltpoison.ll
M llvm/test/tools/llvm-readobj/ELF/bb-addr-map.test
M llvm/test/tools/obj2yaml/ELF/bb-addr-map.yaml
M llvm/test/tools/yaml2obj/ELF/bb-addr-map.yaml
M llvm/tools/llvm-readobj/ELFDumper.cpp
M llvm/tools/obj2yaml/elf2yaml.cpp
M llvm/unittests/Object/ELFObjectFileTest.cpp
M llvm/utils/TableGen/Common/CodeGenTarget.cpp
M llvm/utils/TableGen/DecoderEmitter.cpp
M llvm/utils/TableGen/DisassemblerEmitter.cpp
M llvm/utils/TableGen/TableGenBackends.h
M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/ElementwiseToLinalg.cpp
M mlir/lib/Dialect/Transform/PDLExtension/PDLExtensionOps.cpp
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/lib/Dialect/Vector/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/lib/Dialect/Vector/Transforms/LowerVectorGather.cpp
M mlir/lib/Dialect/Vector/Transforms/LowerVectorMask.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorUnroll.cpp
M mlir/test/Dialect/AMX/invalid.mlir
M mlir/test/Dialect/Linalg/convert-elementwise-to-linalg.mlir
M mlir/unittests/Rewrite/PatternBenefit.cpp
Log Message:
-----------
Merge branch 'main' into users/rampitec/08-21-_amdgpu_refactor_insertwavesizefeature
Compare: https://github.com/llvm/llvm-project/compare/3af4e4ba2a7d...c7e8319d2cba
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list