The revision adds basic timing to the mlir-translate tool. Reviewed By: Dinistro Differential Revision: https://reviews.llvm.org/D150434
11 lines
232 B
MLIR
11 lines
232 B
MLIR
// RUN: mlir-translate %s --mlir-to-llvmir -mlir-timing 2>&1 | FileCheck %s
|
|
|
|
// CHECK: Execution time report
|
|
// CHECK: Total Execution Time:
|
|
// CHECK: Name
|
|
// CHECK-NEXT: Translate MLIR to LLVMIR
|
|
|
|
llvm.func @foo() {
|
|
llvm.return
|
|
}
|