[PATCH] ARM: Enable MachineScheduler and disable PostRAScheduler for swift CPU.
matze at braunis.de
Wed Jun 17 11:58:14 PDT 2015
Hi grosbach, atrick,
This is mostly done to disable the PostRAScheduler which optimizes for
instruction latencies which isn't a good fit for out-of-order
architectures. This also allows to leave out the itinerary table in swift
in favor of the SchedModel one.
This change leads to performance improvements/regressions by as much as
10% in some benchmarks, in fact we loose 0.4% performance over the
llvm-testsuite for reasons that appear to be unknown or out of the
compilers control. rdar://20803802 documents the investigation of
While it is probably a good idea to perform the same switch for the
other ARM out-of-order CPUs, I limited this change to swift as I cannot
perform the benchmark verification on the other CPUs.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 61618 bytes
Desc: not available
More information about the llvm-commits