[all-commits] [llvm/llvm-project] a29579: [mlir][Transforms][NFC] Move `ReconcileUnrealizedC...

Matthias Springer via All-commits all-commits at lists.llvm.org
Sat Aug 17 03:06:06 PDT 2024


  Branch: refs/heads/users/matthias-springer/move_reconcile_unre
  Home:   https://github.com/llvm/llvm-project
  Commit: a295791056af5cd87e99fa28521db43b3d6073c6
      https://github.com/llvm/llvm-project/commit/a295791056af5cd87e99fa28521db43b3d6073c6
  Author: Matthias Springer <mspringer at nvidia.com>
  Date:   2024-08-17 (Sat, 17 Aug 2024)

  Changed paths:
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/lib/Conversion/ReconcileUnrealizedCasts/ReconcileUnrealizedCasts.cpp
    M mlir/lib/Transforms/Utils/DialectConversion.cpp

  Log Message:
  -----------
  [mlir][Transforms][NFC] Move `ReconcileUnrealizedCasts` implementation

Move the implementation of `ReconcileUnrealizedCasts` to `DialectConversion.cpp`, so that it can be called from there in a future commit. This commit is in preparation of decoupling argument/source/target materializations from the dialect conversion framework. The existing logic around unresolved materializations that predicts IR changes to decide if a cast op can be folded/erased will become obsolete, as `ReconcileUnrealizedCasts` will perform these kind of foldings on fully materialized IR.



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