[PATCH] D35534: [opt-viewer] Reduce memory consumption

Brian Gesiak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 13:46:54 PDT 2017


modocache accepted this revision.
modocache added a comment.
This revision is now accepted and ready to land.

Excellent, thanks for all of the improvements!

I noticed a typo you could fix before landing.



================
Comment at: tools/opt-viewer/optrecord.py:69
+        # Intern key and value if string and recurse if value is a dictionary.
+        # This handels [{'Caller': ..., 'DebugLoc': { 'File': ... }}]
+        def _intern_dict(old_dict):
----------------
Typo: `s/handels/handles/g`.


https://reviews.llvm.org/D35534





More information about the llvm-commits mailing list