summaryrefslogtreecommitdiff
path: root/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
commitb1b5ffd827c77f0668d803b8c06b2f9296744f99 (patch)
tree50927bf30fff92fd28b11b51e72002f26cad7a61 /lib/Target/PIC16/PIC16Subtarget.cpp
parent2f45f9762da4ac6e823e83bff36806be1b099ea2 (diff)
downloadllvm-b1b5ffd827c77f0668d803b8c06b2f9296744f99.tar.gz
llvm-b1b5ffd827c77f0668d803b8c06b2f9296744f99.tar.bz2
llvm-b1b5ffd827c77f0668d803b8c06b2f9296744f99.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59617 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16Subtarget.cpp')
-rw-r--r--lib/Target/PIC16/PIC16Subtarget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/PIC16/PIC16Subtarget.cpp b/lib/Target/PIC16/PIC16Subtarget.cpp
index b7ebf94bc1..db8a5d84a4 100644
--- a/lib/Target/PIC16/PIC16Subtarget.cpp
+++ b/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";