[all-commits] [llvm/llvm-project] 572c29: [mlir][ODS] Add support for specifying the namespa...

River Riddle via All-commits all-commits at lists.llvm.org
Sun Jul 12 14:20:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 572c2905aeaef00a6fedfc4c54f21856ba4cc34e
      https://github.com/llvm/llvm-project/commit/572c2905aeaef00a6fedfc4c54f21856ba4cc34e
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-07-12 (Sun, 12 Jul 2020)

  Changed paths:
    M mlir/include/mlir/IR/OpAsmInterface.td
    M mlir/include/mlir/IR/OpBase.td
    M mlir/include/mlir/IR/OpImplementation.h
    M mlir/include/mlir/IR/SymbolInterfaces.td
    M mlir/include/mlir/IR/SymbolTable.h
    M mlir/include/mlir/Interfaces/CallInterfaces.h
    M mlir/include/mlir/Interfaces/CallInterfaces.td
    M mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
    M mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
    M mlir/include/mlir/Interfaces/CopyOpInterface.h
    M mlir/include/mlir/Interfaces/CopyOpInterface.td
    M mlir/include/mlir/Interfaces/DerivedAttributeOpInterface.h
    M mlir/include/mlir/Interfaces/DerivedAttributeOpInterface.td
    M mlir/include/mlir/Interfaces/InferTypeOpInterface.h
    M mlir/include/mlir/Interfaces/InferTypeOpInterface.td
    M mlir/include/mlir/Interfaces/LoopLikeInterface.h
    M mlir/include/mlir/Interfaces/LoopLikeInterface.td
    M mlir/include/mlir/Interfaces/SideEffectInterfaces.h
    M mlir/include/mlir/Interfaces/SideEffectInterfaces.td
    M mlir/include/mlir/Interfaces/VectorUnrollInterface.h
    M mlir/include/mlir/Interfaces/VectorUnrollInterface.td
    M mlir/include/mlir/Interfaces/ViewLikeInterface.h
    M mlir/include/mlir/Interfaces/ViewLikeInterface.td
    M mlir/include/mlir/TableGen/Interfaces.h
    M mlir/include/mlir/TableGen/OpTrait.h
    M mlir/include/mlir/TableGen/SideEffects.h
    M mlir/lib/TableGen/Interfaces.cpp
    M mlir/lib/TableGen/OpTrait.cpp
    M mlir/lib/TableGen/Operator.cpp
    M mlir/lib/TableGen/SideEffects.cpp
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
    M mlir/tools/mlir-tblgen/OpInterfacesGen.cpp

  Log Message:
  -----------
  [mlir][ODS] Add support for specifying the namespace of an interface.

The namespace can be specified using the `cppNamespace` field. This matches the functionality already present on dialects, enums, etc. This fixes problems with using interfaces on operations in a different namespace than the interface was defined in.

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




More information about the All-commits mailing list