[all-commits] [llvm/llvm-project] 32b1f1: [mlir][spirv] Rework type extension queries (#160020)
Jakub Kuderski via All-commits
all-commits at lists.llvm.org
Mon Sep 22 06:08:39 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 32b1f167fbee28debc7527b939a6764575c854a4
https://github.com/llvm/llvm-project/commit/32b1f167fbee28debc7527b939a6764575c854a4
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
Log Message:
-----------
[mlir][spirv] Rework type extension queries (#160020)
* Fix infinite recursion with nested structs.
* Drop `::getExtensions` function from derived types, so that there's
only one entry point that queries type extensions.
* Move all extension logic to a new helper class -- this way the
`::getExtensions` functions can't diverge across concrete types and
'convenience types' like `CompositeType`.
We should also fix `::getCapabilities` in a similar way and move the
testcase to `vce-deduction.mlir`.
Issue: https://github.com/llvm/llvm-project/issues/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