This is an archive of the discontinued LLVM Phabricator instance.

[opt-viewer] PEPify opt-viewer.py
ClosedPublic

Authored by mgrang on Nov 10 2016, 6:19 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

mgrang updated this revision to Diff 77586.Nov 10 2016, 6:19 PM
mgrang retitled this revision from to [opt-viewer] PEPify opt-viewer.py.
mgrang updated this object.
mgrang added a reviewer: anemet.
mgrang set the repository for this revision to rL LLVM.

Adam,

I have not fixed the following pep8 error:

opt-viewer.py:5:80: E501 line too long (84 characters)

As I was not sure if we want these lines wrapped to 80 chars or not:

desc = '''Generate HTML output to visualize optimization records from the YAML files
generated with -fsave-optimization-record and -fdiagnostics-show-hotness.

The tools requires PyYAML and Pygments Python packages.'''

Thanks,
Mandeep

anemet accepted this revision.Nov 10 2016, 7:21 PM
anemet edited edge metadata.

Hi Mandeep, LGTM, thanks very much!!

I think we should fix this too:

Adam,

I have not fixed the following pep8 error:

opt-viewer.py:5:80: E501 line too long (84 characters)

As I was not sure if we want these lines wrapped to 80 chars or not:

desc = '''Generate HTML output to visualize optimization records from the YAML files
generated with -fsave-optimization-record and -fdiagnostics-show-hotness.

The tools requires PyYAML and Pygments Python packages.'''

Thanks,
Mandeep

This revision is now accepted and ready to land.Nov 10 2016, 7:21 PM
This revision was automatically updated to reflect the committed changes.