OSDN Git Service

[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)
commitf0d51838c5b53307c31145b3624820996c605ff9
tree5042733ee4bfded08adba8345634eba89c560b7c
parenta6180c4b3c6333ca5f882dd6085c57f9b64f0fb9
[InstCombine] allow ashr/lshr demanded bits folds with splat constants

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300888 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
test/Transforms/InstCombine/shift.ll
test/Transforms/InstCombine/vector-casts.ll