summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-14 03:37:22 +0000
committerChris Lattner <sabre@nondot.org>2001-09-14 03:37:22 +0000
commitff0c8a7511d5390ac8fc0a6b58978675782b52b3 (patch)
tree3f36cd5819233b80f9e2d4aff1e1cbfbd3dc2c5d /llvm/lib
parent2124f9955623b5bb5f4b0d375a669403c49bdce9 (diff)
downloadbcm5719-llvm-ff0c8a7511d5390ac8fc0a6b58978675782b52b3.tar.gz
bcm5719-llvm-ff0c8a7511d5390ac8fc0a6b58978675782b52b3.zip
This checkin represents some cleanup of the backend, implementing the following things:
1. The TargetMachine structure is free to decide the process a particular target uses to generate code. 2. All of the gooee details of the sparc backend are now localized in the lib/CodeGen/TargetMAchine/Sparc directory. The Sparc.h file that is globally visible is just a stub. 3. The Sparc.h file that esxists now will dissapear entirely someday when we have multiple backends chosen by a factory of some sort. NOTE! The BBLiveVar.cpp file dependant on the Sparc backend, and is therefore not generic/portale to other backends. This needs to be fixed. llvm-svn: 558
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/LiveVar/BBLiveVar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/LiveVar/BBLiveVar.cpp b/llvm/lib/Analysis/LiveVar/BBLiveVar.cpp
index 6d925c4a7e0..251b2a51391 100644
--- a/llvm/lib/Analysis/LiveVar/BBLiveVar.cpp
+++ b/llvm/lib/Analysis/LiveVar/BBLiveVar.cpp
@@ -1,7 +1,7 @@
#include "llvm/Analysis/LiveVar/BBLiveVar.h"
#include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h"
#include "llvm/CodeGen/MachineInstr.h"
-#include "llvm/CodeGen/Sparc.h"
+#include "../../CodeGen/TargetMachine/Sparc/SparcInternals.h" // TODO: FIXME!! Only for PHI defn
/********************* Implementation **************************************/
OpenPOWER on IntegriCloud