]> granicus.if.org Git - llvm/commit
[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)
commit84ab5c258acf44e55634e7a970e90bfe664a55b0
tree908a7f9afa5878162909ae7dc370b6c125229c4f
parentfb8753f34b88d4dd2bedae482bef3056fd4731c4
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337165 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcInstrInfo.td
test/CodeGen/SPARC/2011-01-11-FrameAddr.ll