[llvm] 7c2a357 - [Codegen][NFC] Replace 'RegisterRegAlloc::FunctionPassCtor'
via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 9 18:31:49 PST 2023
Author: wanglian
Date: 2023-03-10T10:31:26+08:00
New Revision: 7c2a3573b696afecc91ca63454570dd9b09c4d41
URL: https://github.com/llvm/llvm-project/commit/7c2a3573b696afecc91ca63454570dd9b09c4d41
DIFF: https://github.com/llvm/llvm-project/commit/7c2a3573b696afecc91ca63454570dd9b09c4d41.diff
LOG: [Codegen][NFC] Replace 'RegisterRegAlloc::FunctionPassCtor'
with 'RegisterRegAllocBase<T>::FunctionPassCtor'.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D145032
Added:
Modified:
llvm/include/llvm/CodeGen/RegAllocRegistry.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/RegAllocRegistry.h b/llvm/include/llvm/CodeGen/RegAllocRegistry.h
index e33d16c636277..cd81e084a859b 100644
--- a/llvm/include/llvm/CodeGen/RegAllocRegistry.h
+++ b/llvm/include/llvm/CodeGen/RegAllocRegistry.h
@@ -66,7 +66,7 @@ class RegisterRegAlloc : public RegisterRegAllocBase<RegisterRegAlloc> {
/// RegisterRegAlloc's global Registry tracks allocator registration.
template <class T>
-MachinePassRegistry<RegisterRegAlloc::FunctionPassCtor>
+MachinePassRegistry<typename RegisterRegAllocBase<T>::FunctionPassCtor>
RegisterRegAllocBase<T>::Registry;
} // end namespace llvm
More information about the llvm-commits
mailing list