[all-commits] [llvm/llvm-project] 7f6139: [mlir][Interfaces] Add implicit casts from concret...

River Riddle via All-commits all-commits at lists.llvm.org
Thu Nov 12 23:00:21 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f61396cfac5f114707a4240a314dec28e03a1d5
      https://github.com/llvm/llvm-project/commit/7f61396cfac5f114707a4240a314dec28e03a1d5
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-11-12 (Thu, 12 Nov 2020)

  Changed paths:
    M mlir/include/mlir/Support/InterfaceSupport.h
    M mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp

  Log Message:
  -----------
  [mlir][Interfaces] Add implicit casts from concrete operation types to the interfaces they implement.

This removes the need to have an explicit `cast<>` given that we always know it `isa` instance of the interface.

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




More information about the All-commits mailing list