Files
archived-llvm/utils
Brian Gesiak 11d48a5fe9 [opt-viewer] Python 3 support in opt-viewer.py
Summary:
Minor changes that allow opt-stats.py to support both Python 2 and 3.
In addition to the same dictionary iterator changes that were necessary
in https://reviews.llvm.org/D34564, this diff also:

* Explcitly converts strings to bytes when reading from and writing to stdin
  and stdout.
* No longer uses dictionaries as a sort key for optimization remarks.
  Dictionary sort order in Python 2 is pretty esoteric anyway, so it's
  not clear that the additional sorting had a benefit for end users
  (for details, https://stackoverflow.com/a/3484456/679254 is a good
  resource on Python 2 dictionary sort order).

Reviewers: anemet, davidxl

Reviewed By: anemet

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D34647

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306720 91177308-0d34-0410-b5e6-96231b3b80d8
2017-06-29 18:47:31 +00:00
..
2016-01-26 21:29:08 +00:00
2015-09-10 13:44:28 +00:00
2016-01-26 21:29:08 +00:00
2016-12-01 19:38:48 +00:00
2016-01-26 21:29:08 +00:00
2017-06-28 18:59:18 +00:00
2017-02-10 23:57:11 +00:00
2014-10-16 20:00:02 +00:00
2016-05-05 14:35:40 +00:00
2012-01-26 22:06:23 +00:00
2014-01-24 17:20:08 +00:00