[opt-viewer] Make it work in the absence of hotness information
authorAdam Nemet <anemet@apple.com>
Fri, 11 Nov 2016 06:11:56 +0000 (06:11 +0000)
committerAdam Nemet <anemet@apple.com>
Fri, 11 Nov 2016 06:11:56 +0000 (06:11 +0000)
commita6adab268d10db41f8adb660ecfcdaceaa9e57da
tree1340f4917f7cbc85c4ded49b1c3051a04ae5eef4
parent48f296059d52193b1694d611c7acfbca5da46b9d
[opt-viewer] Make it work in the absence of hotness information

In this case the index page is sorted by the source location.

llvm-svn: 286572
llvm/utils/opt-viewer/opt-viewer.py