[Mlir-commits] [mlir] [mlir][spirv] Add support for SPV_ARM_graph extension - part 1 (PR #151934)

Igor Wodiany llvmlistbot at llvm.org
Mon Aug 4 07:00:13 PDT 2025


================
@@ -151,6 +151,14 @@ void UpdateVCEPass::runOnOperation() {
     if (auto globalVar = dyn_cast<spirv::GlobalVariableOp>(op))
       valueTypes.push_back(globalVar.getType());
 
+    // If the op is FunctionLike make sure to process input and result types
+    if (auto funcOpInterface = dyn_cast<FunctionOpInterface>(op)) {
+      auto inputTypes = funcOpInterface.getArgumentTypes();
----------------
IgWod-IMG wrote:

Please spell out the type here and below.

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


More information about the Mlir-commits mailing list