[llvm-commits] [llvm] r75305 - in /llvm/trunk/lib/Target/X86: AsmPrinter/X86ATTAsmPrinter.cpp X86InstrInfo.td
Chris Lattner
sabre at nondot.org
Fri Jul 10 15:34:11 PDT 2009
Author: lattner
Date: Fri Jul 10 17:34:11 2009
New Revision: 75305
URL: http://llvm.org/viewvc/llvm-project?rev=75305&view=rev
Log:
remove the "debug" modifier, it is only used by one instruction which can
never be generated.
Modified:
llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
llvm/trunk/lib/Target/X86/X86InstrInfo.td
Modified: llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp?rev=75305&r1=75304&r2=75305&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp Fri Jul 10 17:34:11 2009
@@ -392,7 +392,7 @@
}
case MachineOperand::MO_Immediate:
- if (!Modifier || (strcmp(Modifier, "debug") && strcmp(Modifier, "mem")))
+ if (!Modifier || strcmp(Modifier, "mem"))
O << '$';
O << MO.getImm();
return;
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=75305&r1=75304&r2=75305&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Fri Jul 10 17:34:11 2009
@@ -3143,7 +3143,7 @@
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))]>;
More information about the llvm-commits
mailing list