From 2871768f4031b2a17a639caee68f693214c030f2 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 9 Dec 2010 00:26:41 +0000 Subject: [PATCH] Add rsp to the uses for the same reason as 32-bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121328 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrCompiler.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86InstrCompiler.td b/lib/Target/X86/X86InstrCompiler.td index 26a763e71e6..4773745370e 100644 --- a/lib/Target/X86/X86InstrCompiler.td +++ b/lib/Target/X86/X86InstrCompiler.td @@ -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",