diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2009-04-21 08:22:09 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2009-04-21 08:22:09 +0000 |
commit | 7daa13c2a4299a1a52eda8ae2746f0a0f2893315 (patch) | |
tree | fb066f2693fcae6c8f43af277cef2ada0433db19 /lib/Target/X86/X86Instr64bit.td | |
parent | e16178b75ff22830e3a8070a7cebfa0947aa69eb (diff) |
TLS_addr64 and TLS_addr32 define RDI and EAX. They don't use them.
This fixes PR4002.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86Instr64bit.td')
-rw-r--r-- | lib/Target/X86/X86Instr64bit.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86Instr64bit.td b/lib/Target/X86/X86Instr64bit.td index 69c74b2c98..e84d1368f4 100644 --- a/lib/Target/X86/X86Instr64bit.td +++ b/lib/Target/X86/X86Instr64bit.td @@ -1303,7 +1303,7 @@ def MOV64ri64i32 : Ii32<0xB8, AddRegFrm, (outs GR64:$dst), (ins i64i32imm:$src), // Thread Local Storage Instructions //===----------------------------------------------------------------------===// -let hasSideEffects = 1, Uses = [RDI] in +let hasSideEffects = 1, Defs = [RDI] in def TLS_addr64 : I<0, Pseudo, (outs), (ins i64imm:$sym), ".byte\t0x66; leaq\t${sym:mem}(%rip), %rdi; .word\t0x6666; rex64", [(X86tlsaddr tglobaltlsaddr:$sym)]>, |