File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -110,10 +110,8 @@ void DebugCounter::print(raw_ostream &os) const {
110
110
// / various flags within the DebugCounter. These flags are used when
111
111
// / constructing a DebugCounter for initialization.
112
112
void DebugCounter::registerCLOptions () {
113
- #ifndef NDEBUG
114
113
// Make sure that the options struct has been initialized.
115
114
*clOptions;
116
- #endif
117
115
}
118
116
119
117
bool DebugCounter::isActivated () {
Original file line number Diff line number Diff line change 1
1
// This test exercises the example in docs/ActionTracing.md ; changes here
2
2
// should probably be reflected there.
3
3
4
- // REQUIRES: asserts
5
4
// RUN: mlir-opt %s -mlir-debug-counter=unique-tag-for-my-action-skip=-1 -mlir-print-debug-counter --pass-pipeline="builtin.module(func.func(canonicalize))" --mlir-disable-threading 2>&1 | FileCheck %s --check-prefix=CHECK-UNKNOWN-TAG
6
5
// RUN: mlir-opt %s -mlir-debug-counter=pass-execution-skip=1 -mlir-print-debug-counter --pass-pipeline="builtin.module(func.func(canonicalize))" --mlir-disable-threading 2>&1 | FileCheck %s --check-prefix=CHECK-PASS
7
6
You can’t perform that action at this time.
0 commit comments