[all-commits] [llvm/llvm-project] 58cb30: Allows deferred location attribute in `parseOption...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Tue Jan 18 14:00:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58cb3037773508076e15c8e7ca3c8fdb79ac63f4
      https://github.com/llvm/llvm-project/commit/58cb3037773508076e15c8e7ca3c8fdb79ac63f4
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

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

  Log Message:
  -----------
  Allows deferred location attribute in `parseOptionalLocationSpecifier`

Before this patch, deferred location in operation like `test.pretty_printed_region` would
break the parser, and so the IR round-trip.

Depends On D117088

Reviewed By: rriddle

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




More information about the All-commits mailing list