[all-commits] [llvm/llvm-project] 463948: [mlir][tblgen] Improving error messages

wren romano via All-commits all-commits at lists.llvm.org
Thu Jun 30 18:26:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46394861a3305bd530b1d0cf8ae5b7a36a4a0b4d
      https://github.com/llvm/llvm-project/commit/46394861a3305bd530b1d0cf8ae5b7a36a4a0b4d
  Author: wren romano <2998727+wrengr at users.noreply.github.com>
  Date:   2022-06-30 (Thu, 30 Jun 2022)

  Changed paths:
    M mlir/lib/TableGen/AttrOrTypeDef.cpp
    M mlir/lib/TableGen/Builder.cpp
    A mlir/test/mlir-tblgen/attr-or-type-builder-invalid.td

  Log Message:
  -----------
  [mlir][tblgen] Improving error messages

This differential improves two error conditions, by detecting them earlier and by providing better messages to help users understand what went wrong.

Reviewed By: jpienaar

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




More information about the All-commits mailing list