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:
parent
e04070bf23
commit
7a2174b3b0
@ -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…
Reference in New Issue
Block a user