Fix PR5563, an expensive checks failure when running on
authorDuncan Sands <baldrick@free.fr>
Fri, 20 Nov 2009 13:19:51 +0000 (13:19 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 20 Nov 2009 13:19:51 +0000 (13:19 +0000)
commit76700ba64c11c6d9a1fd44f437ec3ece15cd1fa5
tree95fc3347b5a18ea8965fd7eae5f34fdcecd5da75
parentc088ae8b84bfcdefb57efafb022430312bddf638
Fix PR5563, an expensive checks failure when running on
tests/Transforms/InstCombine/shufflemask-undef.ll.  If
anyone cares, the use of 2*e here (and the equivalent
all over the place in instcombine) seems wrong, though
harmless: it should really be twice the length of the
input vector.  I think shufflevector used to require
that the mask have the same length as the input, but I
don't think that's true any more.  I don't care enough
about vectors to do anything about this...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89456 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp