summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/PIC16Subtarget.cpp
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2008-11-19 11:00:54 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2008-11-19 11:00:54 +0000
commit2ae21ee51798759d1fa455969f53c5a428e3f091 (patch)
tree5e5c4f32b0f5aa44036fd0c55e7da5c57184381b /llvm/lib/Target/PIC16/PIC16Subtarget.cpp
parentaf7efa695c5c775dbe33a69c3b69c994a4fbaf2c (diff)
downloadbcm5719-llvm-2ae21ee51798759d1fa455969f53c5a428e3f091.tar.gz
bcm5719-llvm-2ae21ee51798759d1fa455969f53c5a428e3f091.zip
Added a more function PIC16 backend. However to get this working a patch in
ExpandIntegerOperand (LegalizeIntegerTypes.cpp) is needed which is yet to be reworked and submitted. llvm-svn: 59617
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16Subtarget.cpp')
-rw-r--r--llvm/lib/Target/PIC16/PIC16Subtarget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16Subtarget.cpp b/llvm/lib/Target/PIC16/PIC16Subtarget.cpp
index b7ebf94bc16..db8a5d84a4b 100644
--- a/llvm/lib/Target/PIC16/PIC16Subtarget.cpp
+++ b/llvm/lib/Target/PIC16/PIC16Subtarget.cpp
@@ -11,14 +11,14 @@
//
//===----------------------------------------------------------------------===//
-#include "PIC16.h"
#include "PIC16Subtarget.h"
#include "PIC16GenSubtarget.inc"
+
using namespace llvm;
-PIC16Subtarget::PIC16Subtarget(const TargetMachine &TM, const Module &M,
- const std::string &FS)
- :IsPIC16Old(false)
+PIC16Subtarget::PIC16Subtarget(const Module &M, const std::string &FS,
+ bool Cooper)
+ :IsCooper(Cooper)
{
std::string CPU = "generic";
OpenPOWER on IntegriCloud