Just return undef for invalid masks or elts, and since we're doing that,
authorEric Christopher <echristo@apple.com>
Wed, 3 Nov 2010 20:44:42 +0000 (20:44 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 3 Nov 2010 20:44:42 +0000 (20:44 +0000)
commitd81f17acb4f2d755759a4d8a83a71a98ade0edd3
treed13ea2947493e4fcf4e6cdcfa1c645d499deb388
parent964bc25e5a03be208427ce2ebadb22a42681ef9c
Just return undef for invalid masks or elts, and since we're doing that,
just do it earlier too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118195 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp