[Mlir-commits] [mlir] [mlir][spirv] Add support for SPV_ARM_graph extension - part 2 (PR #156665)
    Jakub Kuderski 
    llvmlistbot at llvm.org
       
    Wed Sep 10 09:35:00 PDT 2025
    
    
  
================
@@ -86,6 +86,13 @@ Value spirv::Deserializer::getValue(uint32_t id) {
   if (auto undef = getUndefType(id)) {
     return spirv::UndefOp::create(opBuilder, unknownLoc, undef);
   }
+  if (std::optional<spirv::GraphConstantARMOpMaterializationInfo>
+          graphConstantARMInfo = getGraphConstantARM(id)) {
+    IntegerAttr graphConstantID = graphConstantARMInfo->graphConstantID;
+    Type resultType = graphConstantARMInfo->resultType;
+    return opBuilder.create<spirv::GraphConstantARMOp>(unknownLoc, resultType,
----------------
kuhar wrote:
This is deprecated, use free create functions: https://discourse.llvm.org/t/psa-opty-create-now-with-100-more-tab-complete/87339
https://github.com/llvm/llvm-project/pull/156665
    
    
More information about the Mlir-commits
mailing list