[all-commits] [llvm/llvm-project] f8184d: [mlir] Lookup the latest value with a legal type w...

Alexander Belyaev via All-commits all-commits at lists.llvm.org
Wed Dec 16 00:57:44 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f8184d4c44dff1fab13122221f0c23ab50936647
      https://github.com/llvm/llvm-project/commit/f8184d4c44dff1fab13122221f0c23ab50936647
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2020-12-16 (Wed, 16 Dec 2020)

  Changed paths:
    M mlir/lib/Transforms/Utils/DialectConversion.cpp

  Log Message:
  -----------
  [mlir] Lookup the latest value with a legal type when remapping values.

The current condition implies that the target materialization will be
called even if the type is the new operand type is legal, but slightly
different. For example, if there is a bufferization pattern that changes
memref layout, then target materialization for an illegal type
(TensorType) would be called.

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




More information about the All-commits mailing list