[all-commits] [llvm/llvm-project] ca5e2e: [mlir-translate] More specific error message for B...

Arthur Lafrance via All-commits all-commits at lists.llvm.org
Wed Jan 25 14:57:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca5e2e3aaa3b631b23ae09e99c41da9b42bcce75
      https://github.com/llvm/llvm-project/commit/ca5e2e3aaa3b631b23ae09e99c41da9b42bcce75
  Author: Arthur Lafrance <lafrancearthur at gmail.com>
  Date:   2023-01-25 (Wed, 25 Jan 2023)

  Changed paths:
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp
    M mlir/test/Target/LLVMIR/Import/import-failure.ll

  Log Message:
  -----------
  [mlir-translate] More specific error message for BlockAddress

BlockAddress is currently unimplemented in the LLVM dialect of MLIR;
when converting to LLVM dialect MLIR from LLVM IR, mlir-translate
currently terminates with an "unhandled constant" error message.
Instead, this message could be made more specific, to let the user know
that the specific issue is that BlockAddress is unimplemented in the
LLVM dialect.

Differential Revision: https://reviews.llvm.org/D142337




More information about the All-commits mailing list