From 98ac7ac507bb1a5a03414ac04d8df38a9c6213cb Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Wed, 4 Aug 2004 07:29:53 +0000 Subject: [PATCH] Include SparcV9TmpInstr.h instead of llvm/CodeGen/InstrSelection.h, to pick up the definition of class TmpInstruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15473 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp | 2 +- lib/Target/SparcV9/SparcV9RegInfo.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp index 38ef2acc67a..2920284074d 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp @@ -27,13 +27,13 @@ #include "RegClass.h" #include "../LiveVar/FunctionLiveVarInfo.h" #include "../SparcV9InstrInfo.h" +#include "../SparcV9TmpInstr.h" #include "llvm/Constants.h" #include "llvm/DerivedTypes.h" #include "llvm/Instructions.h" #include "llvm/Module.h" #include "llvm/Type.h" #include "llvm/Analysis/LoopInfo.h" -#include "llvm/CodeGen/InstrSelection.h" #include "llvm/CodeGen/MachineCodeForInstruction.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineFunctionInfo.h" diff --git a/lib/Target/SparcV9/SparcV9RegInfo.cpp b/lib/Target/SparcV9/SparcV9RegInfo.cpp index c74f6614dee..e3e8a712f49 100644 --- a/lib/Target/SparcV9/SparcV9RegInfo.cpp +++ b/lib/Target/SparcV9/SparcV9RegInfo.cpp @@ -14,7 +14,6 @@ #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineFunctionInfo.h" -#include "llvm/CodeGen/InstrSelection.h" #include "llvm/CodeGen/MachineInstrBuilder.h" #include "llvm/CodeGen/MachineCodeForInstruction.h" #include "MachineInstrAnnot.h" @@ -27,6 +26,7 @@ #include "SparcV9RegClassInfo.h" #include "SparcV9RegInfo.h" #include "SparcV9TargetMachine.h" +#include "SparcV9TmpInstr.h" #include namespace llvm {