[all-commits] [llvm/llvm-project] a6cef0: [mlir] Remove the `type` keyword from type alias d...

River Riddle via All-commits all-commits at lists.llvm.org
Mon May 16 13:57:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6cef03f66ca76169ba629d21f1245b50b646ee0
      https://github.com/llvm/llvm-project/commit/a6cef03f66ca76169ba629d21f1245b50b646ee0
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-05-16 (Mon, 16 May 2022)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/test/Fir/affine-promotion.fir
    M flang/test/Fir/array-value-copy-3.fir
    M flang/test/Fir/ignore-missing-type-descriptor.fir
    M flang/test/Fir/recursive-type.fir
    M mlir/docs/LangRef.md
    M mlir/docs/TargetLLVMIR.md
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/lib/Parser/Parser.cpp
    M mlir/test/Conversion/FuncToLLVM/func-memref.mlir
    M mlir/test/Dialect/LLVMIR/types.mlir
    M mlir/test/Dialect/Linalg/standard.mlir
    M mlir/test/Dialect/Quant/parse-any-invalid.mlir
    M mlir/test/Dialect/Quant/parse-any.mlir
    M mlir/test/Dialect/Quant/parse-calibrated-invalid.mlir
    M mlir/test/Dialect/Quant/parse-calibrated.mlir
    M mlir/test/Dialect/Quant/parse-uniform-invalid.mlir
    M mlir/test/Dialect/Quant/parse-uniform.mlir
    M mlir/test/IR/invalid-unregistered.mlir
    M mlir/test/IR/invalid.mlir
    M mlir/test/IR/parser.mlir
    M mlir/test/IR/print-attr-type-aliases.mlir
    M mlir/test/Integration/Dialect/Linalg/CPU/benchmark_matmul.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/dense_output.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_flatten.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matvec.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_mttkrp.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_simple.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_matmul.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_spmm.mlir
    M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sum.mlir
    M mlir/test/Integration/Dialect/SparseTensor/taco/tools/mlir_pytaco_utils.py
    M mlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-f32.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-i64.mlir
    M mlir/test/mlir-cpu-runner/utils.mlir
    M mlir/utils/tree-sitter-mlir/grammar.js

  Log Message:
  -----------
  [mlir] Remove the `type` keyword from type alias definitions

This was carry over from LLVM IR where the alias definition can
be ambiguous, but MLIR type aliases have no such problems.
Having the `type` keyword is superfluous and doesn't add anything.
This commit drops it, which also nicely aligns with the syntax for
attribute aliases (which doesn't have a keyword).

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




More information about the All-commits mailing list