diff options
author | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2013-10-08 02:50:29 +0000 |
---|---|---|
committer | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2013-10-08 02:50:29 +0000 |
commit | 3bd3419e86867ba88e7ece12c9184a01759ed917 (patch) | |
tree | de71ee5440f3dc90f27eddd15263836dd3c84ded /lib/Target/Sparc/SparcInstrInfo.td | |
parent | d79f6f786a5d8dbdb02851fd2b4242ff0c3f7082 (diff) | |
download | llvm-3bd3419e86867ba88e7ece12c9184a01759ed917.tar.gz llvm-3bd3419e86867ba88e7ece12c9184a01759ed917.tar.bz2 llvm-3bd3419e86867ba88e7ece12c9184a01759ed917.tar.xz |
[Sparc] Do not hardcode nop in the delay slot of TLS_CALL. Use DelaySlotFiller to fill the delay slot instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcInstrInfo.td')
-rw-r--r-- | lib/Target/Sparc/SparcInstrInfo.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td index e6a9cf53d1..9b74147d3e 100644 --- a/lib/Target/Sparc/SparcInstrInfo.td +++ b/lib/Target/Sparc/SparcInstrInfo.td @@ -845,10 +845,10 @@ let mayLoad = 1 in [(set i32:$dst, (tlsld ADDRrr:$addr, tglobaltlsaddr:$sym))]>; -let Uses = [O6], isCall = 1 in +let Uses = [O6], isCall = 1, hasDelaySlot = 1 in def TLS_CALL : InstSP<(outs), (ins calltarget:$disp, TLSSym:$sym, variable_ops), - "call $disp, $sym\n\tnop", + "call $disp, $sym", [(tlscall texternalsym:$disp, tglobaltlsaddr:$sym)]> { bits<30> disp; let op = 1; |