[llvm-opt-report] Left justify unrolling counts, etc.
authorHal Finkel <hfinkel@anl.gov>
Fri, 7 Oct 2016 02:01:03 +0000 (02:01 +0000)
committerHal Finkel <hfinkel@anl.gov>
Fri, 7 Oct 2016 02:01:03 +0000 (02:01 +0000)
commit5d41f032159c4e9dcd0f7bed5b0bf8218328a585
tree3a56dd745773a2bc22640b3fb489d5ad039fd845
parentbd5a172d9c35c2e55a2c518f72898b0338f3eb2b
[llvm-opt-report] Left justify unrolling counts, etc.

In the left part of the reports, we have things like U<number>; if some of
these numbers use more digits than others, we don't want a space in between the
U and the start of the number. Instead, the space should come afterward. This
way it is clear that the number goes with the U and not any other optimization
indicator that might come later on the line.

Tests committed in r283518.

llvm-svn: 283519
llvm/tools/llvm-opt-report/OptReport.cpp