aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-10 22:34:11 +0000
committerChris Lattner <sabre@nondot.org>2009-07-10 22:34:11 +0000
commit226b60827eb6483685772bdcf8d0856925f794b6 (patch)
treeb1d03d536593c20ff899fa1fcb8513974d9694d9
parentbbf1caa46bc9726989f287f6c345ef8542a43237 (diff)
downloadexternal_llvm-226b60827eb6483685772bdcf8d0856925f794b6.zip
external_llvm-226b60827eb6483685772bdcf8d0856925f794b6.tar.gz
external_llvm-226b60827eb6483685772bdcf8d0856925f794b6.tar.bz2
remove the "debug" modifier, it is only used by one instruction which can
never be generated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75305 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp2
-rw-r--r--lib/Target/X86/X86InstrInfo.td2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
index 419ea6e..4cd332b 100644
--- a/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
+++ b/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
@@ -392,7 +392,7 @@ void X86ATTAsmPrinter::printOperand(const MachineInstr *MI, unsigned OpNo,
}
case MachineOperand::MO_Immediate:
- if (!Modifier || (strcmp(Modifier, "debug") && strcmp(Modifier, "mem")))
+ if (!Modifier || strcmp(Modifier, "mem"))
O << '$';
O << MO.getImm();
return;
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td
index 03df10d..de6f668 100644
--- a/lib/Target/X86/X86InstrInfo.td
+++ b/lib/Target/X86/X86InstrInfo.td
@@ -3143,7 +3143,7 @@ def FS_MOV32rm : I<0x8B, MRMSrcMem, (outs GR32:$dst), (ins i32mem:$src),
def DWARF_LOC : I<0, Pseudo, (outs),
(ins i32imm:$line, i32imm:$col, i32imm:$file),
- ".loc\t${file:debug} ${line:debug} ${col:debug}",
+ ".loc\t$file $line $col",
[(dwarf_loc (i32 imm:$line), (i32 imm:$col),
(i32 imm:$file))]>;