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

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


  Branch: refs/heads/users/matthias-springer/one_shot_dialect_conv
  Home:   https://github.com/llvm/llvm-project
  Commit: 11dfecd793b6e84224511ef6b065964b64784c49
      https://github.com/llvm/llvm-project/commit/11dfecd793b6e84224511ef6b065964b64784c49
  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