[all-commits] [llvm/llvm-project] 96eb38: Make the AsmPrinter print "<<NULL TYPE>>" instead ...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Sun Apr 5 11:36:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 96eb38418bcc2e11f9b991629231451dc8c19555
      https://github.com/llvm/llvm-project/commit/96eb38418bcc2e11f9b991629231451dc8c19555
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-04-05 (Sun, 05 Apr 2020)

  Changed paths:
    M mlir/lib/IR/AsmPrinter.cpp

  Log Message:
  -----------
  Make the AsmPrinter print "<<NULL TYPE>>" instead of crashing on null types

Even if this indicates in general a problem at call sites, the printer
is used for debugging and avoiding crashing is friendlier for example
when used in diagnostics or other printer.

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




More information about the All-commits mailing list