llvm-project/mlir/test/Pass/invalid-pass.mlir

7 lines
311 B
MLIR

// RUN: not mlir-opt %s -pass-pipeline='module(test-module-pass{test-option=a})' 2>&1 | FileCheck %s
// CHECK: <Pass-Options-Parser>: no such option test-option
// CHECK: failed to add `test-module-pass` with options `test-option=a`
// CHECK: failed to add `module` with options `` to inner pipeline
module {}