[all-commits] [llvm/llvm-project] 1e09f0: Preserve function argument locations.

Dominik Grewe via All-commits all-commits at lists.llvm.org
Wed Jan 19 16:01:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e09f0a97271352435b3858ca9d2ae47f491760a
      https://github.com/llvm/llvm-project/commit/1e09f0a97271352435b3858ca9d2ae47f491760a
  Author: Dominik Grewe <dominikg at google.com>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

  Changed paths:
    M mlir/include/mlir/IR/FunctionImplementation.h
    M mlir/include/mlir/IR/OpImplementation.h
    M mlir/lib/Dialect/Async/IR/Async.cpp
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
    M mlir/lib/IR/FunctionImplementation.cpp
    M mlir/lib/Parser/Parser.cpp
    M mlir/test/IR/locations.mlir
    M mlir/test/lib/Dialect/Test/TestDialect.cpp

  Log Message:
  -----------
  Preserve function argument locations.

Previously the optional locations of function arguments were dropped in
`parseFunctionArgumentList`. This CL adds another output argument to the
function through which they are now returned. The values are then plumbed
through as an array of optional locations in the various places.

Reviewed By: rriddle

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




More information about the All-commits mailing list