[all-commits] [llvm/llvm-project] cc6b8d: [mlir][conversion] NFC - Relax convert-cf-to-llvm ...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Fri Aug 4 04:25:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc6b8d8077699916728053dfa760e69e146271cb
      https://github.com/llvm/llvm-project/commit/cc6b8d8077699916728053dfa760e69e146271cb
  Author: Nicolas Vasilache <nicolasvasilache at users.noreply.github.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/lib/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.cpp
    M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp

  Log Message:
  -----------
  [mlir][conversion] NFC - Relax convert-cf-to-llvm and finalize-memref-to-llvm to also work on non-builtin module ops

This is a prerequisite for unentangling LowerGpuOpsToNVVMOps which explicitly populates its conversion with
`populateControlFlowToLLVMConversionPatterns` and `populateFinalizeMemRefToLLVMConversionPatterns`.

However those patterns cannot be generally added to a pass anchored on a non-ModuleOp.

Instead, LowerGpuOpsToNVVMOps should stop including the world, in a future commit.

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


  Commit: 3c9aa10c57cf0833ff108ecf9ffbb512bd96cc89
      https://github.com/llvm/llvm-project/commit/3c9aa10c57cf0833ff108ecf9ffbb512bd96cc89
  Author: Nicolas Vasilache <nicolasvasilache at users.noreply.github.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/LLVMCommon/LoweringOptions.h
    M mlir/include/mlir/Conversion/LLVMCommon/Pattern.h
    M mlir/include/mlir/Conversion/LLVMCommon/TypeConverter.h
    M mlir/include/mlir/Conversion/MemRefToLLVM/AllocLikeConversion.h
    M mlir/include/mlir/Dialect/GPU/IR/GPUBase.td
    M mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
    M mlir/lib/Conversion/LLVMCommon/Pattern.cpp
    M mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
    M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp

  Log Message:
  -----------
  Foo


  Commit: 6b5ce2cffe96d532a498b21a55f5b4c3a0570609
      https://github.com/llvm/llvm-project/commit/6b5ce2cffe96d532a498b21a55f5b4c3a0570609
  Author: Nicolas Vasilache <nicolasvasilache at users.noreply.github.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td
    M mlir/lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp
    A mlir/test/Dialect/Linalg/masked_vectorization.mlir

  Log Message:
  -----------
  [mlir][transform] Expose vector patterns useful for cleaning up masked vectorization and add test to showcase composition

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


Compare: https://github.com/llvm/llvm-project/compare/39cf2104507a...6b5ce2cffe96


More information about the All-commits mailing list