[all-commits] [llvm/llvm-project] bba996: [draft] Dialect Conversion without Rollback

Matthias Springer via All-commits all-commits at lists.llvm.org
Sun May 26 06:01:22 PDT 2024


  Branch: refs/heads/users/matthias-springer/one_shot_dialect_conv
  Home:   https://github.com/llvm/llvm-project
  Commit: bba99664ac50aa0cf1483168d074dfa5f6f2a5c3
      https://github.com/llvm/llvm-project/commit/bba99664ac50aa0cf1483168d074dfa5f6f2a5c3
  Author: Matthias Springer <mspringer at nvidia.com>
  Date:   2024-05-26 (Sun, 26 May 2024)

  Changed paths:
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/include/mlir/Transforms/GreedyPatternRewriteDriver.h
    M mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
    M mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
    M mlir/lib/Transforms/Utils/DialectConversion.cpp
    M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
    M mlir/test/Conversion/NVGPUToNVVM/nvgpu-to-nvvm.mlir

  Log Message:
  -----------
  [draft] Dialect Conversion without Rollback

This commit adds a dialect conversion driver without rollback: `OneShotDialectConversionDriver`

The new driver reuses some functionality of the greedy pattern rewrite driver. Just a proof of concept, code is not polished yet.

`OneShotConversionPatternRewriter` is a rewriter that materializes all IR changes immediately.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list