This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferize] Add a way for ops to fail the analysis
ClosedPublic

Authored by springerm on Feb 19 2022, 11:13 AM.

Details

Summary

Add BufferizableOpInterface::verifyAnalysis. Ops can implement this method to check for expected invariants and limitations.

The purpose of this change is to introduce a modular way of checking assertions such as assertScfForAliasingProperties.

Diff Detail