[llvm-opt-report] Fix unroll-count reporting
authorHal Finkel <hfinkel@anl.gov>
Mon, 24 Oct 2016 05:07:18 +0000 (05:07 +0000)
committerHal Finkel <hfinkel@anl.gov>
Mon, 24 Oct 2016 05:07:18 +0000 (05:07 +0000)
commitfd448408e31877c3ec602f374bf204652cf1439c
treefe610a64d7bf831f6ca162a907fd0ec940455a2e
parent531ce2831193fae550826aec3fb5acdd73772f11
[llvm-opt-report] Fix unroll-count reporting

Fix the implementation of OptReportLocationInfo's operator < so that contexts
with different unroll counts are reported separately.

llvm-svn: 284957
llvm/test/tools/llvm-opt-report/Inputs/q3.c [new file with mode: 0644]
llvm/test/tools/llvm-opt-report/Inputs/q3.yaml [new file with mode: 0644]
llvm/test/tools/llvm-opt-report/func-3.test [new file with mode: 0644]
llvm/tools/llvm-opt-report/OptReport.cpp