summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-12-09 00:26:41 +0000
committerEric Christopher <echristo@apple.com>2010-12-09 00:26:41 +0000
commitc2dc95ae00e0972d673a1ed220a20038571259e4 (patch)
treeb937285562e195bf764dc1500351ba035b6287bf /llvm/lib/Target
parent4591f7736ad7fd61095e54d71d799ca0aa70485b (diff)
downloadbcm5719-llvm-c2dc95ae00e0972d673a1ed220a20038571259e4.tar.gz
bcm5719-llvm-c2dc95ae00e0972d673a1ed220a20038571259e4.zip
Add rsp to the uses for the same reason as 32-bit.
llvm-svn: 121328
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/X86InstrCompiler.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrCompiler.td b/llvm/lib/Target/X86/X86InstrCompiler.td
index 26a763e71e6..4773745370e 100644
--- a/llvm/lib/Target/X86/X86InstrCompiler.td
+++ b/llvm/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",
OpenPOWER on IntegriCloud