mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-31 17:42:40 +00:00
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:
parent
9b1add5551
commit
71e50f0afd
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user