aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/CodeGen/Passes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h
index e451b5476e..00a260bbb3 100644
--- a/include/llvm/CodeGen/Passes.h
+++ b/include/llvm/CodeGen/Passes.h
@@ -35,4 +35,9 @@ FunctionPass *createLocalRegisterAllocator();
///
FunctionPass *createPrologEpilogCodeInserter();
+
+/// getRegisterAllocator - This creates an instance of the register allocator
+/// for the Sparc.
+FunctionPass *getRegisterAllocator(TargetMachine &T);
+
#endif