commit | 1d27da7c50838bc67bf910f808b33f6af98bd7ab | [log] [tgz] |
---|---|---|
author | River Riddle <riverriddle@google.com> | Fri Feb 01 16:42:18 2019 -0800 |
committer | jpienaar <jpienaar@google.com> | Fri Mar 29 16:06:49 2019 -0700 |
tree | baa159269557ca0e267650dfa72c0ae692fe9425 | |
parent | 5e156118d28a0ecfb65fc729191f5bfacf894edd [diff] |
Define the AffineForOp and replace ForInst with it. This patch is largely mechanical, i.e. changing usages of ForInst to OpPointer<AffineForOp>. An important difference is that upon construction an AffineForOp no longer automatically creates the body and induction variable. To generate the body/iv, 'createBody' can be called on an AffineForOp with no body. PiperOrigin-RevId: 232060516