Increase efficiency of sign_extend_inreg by using subregisters for truncation. As...
authorChristopher Lamb <christopher.lamb@gmail.com>
Fri, 10 Aug 2007 21:48:46 +0000 (21:48 +0000)
committerChristopher Lamb <christopher.lamb@gmail.com>
Fri, 10 Aug 2007 21:48:46 +0000 (21:48 +0000)
commitc59e52108bbfca50b23c5d10706484d4b012c344
tree66ef3643772f9ca45555550bf33a82adfa46f1ea
parent6f41435879ccf860aaceef51a2e06bf3f6d25188
Increase efficiency of sign_extend_inreg by using subregisters for truncation. As the README suggests sign_extend_subreg is selected to (sext(trunc)).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41010 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/README.txt
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/2007-08-10-SignExtSubreg.ll [new file with mode: 0644]
test/CodeGen/X86/shl_elim.ll