[all-commits] [llvm/llvm-project] a4bb66: [mlir][IR][NFC] Define the Location classes in ODS...

River Riddle via All-commits all-commits at lists.llvm.org
Mon Mar 8 14:33:06 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a4bb667d831cb90f2b0f5096faba26b685440f51
      https://github.com/llvm/llvm-project/commit/a4bb667d831cb90f2b0f5096faba26b685440f51
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-03-08 (Mon, 08 Mar 2021)

  Changed paths:
    A mlir/include/mlir/IR/BuiltinLocationAttributes.td
    M mlir/include/mlir/IR/CMakeLists.txt
    M mlir/include/mlir/IR/Location.h
    M mlir/lib/CAPI/IR/IR.cpp
    M mlir/lib/Dialect/Quant/Transforms/ConvertConst.cpp
    M mlir/lib/IR/CMakeLists.txt
    M mlir/lib/IR/Location.cpp
    R mlir/lib/IR/LocationDetail.h
    M mlir/lib/IR/MLIRContext.cpp
    M mlir/lib/Parser/Lexer.cpp
    M mlir/lib/Parser/LocationParser.cpp
    M mlir/lib/Parser/Parser.cpp
    M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
    M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
    M mlir/lib/Target/SPIRV/Serialization/Serializer.cpp
    M mlir/lib/Target/SPIRV/TranslateRegistration.cpp

  Log Message:
  -----------
  [mlir][IR][NFC] Define the Location classes in ODS instead of C++

This also removes the need for LocationDetail.h.

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


  Commit: 0d01dfbc377a259e6d2cf318dd2bdb82da44ad1a
      https://github.com/llvm/llvm-project/commit/0d01dfbc377a259e6d2cf318dd2bdb82da44ad1a
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-03-08 (Mon, 08 Mar 2021)

  Changed paths:
    M mlir/include/mlir/IR/BuiltinTypes.h
    M mlir/include/mlir/IR/BuiltinTypes.td
    M mlir/include/mlir/IR/OpBase.td
    M mlir/lib/IR/BuiltinTypes.cpp
    M mlir/lib/IR/TypeDetail.h

  Log Message:
  -----------
  [mlir][IR][NFC] Move the remaining builtin types to ODS

This will allow for removing the duplicated type documentation from LangRef and instead link to the builtin dialect documentation.

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


Compare: https://github.com/llvm/llvm-project/compare/c5a6ad86b066...0d01dfbc377a


More information about the All-commits mailing list