OSDN Git Service

[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)
commit7b08fb4456b760a92d7a4de4c0ad264741373f1c
tree678d9677a2ccf52cacf52f4cceb7e785fa4363fa
parent44f7288034d2fc4764e6a6504bb8f394d5b89ecb
[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).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283443 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-opt-report/Inputs/sr2.c [new file with mode: 0644]
test/tools/llvm-opt-report/Inputs/sr2.yaml [new file with mode: 0644]
test/tools/llvm-opt-report/mlineopt.test [new file with mode: 0644]
tools/llvm-opt-report/OptReport.cpp