This is an archive of the discontinued LLVM Phabricator instance.

[mlir] ExecutionEngine: default enableObjectCache to false
ClosedPublic

Authored by cota on Mar 9 2022, 7:15 AM.

Details

Summary

The enableObjectCache option was added in
https://reviews.llvm.org/rG06e8101034e, defaulting to false. However,
the init code added there got its logic reversed
(cache(enableObjectCache ? nullptr : new SimpleObjectCache()), which was
fixed in https://reviews.llvm.org/rGd1186fcb04 by setting the default to
true, thereby preserving the existing behavior even if it was
unintentional.

Default now the object cache to false as it was originally intended.
While at it, mention in enableObjectCache's documentation how the
cache can be dumped.

Diff Detail

Event Timeline

cota created this revision.Mar 9 2022, 7:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2022, 7:15 AM
cota requested review of this revision.Mar 9 2022, 7:15 AM
mehdi_amini accepted this revision.Mar 9 2022, 2:00 PM

Thanks!

This revision is now accepted and ready to land.Mar 9 2022, 2:00 PM
This revision was landed with ongoing or failed builds.Mar 10 2022, 8:25 AM
This revision was automatically updated to reflect the committed changes.