blob: 53a7b5bbeb207364b01948ff89d12c4e5a5f7c14 [file] [log] [blame]
Chris Lattner0d170a72006-01-26 06:51:21 +00001//===- SparcV8Subtarget.cpp - SPARC Subtarget Information -----------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file was developed by Chris Lattner and is distributed under the
6// University of Illinois Open Source License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file implements the SPARC specific subclass of TargetSubtarget.
11//
12//===----------------------------------------------------------------------===//
13
14#include "SparcV8Subtarget.h"
15#include "SparcV8GenSubtarget.inc"
16using namespace llvm;
17
18SparcV8Subtarget::SparcV8Subtarget(const Module &M, const std::string &FS) {
19 // Determine default and user specified characteristics
20 std::string CPU = "generic";
21
22 // FIXME: autodetect host here!
23
24 // Parse features string.
25 ParseSubtargetFeatures(FS, CPU);
26
27};