[InstCombine] fix rotate narrowing bug for non-pow-2 types
authorSanjay Patel <spatel@rotateright.com>
Thu, 15 Nov 2018 17:19:14 +0000 (17:19 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 15 Nov 2018 17:19:14 +0000 (17:19 +0000)
commitbc56b2432d83d12168680e6b2b50f261d1ff2ded
treebaad2d46a31dc9f64db82b8196f9d471dc0732e3
parentaf214885cd5eda8add23e22f17e82f9455f9e323
[InstCombine] fix rotate narrowing bug for non-pow-2 types

llvm-svn: 346968
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
llvm/test/Transforms/InstCombine/rotate.ll