This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Change custom printer/parser for loop.parallel and loop.reduce.
ClosedPublic

Authored by pifon2a on Mar 8 2020, 3:13 PM.

Diff Detail

Event Timeline

pifon2a created this revision.Mar 8 2020, 3:13 PM

If it does improve readability, let's change the format.

mehdi_amini accepted this revision.Mar 8 2020, 4:30 PM

Thanks!

mlir/lib/Dialect/LoopOps/LoopOps.cpp
418

Fix the comment while you're at it?

mlir/test/Dialect/Loops/ops.mlir
64

It'd be nice if we could have one test with more than one reduction (with two different types ideally).

This revision is now accepted and ready to land.Mar 8 2020, 4:30 PM
herhut accepted this revision.Mar 9 2020, 2:34 AM

Sure, why not. Thanks.

pifon2a updated this revision to Diff 249088.Mar 9 2020, 7:10 AM
pifon2a marked an inline comment as done.

Addressed the comments.

pifon2a marked an inline comment as done.Mar 9 2020, 7:10 AM