From: Lauro Ramos Venancio Date: Fri, 8 Jun 2007 21:06:23 +0000 (+0000) Subject: Define AsmTransCBE for ARM. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=61718a6285a4f140cab530bcc07c6492902dc710;p=oota-llvm.git Define AsmTransCBE for ARM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37527 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMTargetAsmInfo.cpp b/lib/Target/ARM/ARMTargetAsmInfo.cpp index 13b9362a55f..1dea1c1388b 100644 --- a/lib/Target/ARM/ARMTargetAsmInfo.cpp +++ b/lib/Target/ARM/ARMTargetAsmInfo.cpp @@ -18,8 +18,33 @@ #include using namespace llvm; +static const char* arm_asm_table[] = {"{r0}", "r0", + "{r1}", "r1", + "{r2}", "r2", + "{r3}", "r3", + "{r4}", "r4", + "{r5}", "r5", + "{r6}", "r6", + "{r7}", "r7", + "{r8}", "r8", + "{r9}", "r9", + "{r10}", "r10", + "{r11}", "r11", + "{r12}", "r12", + "{r13}", "r13", + "{r14}", "r14", + "{lr}", "lr", + "{sp}", "sp", + "{ip}", "ip", + "{fp}", "fp", + "{sl}", "sl", + "{memory}", "memory", + "{cc}", "cc", + 0,0}; + ARMTargetAsmInfo::ARMTargetAsmInfo(const ARMTargetMachine &TM) { Subtarget = &TM.getSubtarget(); + AsmTransCBE = arm_asm_table; if (Subtarget->isTargetDarwin()) { GlobalPrefix = "_"; PrivateGlobalPrefix = "L";