[all-commits] [llvm/llvm-project] bc22b5: [MLIR][Operation] Simplify Operation casting, NFC

Aman LaChapelle via All-commits all-commits at lists.llvm.org
Wed May 11 21:17:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc22b5c9a2f729460ffdf7627b3534a8d9f3f767
      https://github.com/llvm/llvm-project/commit/bc22b5c9a2f729460ffdf7627b3534a8d9f3f767
  Author: bzcheeseman <12992886+bzcheeseman at users.noreply.github.com>
  Date:   2022-05-12 (Thu, 12 May 2022)

  Changed paths:
    M mlir/include/mlir/IR/Operation.h

  Log Message:
  -----------
  [MLIR][Operation] Simplify Operation casting, NFC

We can simplify the code needed to implement dyn_cast/cast/isa support for MLIR operations with documented interfaces via the CastInfo structures. This will also provide an example of how to use CastInfo.

Depends on D123901

Reviewed By: rriddle

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




More information about the All-commits mailing list