This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Canonicalization of shape.assuming
ClosedPublic

Authored by tpopp on May 20 2020, 9:08 AM.

Details

Summary

This will inline the region to a shape.assuming in the case that the
input witness is found to be statically true.

Diff Detail

Event Timeline

tpopp created this revision.May 20 2020, 9:08 AM
Herald added a reviewer: silvas. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
silvas accepted this revision.May 20 2020, 11:46 AM
jpienaar accepted this revision.May 20 2020, 4:37 PM
jpienaar added inline comments.
mlir/lib/Dialect/Shape/IR/Shape.cpp
169

Early return?

171

Is there perhaps more descriptive names we could use here?

This revision is now accepted and ready to land.May 20 2020, 4:37 PM
herhut accepted this revision.May 25 2020, 11:57 PM

Thanks. I think this is ready to land with @jpienaar comments addressed.

tpopp updated this revision to Diff 268480.Jun 4 2020, 8:10 AM
tpopp marked 2 inline comments as done.

Rename variables.

Herald added a project: Restricted Project. · View Herald TranscriptJun 4 2020, 8:10 AM
This revision was automatically updated to reflect the committed changes.