Move the InsertPrologEpilogCode class out of the Sparc.cpp file into the
authorChris Lattner <sabre@nondot.org>
Tue, 9 Apr 2002 05:20:15 +0000 (05:20 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 9 Apr 2002 05:20:15 +0000 (05:20 +0000)
commit6111a87b3aea006b2aee43ebe9cac0859b331f01
tree966a606b3285b717b2d16e4f633977e7b5eb6342
parentbcd6cc8951b4953b1757b2e7a3d6600c6b28ec12
Move the InsertPrologEpilogCode class out of the Sparc.cpp file into the
new PrologEpilogCodeInserter.cpp file, and include the bodies of the
GetInstructionsFor(Prolog|Epilog) functions from SparcInstrSelection.cpp
into the class.  This eliminates the need for a static global vector of
instructions and a class of errors that is really unneccesary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2194 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/InstrSelection.h
lib/Target/SparcV9/SparcV9InstrSelection.cpp