[Mlir-commits] [mlir] [mlir][SPIR-V] Allow SpecConstantComposite constituents to reference other SpecConstantComposites (PR #193416)

Arseniy Obolenskiy llvmlistbot at llvm.org
Mon Apr 27 23:10:53 PDT 2026


================
@@ -1851,15 +1851,29 @@ LogicalResult spirv::SpecConstantCompositeOp::verify() {
   for (auto index : llvm::seq<uint32_t>(0, constituents.size())) {
     auto constituent = cast<FlatSymbolRefAttr>(constituents[index]);
 
-    auto constituentSpecConstOp =
-        dyn_cast<spirv::SpecConstantOp>(SymbolTable::lookupNearestSymbolFrom(
-            (*this)->getParentOp(), constituent.getAttr()));
+    auto *constituentOp = SymbolTable::lookupNearestSymbolFrom(
----------------
aobolensk wrote:

Done

https://github.com/llvm/llvm-project/pull/193416


More information about the Mlir-commits mailing list