OSDN Git Service

Add rsp to the uses for the same reason as 32-bit.
authorEric Christopher <echristo@apple.com>
Thu, 9 Dec 2010 00:26:41 +0000 (00:26 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 9 Dec 2010 00:26:41 +0000 (00:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121328 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrCompiler.td

index 26a763e..4773745 100644 (file)
@@ -277,7 +277,7 @@ def TLSCall_32 : I<0, Pseudo, (outs), (ins i32mem:$sym),
 // For x86_64, the address of the thunk is passed in %rdi, on return
 // the address of the variable is in %rax.  All other registers are preserved.
 let Defs = [RAX],
-    Uses = [RDI],
+    Uses = [RSP, RDI],
     usesCustomInserter = 1 in
 def TLSCall_64 : I<0, Pseudo, (outs), (ins i64mem:$sym),
                   "# TLSCall_64",