[Sparc] Set %o7 as the return address register instead of %i7 in MCRegisterInfo....
authorVenkatraman Govindaraju <venkatra@cs.wisc.edu>
Sat, 1 Feb 2014 18:54:16 +0000 (18:54 +0000)
committerVenkatraman Govindaraju <venkatra@cs.wisc.edu>
Sat, 1 Feb 2014 18:54:16 +0000 (18:54 +0000)
commiteb97c0499bda650d84bba2079d4007a4d3ec0246
tree4660097846fb81646ec7debd90ed60d888272a25
parent991dd3bb9284c49549835687285c8bb4af81e2e7
[Sparc] Set %o7 as the return address register instead of %i7 in MCRegisterInfo. Also, add CFI instructions to initialize the frame correctly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200617 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
lib/Target/Sparc/SparcRegisterInfo.cpp
test/CodeGen/SPARC/exception.ll