fold (truncate (srl (load x), c)) -> (smaller load (x+c/vt bits))
authorEvan Cheng <evan.cheng@apple.com>
Wed, 21 Mar 2007 20:14:05 +0000 (20:14 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 21 Mar 2007 20:14:05 +0000 (20:14 +0000)
commit007b69eeaa59fef76acdf38726cec13862f9dd0c
treea3bbe00ec0afb925e43b5c590865b1e24143719e
parentd2920cd3d994aa966337295fca196584b132eedf
fold (truncate (srl (load x), c)) -> (smaller load (x+c/vt bits))

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