[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)
commitba662b351c937958f586dac232394bd8393f3998
treed8834a002c5f4005bb4c46c5c097ee4b827b837b
parentcc8cfb98753e658a0ec7d49a77f146571bdbf77b
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247315 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcSubtarget.cpp
lib/Target/Sparc/SparcSubtarget.h