[all-commits] [llvm/llvm-project] f8479d: [mlir] Set the namespace of the BuiltinDialect to ...

River Riddle via All-commits all-commits at lists.llvm.org
Wed Jul 28 14:07:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8479d9de59d0f2f3997319b0ec189eb086aa85a
      https://github.com/llvm/llvm-project/commit/f8479d9de59d0f2f3997319b0ec189eb086aa85a
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-07-28 (Wed, 28 Jul 2021)

  Changed paths:
    M flang/lib/Optimizer/Dialect/FIRType.cpp
    M flang/test/Fir/cg-ops.fir
    M mlir/docs/Diagnostics.md
    M mlir/docs/PassManagement.md
    M mlir/docs/SymbolsAndSymbolTables.md
    M mlir/docs/Tutorials/UnderstandingTheIRStructure.md
    M mlir/include/mlir/Dialect/PDL/IR/PDLOps.td
    M mlir/include/mlir/IR/BuiltinDialect.td
    M mlir/include/mlir/IR/Dialect.h
    M mlir/include/mlir/Pass/PassManager.h
    M mlir/include/mlir/Transforms/LoopUtils.h
    M mlir/lib/Bindings/Python/IRCore.cpp
    M mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
    M mlir/lib/IR/BuiltinDialect.cpp
    M mlir/lib/IR/BuiltinTypes.cpp
    M mlir/lib/IR/Dialect.cpp
    M mlir/lib/IR/Operation.cpp
    M mlir/lib/Parser/Parser.cpp
    M mlir/lib/Pass/PassRegistry.cpp
    M mlir/lib/Transforms/Utils/LoopUtils.cpp
    M mlir/test/Analysis/test-alias-analysis-modref.mlir
    M mlir/test/Analysis/test-alias-analysis.mlir
    M mlir/test/CAPI/ir.c
    M mlir/test/CAPI/pass.c
    M mlir/test/Conversion/AsyncToLLVM/convert-runtime-to-llvm.mlir
    M mlir/test/Conversion/ComplexToLLVM/convert-to-llvm.mlir
    M mlir/test/Conversion/MemRefToLLVM/convert-dynamic-memref-ops.mlir
    M mlir/test/Conversion/MemRefToLLVM/convert-static-memref-ops.mlir
    M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    M mlir/test/Dialect/Affine/canonicalize.mlir
    M mlir/test/Dialect/ArmSVE/memcpy.mlir
    M mlir/test/Dialect/Builtin/invalid.mlir
    M mlir/test/Dialect/LLVMIR/terminator.mlir
    M mlir/test/Dialect/Linalg/fusion-sequence.mlir
    M mlir/test/Dialect/Quant/canonicalize.mlir
    M mlir/test/Dialect/SCF/canonicalize.mlir
    M mlir/test/Dialect/SCF/loop-range.mlir
    M mlir/test/Dialect/SCF/parallel-loop-fusion.mlir
    M mlir/test/Dialect/SCF/parallel-loop-tiling.mlir
    M mlir/test/Dialect/SPIRV/Transforms/canonicalize.mlir
    M mlir/test/Dialect/Standard/canonicalize-cf.mlir
    M mlir/test/Dialect/Vector/canonicalize.mlir
    M mlir/test/IR/invalid-ops.mlir
    M mlir/test/IR/print-ir-defuse.mlir
    M mlir/test/IR/print-ir-nesting.mlir
    M mlir/test/IR/print-op-on-diagnostic.mlir
    M mlir/test/IR/visitors.mlir
    M mlir/test/IR/wrapping_op.mlir
    M mlir/test/Pass/crash-recovery.mlir
    M mlir/test/Pass/dynamic-pipeline-fail-on-parent.mlir
    M mlir/test/Pass/dynamic-pipeline-nested.mlir
    M mlir/test/Pass/dynamic-pipeline.mlir
    M mlir/test/Pass/invalid-pass.mlir
    M mlir/test/Pass/ir-printing.mlir
    M mlir/test/Pass/pass-timing.mlir
    M mlir/test/Pass/pipeline-options-parsing.mlir
    M mlir/test/Pass/pipeline-parsing.mlir
    M mlir/test/Pass/pipeline-stats.mlir
    M mlir/test/Pass/run-reproducer.mlir
    M mlir/test/Transforms/canonicalize-block-merge.mlir
    M mlir/test/Transforms/canonicalize-dce.mlir
    M mlir/test/Transforms/canonicalize-td.mlir
    M mlir/test/Transforms/canonicalize.mlir
    M mlir/test/Transforms/cse.mlir
    M mlir/test/Transforms/parallel-loop-collapsing.mlir
    M mlir/test/Transforms/sccp-callgraph.mlir
    M mlir/test/Transforms/sccp-structured.mlir
    M mlir/test/Transforms/sccp.mlir
    M mlir/test/Transforms/single-parallel-loop-collapsing.mlir
    M mlir/test/Transforms/test-canonicalize-filter.mlir
    M mlir/test/Transforms/test-canonicalize.mlir
    M mlir/test/Transforms/test-legalizer-analysis.mlir
    M mlir/test/Transforms/test-symbol-dce.mlir
    M mlir/test/mlir-lsp-server/diagnostics.test
    M mlir/test/mlir-lsp-server/document-symbols.test
    M mlir/test/mlir-lsp-server/hover.test
    M mlir/test/mlir-opt/commandline.mlir
    M mlir/test/python/integration/dialects/linalg/opsrun.py
    M mlir/test/python/ir/dialects.py
    M mlir/test/python/ir/operation.py
    M mlir/test/python/pass_manager.py
    M mlir/tools/mlir-tblgen/OpPythonBindingGen.cpp
    M mlir/unittests/IR/InterfaceAttachmentTest.cpp

  Log Message:
  -----------
  [mlir] Set the namespace of the BuiltinDialect to 'builtin'

Historically the builtin dialect has had an empty namespace. This has unfortunately created a very awkward situation, where many utilities either have to special case the empty namespace, or just don't work at all right now. This revision adds a namespace to the builtin dialect, and starts to cleanup some of the utilities to no longer handle empty namespaces. For now, the assembly form of builtin operations does not require the `builtin.` prefix. (This should likely be re-evaluated though)

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




More information about the All-commits mailing list