diff options
author | Alex Zinenko <zinenko@google.com> | 2020-06-18 17:53:50 +0200 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2020-06-18 23:03:13 +0200 |
commit | 8647a9bc511bd47ca80ae48761662436066a09bb (patch) | |
tree | 481b594130ffe52a01c36b324db16eb5ebe79231 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 80d7ac3bc7c04975fd444e9f2806e4db224f2416 (diff) | |
download | llvm-8647a9bc511bd47ca80ae48761662436066a09bb.zip llvm-8647a9bc511bd47ca80ae48761662436066a09bb.tar.gz llvm-8647a9bc511bd47ca80ae48761662436066a09bb.tar.bz2 |
[mlir] Refactor affine loop nest builders
Existing implementation of affine loop nest builders relies on EDSC
ScopedContext, which is not used pervasively. Provide a common OpBuilder-based
helper function to construct a perfect nest of affine loops with the body of
the innermost loop populated by a callback. Use this function to implement the
EDSC version.
Affine "for" loops differ from SCF "for" loops by (1) not allowing to yield
values and (2) supporting short-hand form for constant bounds, which justifies
a separate implementation of the loop nest builder for the same of simplicity.
Differential Revision: https://reviews.llvm.org/D81955
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions