This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Presburger] Move Matrix accessors inline
ClosedPublic

Authored by arjunp on May 31 2022, 9:47 AM.

Details

Summary

This gives a 1.5x speedup on the Presburger unittests.

Diff Detail

Event Timeline

arjunp created this revision.May 31 2022, 9:47 AM
arjunp requested review of this revision.May 31 2022, 9:47 AM
Groverkss accepted this revision.May 31 2022, 12:10 PM

One minor comment. Rest, LGTM.

mlir/include/mlir/Analysis/Presburger/Matrix.h
75–82

Could you also make these trivial functions inline?

This revision is now accepted and ready to land.May 31 2022, 12:10 PM
This revision was automatically updated to reflect the committed changes.