[PATCH] D74288: [MLIR][Affine] Add affine.parallel op
Uday Bondhugula via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 12 11:11:12 PST 2020
bondhugula added inline comments.
================
Comment at: mlir/lib/Dialect/AffineOps/AffineOps.cpp:2268
+ return op.emitOpError("region argument count and num results of upper "
+ "bounds, lower bounds, and steps must all match");
+ }
----------------
If you'd like to have all the canonicalizations surrounding affine operations and extend some of the affine analysis routines to this, you'll need to call verifyDimAndSymbolIdentifiers on the map operands. I don't think any of your current test cases will break, but you'll have to add a couple of invalid test cases where one of your map operands isn't a symbol - for eg. a value loaded right inside an outer loop.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74288/new/
https://reviews.llvm.org/D74288
More information about the llvm-commits
mailing list