brintos

brintos / llvm-project-archived public Read only

0
0
Text · 626 B · bff2b1c Raw
20 lines · plain
1// RUN: mlir-opt --no-implicit-module \2// RUN:     --pass-pipeline='any(test-function-pass)' --verify-diagnostics \3// RUN:     --split-input-file %s4 5// Note: "test-function-pass" is a function pass. Any other function pass could6// be used for this test.7 8// expected-error@below {{trying to schedule a pass on an operation not marked as 'IsolatedFromAbove'}}9arith.constant 010 11// -----12 13// expected-error@below {{trying to schedule a pass on an unregistered operation}}14"test.op"() : () -> ()15 16// -----17 18// expected-error-re@below {{trying to schedule pass '{{.*}}TestFunctionPass' on an unsupported operation}}19module {}20