[SPARC] Switch to the Machine Scheduler.
authorJames Y Knight <jyknight@google.com>
Thu, 10 Sep 2015 21:49:06 +0000 (21:49 +0000)
committerJames Y Knight <jyknight@google.com>
Thu, 10 Sep 2015 21:49:06 +0000 (21:49 +0000)
commit395d7b084bce2ebbf53c52836e717183f9efe466
tree595ac14d700a5c4b5ca12a5866f7bdc757d8fa74
parent5b18c9f4a351396fb6584ccc5dd993a210ba528c
[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.

(Actually committing the test changes too, this time, unlike r247315)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247343 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcSubtarget.cpp
lib/Target/Sparc/SparcSubtarget.h
test/CodeGen/SPARC/2011-01-22-SRet.ll
test/CodeGen/SPARC/64abi.ll
test/CodeGen/SPARC/basictest.ll
test/CodeGen/SPARC/float.ll
test/CodeGen/SPARC/tls.ll
test/CodeGen/SPARC/varargs.ll