Add micro-optimization which allows us to fold imm into cmp. This allows us to save...
[oota-llvm.git] / lib / Target / MSP430 / MSP430MCAsmInfo.cpp
1 //===-- MSP430MCAsmInfo.cpp - MSP430 asm properties -----------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declarations of the MSP430MCAsmInfo properties.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "MSP430MCAsmInfo.h"
15 using namespace llvm;
16
17 MSP430MCAsmInfo::MSP430MCAsmInfo(const Target &T, const StringRef &TT) {
18   PrivateGlobalPrefix = ".L";
19   WeakRefDirective ="\t.weak\t";
20   SetDirective = "\t.set\t";
21   PCSymbol=".";
22   CommentString = ";";
23
24   AlignmentIsInBytes = false;
25   AllowNameToStartWithDigit = true;
26   UsesELFSectionDirectiveForBSS = true;
27 }