summaryrefslogtreecommitdiffstats
path: root/mlir/test/Transforms/affine-loop-invariant-code-motion.mlir
Commit message (Collapse)AuthorAgeFilesLines
* [mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid ↵River Riddle2020-01-131-14/+14
| | | | | | | | | | conflicts with function types. Summary: The current syntax for AffineMapAttr and IntegerSetAttr conflict with function types, making it currently impossible to round-trip function types(and e.g. FuncOp) in the IR. This revision changes the syntax for the attributes by wrapping them in a keyword. AffineMapAttr is wrapped with `affine_map<>` and IntegerSetAttr is wrapped with `affine_set<>`. Reviewed By: nicolasvasilache, ftynse Differential Revision: https://reviews.llvm.org/D72429
* Implement simple loop-invariant-code-motion based on dialect interfaces.Stephan Herhut2019-10-161-0/+507
PiperOrigin-RevId: 275004258
OpenPOWER on IntegriCloud