OSDN Git Service

[llvm-opt-report] Don't leave space for opts that never happen
authorHal Finkel <hfinkel@anl.gov>
Sat, 8 Oct 2016 00:26:54 +0000 (00:26 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sat, 8 Oct 2016 00:26:54 +0000 (00:26 +0000)
commit7b70b8ae64a1222f89cf71da187ea2a5b91918ea
tree9ed27f63192292c5622d652f95989c022081c8e1
parenta1184492ba1eda3d755f7e577a8a55f046f606d5
[llvm-opt-report] Don't leave space for opts that never happen

Because screen space is precious, if an optimization (vectorization, for
example) never happens, don't leave empty space for the associated markers on
every line of the output. This makes the output much more compact, and allows
for the later inclusion of markers for more (although perhaps rare)
optimizations.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283626 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-opt-report/func-2.test
test/tools/llvm-opt-report/func-x.test
test/tools/llvm-opt-report/func.test
test/tools/llvm-opt-report/mlineopt.test
test/tools/llvm-opt-report/unrl.test
tools/llvm-opt-report/OptReport.cpp