[llvm] r362475 - Include what you use in PPCRegisterInfo.h
Dmitri Gribenko via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 4 02:13:08 PDT 2019
Author: gribozavr
Date: Tue Jun 4 02:13:08 2019
New Revision: 362475
URL: http://llvm.org/viewvc/llvm-project?rev=362475&view=rev
Log:
Include what you use in PPCRegisterInfo.h
Modified:
llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.h
Modified: llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.h?rev=362475&r1=362474&r2=362475&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.h (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCRegisterInfo.h Tue Jun 4 02:13:08 2019
@@ -14,13 +14,14 @@
#ifndef LLVM_LIB_TARGET_POWERPC_PPCREGISTERINFO_H
#define LLVM_LIB_TARGET_POWERPC_PPCREGISTERINFO_H
-#include "PPC.h"
+#include "MCTargetDesc/PPCMCTargetDesc.h"
#include "llvm/ADT/DenseMap.h"
#define GET_REGINFO_HEADER
#include "PPCGenRegisterInfo.inc"
namespace llvm {
+class PPCTargetMachine;
inline static unsigned getCRFromCRBit(unsigned SrcReg) {
unsigned Reg = 0;
More information about the llvm-commits
mailing list