Revert commit 149912 (lattner) and add a testcase that shows the problem (which
authorDuncan Sands <baldrick@free.fr>
Fri, 10 Feb 2012 14:26:42 +0000 (14:26 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 10 Feb 2012 14:26:42 +0000 (14:26 +0000)
commitedfb931edbf31f8de132834e064ede723ac74d23
treea9206df8ac8b7c0f33ea54ab146ed6a4841f2548
parentc667ba69ac342563c0886e20509e68705d78a0a5
Revert commit 149912 (lattner) and add a testcase that shows the problem (which
is that patterns no longer match for vectors of booleans, because you only get
ConstantDataVector when the vector element type is i8, i16, etc, not when it is
i1).  Original commit message:
Remove some dead code and tidy things up now that vectors use ConstantDataVector
instead of always using ConstantVector.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150246 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/PatternMatch.h
test/Transforms/InstSimplify/compare.ll