This patch enables PostRAScheduler specifically for AArch64 generic build, which is beneficial from the performance perspective.
Speedups up to 2 to 7% for some benchmarks on A57 and A53 are observed. Also benchmarks from LLVM test-suite did not regress.
Original patch here: http://reviews.llvm.org/D15557
This was committed in r255896 and later reverted due to numerous lit test failures.
In this patch I've disabled the post-ra scheduler for all tests that were broken. Before committing my plan is to step through each test to determine if the ordering of instructions matters. If not, then I'm thinking we should leave the post-ra scheduler disabled in order to preserve the history of the test case. If the order of instructions matters then I'll updated the test accordingly. I suspect in most instances we'll just disable the post-ra scheduler.
Chad