diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-01 17:24:40 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-01 17:24:40 +0000 |
| commit | 573ff3620cf6273fbb4923496df670a552022584 (patch) | |
| tree | 9b3e6de5907dad245e01faa3ab9710798aff5aba /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
| parent | 3d6220d9819be37c5c62574e6509b50c97290f55 (diff) | |
| download | bcm5719-llvm-573ff3620cf6273fbb4923496df670a552022584.tar.gz bcm5719-llvm-573ff3620cf6273fbb4923496df670a552022584.zip | |
Make helper function static.
llvm-svn: 202596
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/CodeGenPrepare.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index 0c765b64313..bac9e0eeef2 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp @@ -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) { |

