2 Commits

Author SHA1 Message Date
Roman Lebedev
f58bfff04c [NFC] chmod +x utils/update_analyze_test_checks.py
Looks like a simple oversight.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334825 91177308-0d34-0410-b5e6-96231b3b80d8
2018-06-15 12:41:50 +00:00
Simon Pilgrim
d79c539c3b [UpdateTestChecks] Add update_analyze_test_checks.py for cost model analysis generation
The script allows the auto-generation of checks for cost model tests to speed up their creation and help improve coverage, which will help a lot with PR36550.

If the need arises we can add support for other analyze passes as well, but the cost models was the one I needed to get done - at the moment it just warns that any other analysis mode is unsupported.

I've regenerated a couple of x86 test files to show the effect.

Differential Revision: https://reviews.llvm.org/D45272

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329390 91177308-0d34-0410-b5e6-96231b3b80d8
2018-04-06 12:36:27 +00:00