[llvm-commits] CVS: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp

Chris Lattner sabre at nondot.org
Sat Mar 24 18:45:14 PDT 2007



Changes in directory llvm/lib/Target/X86:

X86ATTAsmPrinter.cpp updated: 1.97 -> 1.98
---
Log message:

Fix test/CodeGen/X86/2007-03-24-InlineAsmPModifier.ll


---
Diffs of the changes:  (+4 -0)

 X86ATTAsmPrinter.cpp |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
diff -u llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.97 llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.98
--- llvm/lib/Target/X86/X86ATTAsmPrinter.cpp:1.97	Thu Feb 22 19:58:50 2007
+++ llvm/lib/Target/X86/X86ATTAsmPrinter.cpp	Sat Mar 24 20:44:57 2007
@@ -500,6 +500,10 @@
     case 'w': // Print HImode register
     case 'k': // Print SImode register
       return printAsmMRegister(MI->getOperand(OpNo), ExtraCode[0]);
+      
+    case 'P': // Don't print @PLT, but do print as memory.
+      printOperand(MI, OpNo, "mem");
+      return false;
     }
   }
   






More information about the llvm-commits mailing list