aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-01-09 18:15:24 +0000
committerChris Lattner <sabre@nondot.org>2004-01-09 18:15:24 +0000
commit9982e211cee7ec4fa8bf58ed46a595318e6211bc (patch)
tree2d8abe4d81190ebe55a0155491b6c70ea99c696b /lib
parent1d415a967b466fff388f126d341258a91d87301b (diff)
downloadexternal_llvm-9982e211cee7ec4fa8bf58ed46a595318e6211bc.zip
external_llvm-9982e211cee7ec4fa8bf58ed46a595318e6211bc.tar.gz
external_llvm-9982e211cee7ec4fa8bf58ed46a595318e6211bc.tar.bz2
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
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/SparcV9/LiveVar/BBLiveVar.cpp4
-rw-r--r--lib/Target/SparcV9/LiveVar/Makefile5
-rw-r--r--lib/Target/SparcV9/Makefile2
3 files changed, 5 insertions, 6 deletions
diff --git a/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp b/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp
index 270fbbd..f54b42a 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 8506e19..90a664e 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 cf61657..619c9d0 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