[PATCH] D80737: [mlir] Extend standalone example by standalone-translate

Marius Brehler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 28 10:27:27 PDT 2020


marbre added a comment.

In D80737#2060574 <https://reviews.llvm.org/D80737#2060574>, @stephenneuendorffer wrote:

> Needs a test?


There is no test for `iree-translate` and we don't have an additional translation registered in the standalone dialect. Anyway, I could go for a test similar to https://github.com/llvm/llvm-project/blob/master/mlir/test/mlir-opt/commandline.mlir, for example:

  // RUN: mlir-translate --help | FileCheck %s
  // CHECK: --avx512-mlir-to-llvmir
  // CHECK: --deserialize-spirv
  // CHECK: --import-llvm
  // CHECK: --mlir-to-llvmir
  // CHECK: --mlir-to-nvvmir
  // CHECK: --mlir-to-rocdlir
  // CHECK: --serialize-spirv

Would that be suitable?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80737/new/

https://reviews.llvm.org/D80737





More information about the llvm-commits mailing list