OSDN Git Service

Don't count attributes when addressing operands.
authorRay (I-Jui) Sung <ijsung@google.com>
Tue, 1 Dec 2020 00:22:36 +0000 (00:22 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 1 Dec 2020 01:21:36 +0000 (01:21 +0000)
commitff2e22853f8d8145cc7c27bb11e44155a124ecec
tree1bcdd336fd984a41f882715f4e282441a0d3de04
parentf85db7f7ba683b2450892fde247311d7a48adbd0
Don't count attributes when addressing operands.

Fixes out-of-bound access in generated nested DAG rewriter matching code.

Reviewed By: tpopp

Differential Revision: https://reviews.llvm.org/D92075
mlir/test/mlir-tblgen/rewriter-indexing.td [new file with mode: 0644]
mlir/tools/mlir-tblgen/RewriterGen.cpp