aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/X86/X86Instr64bit.td2
-rw-r--r--lib/Target/X86/X86InstrInfo.td8
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/X86/X86Instr64bit.td b/lib/Target/X86/X86Instr64bit.td
index f1d504bb22..e50acd0274 100644
--- a/lib/Target/X86/X86Instr64bit.td
+++ b/lib/Target/X86/X86Instr64bit.td
@@ -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]>;
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td
index b90403949c..f5c5cdd6f5 100644
--- a/lib/Target/X86/X86InstrInfo.td
+++ b/lib/Target/X86/X86InstrInfo.td
@@ -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]>;