[all-commits] [llvm/llvm-project] 25f23a: [AsmPrinter] Make OpAsmPrinter::printFunctionalTyp...

Chris Lattner via All-commits all-commits at lists.llvm.org
Wed Jan 6 20:59:51 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25f23a60398ee0a1ece2d49b281003ec642d5fed
      https://github.com/llvm/llvm-project/commit/25f23a60398ee0a1ece2d49b281003ec642d5fed
  Author: Chris Lattner <clattner at nondot.org>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

  Changed paths:
    M mlir/include/mlir/IR/OpImplementation.h
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/lib/IR/Value.cpp

  Log Message:
  -----------
  [AsmPrinter] Make OpAsmPrinter::printFunctionalType be resilient to null values.

A previous patch made Value::getType() be resilient to null values which was
considered to be too sweeping.  This is a more targeted change which requires
deabstracting some templates.

A middle ground would be to make ValueTypeIterator be tolerant to null values.

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


  Commit: 7510c1152f0bb5ca6ef68ace22cb702b57b96fe9
      https://github.com/llvm/llvm-project/commit/7510c1152f0bb5ca6ef68ace22cb702b57b96fe9
  Author: Chris Lattner <clattner at nondot.org>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

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

  Log Message:
  -----------
  Update for review feedback: Inline var declaration and expand names.

Depends on D93908.

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


Compare: https://github.com/llvm/llvm-project/compare/25bf4a8f4285...7510c1152f0b


More information about the All-commits mailing list