Make helper function static.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202596 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2014-03-01 17:24:40 +00:00
parent 9b1add5551
commit 71e50f0afd

View File

@ -2725,8 +2725,7 @@ bool CodeGenPrepare::OptimizeSelectInst(SelectInst *SI) {
return true;
}
bool isBroadcastShuffle(ShuffleVectorInst *SVI) {
static bool isBroadcastShuffle(ShuffleVectorInst *SVI) {
SmallVector<int, 16> Mask(SVI->getShuffleMask());
int SplatElem = -1;
for (unsigned i = 0; i < Mask.size(); ++i) {