From 8deb5eb37dcb3e34f676dda50a86be1a463be74e Mon Sep 17 00:00:00 2001 From: Quentin Colombet Date: Tue, 5 Apr 2016 23:57:25 +0000 Subject: [PATCH] [RegisterBankInfo] Include RegisterBank.h. We actually need the definition of a RegisterBank to be able to inline the implementation of the subscript operator. llvm-svn: 265492 --- llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h b/llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h index 0a8ab5a..2df5dab 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h @@ -15,11 +15,12 @@ #ifndef LLVM_CODEGEN_GLOBALISEL_REGBANKINFO_H #define LLVM_CODEGEN_GLOBALISEL_REGBANKINFO_H +#include "llvm/CodeGen/GlobalISel/RegisterBank.h" + #include #include // For unique_ptr. namespace llvm { -class RegisterBank; class TargetRegisterInfo; /// Holds all the information related to register banks. -- 2.7.4