[all-commits] [llvm/llvm-project] f471ac: [mlir][llvm] Use the tablegen error handling (NFC).

Tobias Gysi via All-commits all-commits at lists.llvm.org
Mon Oct 17 05:42:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f471acfd03ce9c0c9cfdf8daf4d21b5b82fbf69e
      https://github.com/llvm/llvm-project/commit/f471acfd03ce9c0c9cfdf8daf4d21b5b82fbf69e
  Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
  Date:   2022-10-17 (Mon, 17 Oct 2022)

  Changed paths:
    M mlir/tools/mlir-tblgen/LLVMIRConversionGen.cpp

  Log Message:
  -----------
  [mlir][llvm] Use the tablegen error handling (NFC).

Use PrintError to extend the error message with location information in
LLVMIRConversionGen.cpp. Additionally, promote potentially user facing
error messages from assertions to real errors.

Reviewed By: ftynse

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




More information about the All-commits mailing list