[PATCH] D79029: [mlir] Move the operation equivalence out of CSE and into OperationSupport

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 11:50:42 PDT 2020


rriddle created this revision.
rriddle added a reviewer: mehdi_amini.
Herald added subscribers: llvm-commits, Kayjukh, frgossen, grosul1, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar.
Herald added a project: LLVM.
rriddle added a child revision: D79030: [mlir][DeclareOpInterfaceMethods] Allow specifying a set of methods to force declaration generation for..

This provides a general hash and comparison for checking if two operations are equivalent. This revision also optimizes the handling of result types to take advantage of how result types are stored on the operation.

Depends On D78892 <https://reviews.llvm.org/D78892>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79029

Files:
  mlir/include/mlir/IR/OperationSupport.h
  mlir/lib/IR/OperationSupport.cpp
  mlir/lib/Transforms/CSE.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79029.260710.patch
Type: text/x-patch
Size: 5914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200428/93f3d2d6/attachment-0001.bin>


More information about the llvm-commits mailing list