Andrea Faulds eb206e9ea8
[mlir] Rename mlir-cpu-runner to mlir-runner (#123776)
With the removal of mlir-vulkan-runner (as part of #73457) in
e7e3c45bc70904e24e2b3221ac8521e67eb84668, mlir-cpu-runner is now the
only runner for all CPU and GPU targets, and the "cpu" name has been
misleading for some time already. This commit renames it to mlir-runner.
2025-01-24 14:08:38 +01:00

15 lines
387 B
MLIR

// RUN: mlir-opt %s -test-cf-assert \
// RUN: -convert-func-to-llvm -convert-arith-to-llvm | \
// RUN: mlir-runner -e main -entry-point-result=void | \
// RUN: FileCheck %s
func.func @main() {
%a = arith.constant 0 : i1
%b = arith.constant 1 : i1
// CHECK: assertion foo
cf.assert %a, "assertion foo"
// CHECK-NOT: assertion bar
cf.assert %b, "assertion bar"
return
}