[Sparc] Use the correct encoding for ta 3
authorDaniel Cederman <cederman@gaisler.com>
Mon, 16 Jul 2018 12:28:26 +0000 (12:28 +0000)
committerDaniel Cederman <cederman@gaisler.com>
Mon, 16 Jul 2018 12:28:26 +0000 (12:28 +0000)
commit92a700a215ae940fc2cad41c3a28eed5c38a76b0
tree4ade43a12b629568c991a8c90ec17a52f163feba
parentab09da7b57c373f3da9483dc8a0d3d646f88d7d4
[Sparc] Use the correct encoding for ta 3

Summary: The old encoding generated a "tn %g1 + 3" instruction instead
of the expected "ta 3".

Reviewers: venkatra, jyknight

Reviewed By: jyknight

Subscribers: fedor.sergeev, jrtc27, llvm-commits

Differential Revision: https://reviews.llvm.org/D49171

llvm-svn: 337165
llvm/lib/Target/Sparc/SparcInstrInfo.td
llvm/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll