[llvm] r265492 - [RegisterBankInfo] Include RegisterBank.h.
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 5 16:57:26 PDT 2016
Author: qcolombet
Date: Tue Apr 5 18:57:25 2016
New Revision: 265492
URL: http://llvm.org/viewvc/llvm-project?rev=265492&view=rev
Log:
[RegisterBankInfo] Include RegisterBank.h.
We actually need the definition of a RegisterBank to be able to inline
the implementation of the subscript operator.
Modified:
llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
Modified: llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h?rev=265492&r1=265491&r2=265492&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h Tue Apr 5 18:57:25 2016
@@ -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.
More information about the llvm-commits
mailing list