diff --git a/mlir/test/Dialect/LLVMIR/sroa-statistics.mlir b/mlir/test/Dialect/LLVMIR/sroa-statistics.mlir --- a/mlir/test/Dialect/LLVMIR/sroa-statistics.mlir +++ b/mlir/test/Dialect/LLVMIR/sroa-statistics.mlir @@ -1,3 +1,4 @@ +// REQUIRES: asserts // RUN: mlir-opt %s --pass-pipeline="builtin.module(llvm.func(sroa))" --split-input-file --mlir-pass-statistics 2>&1 >/dev/null | FileCheck %s // CHECK: SROA diff --git a/mlir/test/Dialect/MemRef/mem2reg-statistics.mlir b/mlir/test/Dialect/MemRef/mem2reg-statistics.mlir --- a/mlir/test/Dialect/MemRef/mem2reg-statistics.mlir +++ b/mlir/test/Dialect/MemRef/mem2reg-statistics.mlir @@ -1,3 +1,4 @@ +// REQUIRES: asserts // RUN: mlir-opt %s --pass-pipeline='builtin.module(func.func(mem2reg))' --split-input-file --mlir-pass-statistics 2>&1 >/dev/null | FileCheck %s // CHECK: Mem2Reg