[llvm-opt-report] Record VF, etc. correctly for multiple opts on one line
authorHal Finkel <hfinkel@anl.gov>
Thu, 6 Oct 2016 11:58:52 +0000 (11:58 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 6 Oct 2016 11:58:52 +0000 (11:58 +0000)
commit4d6f3088c328c19e6ed122cc02f92f23fbe5e52d
tree66116aeaace3a4044bc0dd49c30ecb03954ecdc6
parent6341e46cd1a0383a4511f541b2ae62949aaf5c31
[llvm-opt-report] Record VF, etc. correctly for multiple opts on one line

When there are multiple optimizations on one line, record the vectorization
factors, etc. correctly (instead of incorrectly substituting default values).

llvm-svn: 283443
llvm/test/tools/llvm-opt-report/Inputs/sr2.c [new file with mode: 0644]
llvm/test/tools/llvm-opt-report/Inputs/sr2.yaml [new file with mode: 0644]
llvm/test/tools/llvm-opt-report/mlineopt.test [new file with mode: 0644]
llvm/tools/llvm-opt-report/OptReport.cpp