[mlir][transforms] Add signalPassFailure
in RemoveDeadValues (#112199)
This PR adds `signalPassFailure` in RemoveDeadValues to ensure that a pipeline would stop here. Fixes #111757.
This commit is contained in:
parent
c3bbc3a57d
commit
70865c448c
@ -589,7 +589,7 @@ void RemoveDeadValues::runOnOperation() {
|
||||
});
|
||||
|
||||
if (acceptableIR.wasInterrupted())
|
||||
return;
|
||||
return signalPassFailure();
|
||||
|
||||
module->walk([&](Operation *op) {
|
||||
if (auto funcOp = dyn_cast<FunctionOpInterface>(op)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user