add a simple dag combine to replace trivial shl+lshr with
authorChris Lattner <sabre@nondot.org>
Thu, 15 Apr 2010 05:28:43 +0000 (05:28 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 15 Apr 2010 05:28:43 +0000 (05:28 +0000)
commitefcddc33256512a08d7182783e2262da27f27cdd
tree226d1a8b111b0e4fcf7ca88b4f9e5a81daa135f2
parent2392ae7d7344674dc3d946e324342515f4771b90
add a simple dag combine to replace trivial shl+lshr with
and.  This happens with the store->load narrowing stuff.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101348 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/ARM/sbfx.ll