[InstCombine] allow ashr/lshr demanded bits folds with splat constants
authorSanjay Patel <spatel@rotateright.com>
Thu, 20 Apr 2017 20:59:02 +0000 (20:59 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 20 Apr 2017 20:59:02 +0000 (20:59 +0000)
commitfb5b3e773af3e05c7582ea35fbc8b20d8678e649
treedb8fc14e22e9e4289140ee0cb8bdbcbe39f5b232
parent3106fc476c615d2f868db6e414ff4da4804dd3ff
[InstCombine] allow ashr/lshr demanded bits folds with splat constants

llvm-svn: 300888
llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
llvm/test/Transforms/InstCombine/shift.ll
llvm/test/Transforms/InstCombine/vector-casts.ll