[PATCH] D72854: [mlir] Generalize m_ConstantIndexOp

lorenzo chelini via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 08:19:17 PST 2020


chelini created this revision.
chelini added reviewers: ftynse, nicolasvasilache, rriddle.
chelini added a project: LLVM.
Herald added subscribers: llvm-commits, liufengdb, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, burmako, jpienaar, mehdi_amini, arphaman.

Generalize m_ContantIndexOp by using the m_Constant matcher and checking the operation for an index type.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72854

Files:
  mlir/include/mlir/IR/Matchers.h
  mlir/lib/Dialect/StandardOps/Ops.cpp
  mlir/test/IR/test-matchers.mlir
  mlir/test/lib/IR/TestMatchers.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72854.238506.patch
Type: text/x-patch
Size: 4520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200116/299c0a36/attachment.bin>


More information about the llvm-commits mailing list