Use i32 for all SPARC shift amounts, even in 64-bit mode.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 14 Apr 2013 05:48:50 +0000 (05:48 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 14 Apr 2013 05:48:50 +0000 (05:48 +0000)
commitd9f88da7b329c54ccb0d2ebd3b3a4b0e4b1e2b06
tree200bdbe117d29cb45f322e55b1c762e1b47c6ec9
parent1f098af3648f7714dd0501f8ba97601e99471806
Use i32 for all SPARC shift amounts, even in 64-bit mode.

Test case by llvm-stress.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179477 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcISelLowering.cpp
lib/Target/Sparc/SparcISelLowering.h
lib/Target/Sparc/SparcInstr64Bit.td
lib/Target/Sparc/SparcInstrFormats.td
test/CodeGen/SPARC/64bit.ll