The `-buffer-deallocation` pass is not compatible with One-Shot Bufferize and has been replaced with the Ownership-based Buffer Deallocation pass about 1.5 years ago. To clean up the code base, this commit removes the deprecated `buffer-deallocation` pass. All uses of this deprecated pass within MLIR have already been migrated. Note for LLVM integration: If you depend on this pass, migrate to the Ownership-based Buffer Deallocation pass or copy the pass to your codebase. For details, see https://discourse.llvm.org/t/psa-bufferization-new-buffer-deallocation-pipeline/73375.
20 lines
600 B
MLIR
20 lines
600 B
MLIR
// RUN: mlir-opt --no-implicit-module \
|
|
// RUN: --pass-pipeline='any(test-function-pass)' --verify-diagnostics \
|
|
// RUN: --split-input-file %s
|
|
|
|
// Note: "test-function-pass" is a function pass. Any other function pass could
|
|
// be used for this test.
|
|
|
|
// expected-error@below {{trying to schedule a pass on an operation not marked as 'IsolatedFromAbove'}}
|
|
arith.constant 0
|
|
|
|
// -----
|
|
|
|
// expected-error@below {{trying to schedule a pass on an unregistered operation}}
|
|
"test.op"() : () -> ()
|
|
|
|
// -----
|
|
|
|
// expected-error@below {{trying to schedule a pass on an unsupported operation}}
|
|
module {}
|