This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Standard] Erase redundant assertions `std.assert`
ClosedPublic

Authored by frgossen on Jul 3 2020, 12:53 AM.

Diff Detail

Event Timeline

frgossen created this revision.Jul 3 2020, 12:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2020, 12:53 AM
herhut added inline comments.Jul 3 2020, 2:13 AM
mlir/lib/Dialect/StandardOps/IR/Ops.cpp
453

You could use matchPattern here (see a couple lines above).

mlir/test/Dialect/Standard/canonicalize-cf.mlir
149

:)

frgossen updated this revision to Diff 275363.Jul 3 2020, 4:29 AM

Address suggestions

frgossen marked 2 inline comments as done.Jul 3 2020, 4:29 AM
herhut accepted this revision.Jul 3 2020, 6:05 AM

Nice. Thanks.

This revision is now accepted and ready to land.Jul 3 2020, 6:05 AM
This revision was automatically updated to reflect the committed changes.