[all-commits] [llvm/llvm-project] ee903a: Improve error message when creating an op that isn...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Tue Sep 7 13:42:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee903a207b767566b4a65f5519c545cccba28d28
      https://github.com/llvm/llvm-project/commit/ee903a207b767566b4a65f5519c545cccba28d28
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    M mlir/include/mlir/IR/Builders.h

  Log Message:
  -----------
  Improve error message when creating an op that isn't registered in the context

This prints a more helpful error for folks who aren't intrinsically
familiar with the system.

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




More information about the All-commits mailing list