Per review feedback: Only perform
authorEvan Cheng <evan.cheng@apple.com>
Mon, 22 Sep 2008 18:19:24 +0000 (18:19 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 22 Sep 2008 18:19:24 +0000 (18:19 +0000)
commit242ebd145dea945364b4fa6ca6a187efe322036d
tree7168401718fe2b2fea3ee94f7117868ba7e77c7a
parent290ae0398e3673ff742c8e0e2fddfae388950c5b
Per review feedback: Only perform
(srl x, (trunc (and y, c))) -> (srl x, (and (trunc y), c))
etc. when both "trunc" and "and" have single uses.

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