[SPARC] Switch to the Machine Scheduler.
authorJames Y Knight <jyknight@google.com>
Thu, 10 Sep 2015 18:20:45 +0000 (18:20 +0000)
committerJames Y Knight <jyknight@google.com>
Thu, 10 Sep 2015 18:20:45 +0000 (18:20 +0000)
commit8a772cfd61e75a46f0f7ace68b0eb8e0510212d9
tree642140a8fcbb225df91c89af90e800cd09631f21
parentddb4d9741f985fa5bc86fbaac4607721400f820c
[SPARC] Switch to the Machine Scheduler.

The (mostly-deprecated) SelectionDAG-based ILPListDAGScheduler scheduler
was making poor scheduling decisions, causing high register pressure and
extraneous register spills.

Switching to the newer machine scheduler generates better code -- even
without there being a machine model defined for SPARC yet.

llvm-svn: 247315
llvm/lib/Target/Sparc/SparcSubtarget.cpp
llvm/lib/Target/Sparc/SparcSubtarget.h