summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ProfileData/InstrProfWriter.cpp
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2016-02-08 23:03:59 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2016-02-08 23:03:59 +0000
commit1da4afdfc9fe6cb8848e9fb7aa55ff53d06bd16b (patch)
tree81d6c329e4ef1113ed061e99ea340618de8e890a /llvm/lib/ProfileData/InstrProfWriter.cpp
parenta207436b01b198c1fad9888d4b7953ccdb1ee830 (diff)
downloadbcm5719-llvm-1da4afdfc9fe6cb8848e9fb7aa55ff53d06bd16b.tar.gz
bcm5719-llvm-1da4afdfc9fe6cb8848e9fb7aa55ff53d06bd16b.zip
Factor out UnrollAnalyzer to Analysis, and add unit tests for it.
Summary: Unrolling Analyzer is already pretty complicated, and it becomes harder and harder to exercise it with usual IR tests, as with them we can only check the final decision: whether the loop is unrolled or not. This change factors this framework out from LoopUnrollPass to analyses, which allows to use unit tests. The change itself is supposed to be NFC, except adding a couple of tests. I plan to add more tests as I add new functionality and find/fix bugs. Reviewers: chandlerc, hfinkel, sanjoy Subscribers: zzheng, sanjoy, llvm-commits Differential Revision: http://reviews.llvm.org/D16623 llvm-svn: 260169
Diffstat (limited to 'llvm/lib/ProfileData/InstrProfWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud