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

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


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