Mercurial > hg > CbC > CbC_llvm
view mlir/test/Pass/crash-recovery-dynamic-failure.mlir @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | |
children | 1f2b6ac9f198 |
line wrap: on
line source
// Check that local reproducers will also traverse dynamic pass pipelines. // RUN: mlir-opt %s -pass-pipeline='test-module-pass,test-dynamic-pipeline{op-name=inner_mod1 run-on-nested-operations=1 dynamic-pipeline=test-pass-failure}' -mlir-pass-pipeline-crash-reproducer=%t -verify-diagnostics -mlir-pass-pipeline-local-reproducer --mlir-disable-threading // RUN: cat %t | FileCheck -check-prefix=REPRO_LOCAL_DYNAMIC_FAILURE %s // The crash recovery mechanism will leak memory allocated in the crashing thread. // UNSUPPORTED: asan module @inner_mod1 { // expected-error@below {{Failures have been detected while processing an MLIR pass pipeline}} // expected-note@below {{Pipeline failed while executing}} module @foo {} } // REPRO_LOCAL_DYNAMIC_FAILURE: module @inner_mod1 // REPRO_LOCAL_DYNAMIC_FAILURE: module @foo { // REPRO_LOCAL_DYNAMIC_FAILURE: pipeline: "builtin.module(test-pass-failure)"