summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h b/llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
index 0a8ab5adcbf..2df5daba31c 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 <cassert>
#include <memory> // For unique_ptr.
namespace llvm {
-class RegisterBank;
class TargetRegisterInfo;
/// Holds all the information related to register banks.
OpenPOWER on IntegriCloud