OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b1add5
)
Make helper function static.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Sat, 1 Mar 2014 17:24:40 +0000
(17:24 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Sat, 1 Mar 2014 17:24:40 +0000
(17:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202596
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/CodeGenPrepare.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/CodeGenPrepare.cpp
b/lib/CodeGen/CodeGenPrepare.cpp
index
0c765b6
..
bac9e0e
100644
(file)
--- a/
lib/CodeGen/CodeGenPrepare.cpp
+++ b/
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) {