From 9982e211cee7ec4fa8bf58ed46a595318e6211bc Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 9 Jan 2004 18:15:24 +0000 Subject: [PATCH] Move sparc-specific livevar code into lib/Target/Sparc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10733 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/SparcV9/LiveVar/BBLiveVar.cpp | 4 +--- lib/Target/SparcV9/LiveVar/Makefile | 5 +++-- lib/Target/SparcV9/Makefile | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp b/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp index 270fbbd830c..f54b42ab12a 100644 --- a/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp +++ b/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp @@ -17,9 +17,7 @@ #include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/Support/CFG.h" #include "Support/SetOperations.h" - -/// BROKEN: Should not include sparc stuff directly into here -#include "../../Target/Sparc/SparcInternals.h" // Only for PHI defn +#include "../SparcInternals.h" namespace llvm { diff --git a/lib/Target/SparcV9/LiveVar/Makefile b/lib/Target/SparcV9/LiveVar/Makefile index 8506e19bfa0..90a664e56ce 100644 --- a/lib/Target/SparcV9/LiveVar/Makefile +++ b/lib/Target/SparcV9/LiveVar/Makefile @@ -1,4 +1,4 @@ -##===- lib/Analysis/LiveVar/Makefile -----------------------*- Makefile -*-===## +##===- lib/Target/Sparc/LiveVar/Makefile -------------------*- Makefile -*-===## # # The LLVM Compiler Infrastructure # @@ -6,7 +6,8 @@ # the University of Illinois Open Source License. See LICENSE.TXT for details. # ##===----------------------------------------------------------------------===## -LEVEL = ../../.. + +LEVEL = ../../../.. LIBRARYNAME = livevar include $(LEVEL)/Makefile.common diff --git a/lib/Target/SparcV9/Makefile b/lib/Target/SparcV9/Makefile index cf61657d753..619c9d02e7c 100644 --- a/lib/Target/SparcV9/Makefile +++ b/lib/Target/SparcV9/Makefile @@ -8,7 +8,7 @@ ##===----------------------------------------------------------------------===## LEVEL = ../../.. LIBRARYNAME = sparc -DIRS = InstrSelection RegAlloc +DIRS = InstrSelection RegAlloc LiveVar ExtraSource = Sparc.burm.cpp