Put an llvm_unreachable at the end of getSplatIndex as its loop should never find all undef elements.

llvm-svn: 187775
This commit is contained in:
Craig Topper 2013-08-06 05:41:22 +00:00
parent 770547db15
commit 5ba12d75df
1 changed files with 1 additions and 1 deletions

View File

@ -1205,7 +1205,7 @@ public:
if (Mask[i] >= 0)
return Mask[i];
}
return -1;
llvm_unreachable("Splat with all undef indices?");
}
static bool isSplatMask(const int *Mask, EVT VT);