[all-commits] [llvm/llvm-project] bbe5bf: Cleanup uses of getAttrDictionary() in MLIR to use...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon May 15 11:36:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbe5bf1788b55e3c7020d50ee0fd5956f261cfec
      https://github.com/llvm/llvm-project/commit/bbe5bf1788b55e3c7020d50ee0fd5956f261cfec
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/LLVMCommon/Pattern.h
    M mlir/include/mlir/IR/OpDefinition.h
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
    M mlir/lib/Dialect/GPU/Transforms/AsyncRegionRewriter.cpp
    M mlir/lib/Dialect/SPIRV/IR/SPIRVCanonicalization.cpp
    M mlir/lib/Dialect/Shape/IR/Shape.cpp
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/lib/Dialect/Tosa/Transforms/TosaDecomposeTransposeConv.cpp
    M mlir/lib/Dialect/Tosa/Transforms/TosaInferShapes.cpp
    M mlir/lib/IR/OperationSupport.cpp
    M mlir/lib/IR/Verifier.cpp
    M mlir/lib/Interfaces/InferTypeOpInterface.cpp
    M mlir/test/lib/Dialect/Test/TestPatterns.cpp
    M mlir/test/lib/IR/TestOperationEquals.cpp

  Log Message:
  -----------
  Cleanup uses of getAttrDictionary() in MLIR to use getDiscardableAttrDictionary() when possible

This also speeds up some benchmarks in compiling simple fortan file by 2x!
Fixes #62687

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




More information about the All-commits mailing list