[llvm-commits] [llvm] r106677 - in /llvm/trunk/lib/Target/X86: X86Instr64bit.td X86InstrInfo.td

Eric Christopher echristo at apple.com
Wed Jun 23 13:49:35 PDT 2010


Author: echristo
Date: Wed Jun 23 15:49:35 2010
New Revision: 106677

URL: http://llvm.org/viewvc/llvm-project?rev=106677&view=rev
Log:
Update according to feedback.

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

Modified: llvm/trunk/lib/Target/X86/X86Instr64bit.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Instr64bit.td?rev=106677&r1=106676&r2=106677&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Instr64bit.td (original)
+++ llvm/trunk/lib/Target/X86/X86Instr64bit.td Wed Jun 23 15:49:35 2010
@@ -1711,7 +1711,7 @@
     Uses = [RDI],
     usesCustomInserter = 1 in
 def TLSCall_64 : I<0, Pseudo, (outs), (ins i64mem:$sym),
-                  "# Fixme into a call",
+                  "# TLSCall_64",
                   [(X86TLSCall addr:$sym)]>,
                   Requires<[In64BitMode]>;
 

Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=106677&r1=106676&r2=106677&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Wed Jun 23 15:49:35 2010
@@ -3864,12 +3864,12 @@
 
 // For i386, the address of the thunk is passed on the stack, on return the 
 // address of the variable is in %eax.  %ecx is trashed during the function 
-// call.  %edx is preserved.
-let Defs = [EAX],
-    Uses = [ESP, ECX],
+// call.  All other registers are preserved.
+let Defs = [EAX, ECX],
+    Uses = [ESP],
     usesCustomInserter = 1 in
 def TLSCall_32 : I<0, Pseudo, (outs), (ins i32mem:$sym),
-                "# Fixme into a call",
+                "# TLSCall_32",
                 [(X86TLSCall addr:$sym)]>,
                 Requires<[In32BitMode]>;
                 





More information about the llvm-commits mailing list