[all-commits] [llvm/llvm-project] ca7c05: [mlir][spirv] Rework type capability queries (#160...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Mon Sep 22 08:29:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca7c058701bbbdd1b9bbdb083cbcb21f2bb47735
      https://github.com/llvm/llvm-project/commit/ca7c058701bbbdd1b9bbdb083cbcb21f2bb47735
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2025-09-22 (Mon, 22 Sep 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVTypes.h
    M mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp
    M mlir/test/Conversion/SCFToSPIRV/unsupported.mlir
    M mlir/test/Dialect/SPIRV/Transforms/vce-deduction.mlir

  Log Message:
  -----------
  [mlir][spirv] Rework type capability queries (#160113)

* Fix infinite recursion with nested structs.
* Drop `::getCapbilities` function from derived types, so that there's
only one entry point that queries type extensions.
* Move all capability logic to a new helper class -- this way the
`::getCapabilities` functions can't diverge across concrete types and
'convenience types' like CompositeType.

Fixes: #159963



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