Update according to feedback.
authorEric Christopher <echristo@apple.com>
Wed, 23 Jun 2010 20:49:35 +0000 (20:49 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 23 Jun 2010 20:49:35 +0000 (20:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106677 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrInfo.td

index f1d504bb220398efe7248433d03eda7462d167e4..e50acd02745b82dc3a659fa5f374a23bbd09c7c1 100644 (file)
@@ -1711,7 +1711,7 @@ let Defs = [RAX],
     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]>;
 
index b90403949c20281e1b42995c2acdd04be5bce687..f5c5cdd6f5960566da0d06bf10a2a8d5c63d9464 100644 (file)
@@ -3864,12 +3864,12 @@ def TLS_addr32 : I<0, Pseudo, (outs), (ins lea32mem:$sym),
 
 // 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]>;