[DAGCombiner] Dropped explicit (sra 0, x) -> 0 and (sra -1, x) -> 0 folds.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 10 May 2017 13:06:26 +0000 (13:06 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 10 May 2017 13:06:26 +0000 (13:06 +0000)
commitcd4d913336106b8919d3b8bc7ad6956ef50e2f41
tree0a0b22885d6d7b6b12e51e16ebcc126a6f66f9f6
parent21c867c26e11d414a65a7158502945bac307e033
[DAGCombiner] Dropped explicit (sra 0, x) -> 0 and (sra -1, x) -> 0 folds.

These are both handled (and tested) by the earlier ComputeNumSignBits == EltSizeInBits fold.

llvm-svn: 302651
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp