llvm.org GIT mirror llvm / 29bb00b
unbreak test/Bitcode/shuffle.ll. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149033 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 7 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
786786 // Undefined shuffle mask -> undefined value.
787787 if (isa(Mask)) return UndefValue::get(V1->getType());
788788
789 // Don't break the bitcode reader hack.
790 if (isa(Mask)) return 0;
791
789792 unsigned MaskNumElts = Mask->getType()->getVectorNumElements();
790793 unsigned SrcNumElts = V1->getType()->getVectorNumElements();
791794 Type *EltTy = V1->getType()->getVectorElementType();