From 81551148b72f46760db75e4fa5cb85b82bbc766b Mon Sep 17 00:00:00 2001 From: Quentin Colombet Date: Fri, 7 Jul 2017 19:25:42 +0000 Subject: [RegAllocFast] Add the proper initialize method to use the .mir infrastructure NFC llvm-svn: 307427 --- llvm/lib/CodeGen/RegAllocFast.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/CodeGen/RegAllocFast.cpp') diff --git a/llvm/lib/CodeGen/RegAllocFast.cpp b/llvm/lib/CodeGen/RegAllocFast.cpp index c606b7b8331..7d9bc8cba21 100644 --- a/llvm/lib/CodeGen/RegAllocFast.cpp +++ b/llvm/lib/CodeGen/RegAllocFast.cpp @@ -203,6 +203,8 @@ namespace { char RAFast::ID = 0; } +INITIALIZE_PASS(RAFast, "regallocfast", "Fast Register Allocator", false, false) + /// getStackSpaceFor - This allocates space for the specified virtual register /// to be held on the stack. int RAFast::getStackSpaceFor(unsigned VirtReg, const TargetRegisterClass *RC) { -- cgit v1.2.3