forked from OSchip/llvm-project
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:
parent
770547db15
commit
5ba12d75df
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue