[llvm-commits] [llvm] r82390 - /llvm/trunk/lib/Target/X86/X86InstrInfo.td

Chris Lattner sabre at nondot.org
Sun Sep 20 00:32:00 PDT 2009


Author: lattner
Date: Sun Sep 20 02:32:00 2009
New Revision: 82390

URL: http://llvm.org/viewvc/llvm-project?rev=82390&view=rev
Log:
remove the asmstring, it is now dead.  Improve comment.

Modified:
    llvm/trunk/lib/Target/X86/X86InstrInfo.td

Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=82390&r1=82389&r2=82390&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Sun Sep 20 02:32:00 2009
@@ -546,11 +546,12 @@
 def INT3 : I<0xcc, RawFrm, (outs), (ins), "int 3", []>;
 def INT : I<0xcd, RawFrm, (outs), (ins i8imm:$trap), "int\t$trap", []>;
 
-// PIC base
+// PIC base construction.  This expands to code that looks like this:
+//     call  $next_inst
+//     popl %destreg"
 let neverHasSideEffects = 1, isNotDuplicable = 1, Uses = [ESP] in
   def MOVPC32r : Ii32<0xE8, Pseudo, (outs GR32:$reg), (ins i32imm:$label),
-                      "call\t$label\n\t"
-                      "pop{l}\t$reg", []>;
+                      "", []>;
 
 //===----------------------------------------------------------------------===//
 //  Control Flow Instructions...





More information about the llvm-commits mailing list