[all-commits] [llvm/llvm-project] 27b2bd: [MLIR] Enable conversion from llvm::SMLoc to mlir:...

Ulysse Beaugnon via All-commits all-commits at lists.llvm.org
Wed May 12 00:08:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27b2bd76017f5b486b96ad782bfb28e1b28b5088
      https://github.com/llvm/llvm-project/commit/27b2bd76017f5b486b96ad782bfb28e1b28b5088
  Author: Ulysse Beaugnon <ulysse at google.com>
  Date:   2021-05-12 (Wed, 12 May 2021)

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

  Log Message:
  -----------
  [MLIR] Enable conversion from llvm::SMLoc to mlir::Location with OpAsmParser.

DialectAsmParser already allows converting an llvm::SMLoc location to a
mlir::Location location. This commit adds the same functionality to OpAsmParser.
Implementation is copied from DialectAsmParser.

Reviewed By: rriddle

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




More information about the All-commits mailing list