[RegisterBankInfo] Include RegisterBank.h.
authorQuentin Colombet <qcolombet@apple.com>
Tue, 5 Apr 2016 23:57:25 +0000 (23:57 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Tue, 5 Apr 2016 23:57:25 +0000 (23:57 +0000)
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

index 0a8ab5a..2df5dab 100644 (file)
 #ifndef LLVM_CODEGEN_GLOBALISEL_REGBANKINFO_H
 #define LLVM_CODEGEN_GLOBALISEL_REGBANKINFO_H
 
+#include "llvm/CodeGen/GlobalISel/RegisterBank.h"
+
 #include <cassert>
 #include <memory> // For unique_ptr.
 
 namespace llvm {
-class RegisterBank;
 class TargetRegisterInfo;
 
 /// Holds all the information related to register banks.