1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

Make helper function static.

llvm-svn: 202596
This commit is contained in:
Benjamin Kramer 2014-03-01 17:24:40 +00:00
parent e04070bf23
commit 7a2174b3b0

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) {