Constant fold SIGN_EXTEND_INREG with ashr not lshr.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 6 Mar 2008 08:20:51 +0000 (08:20 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 6 Mar 2008 08:20:51 +0000 (08:20 +0000)
commit433f6f62ca858c20d5d3f561e63818c2fda06ebe
tree1b0ac953f5512806efbfc08f3ee5d241f711be50
parent819a66cf2582f6d9108a7a7f4a75175d7901a8dc
Constant fold SIGN_EXTEND_INREG with ashr not lshr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47992 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/ARM/2008-03-05-SxtInRegBug.ll [new file with mode: 0644]