projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad2ef21
)
Make AssociativeOpt static.
author
Dan Gohman
<gohman@apple.com>
Tue, 20 May 2008 01:14:05 +0000
(
01:14
+0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 20 May 2008 01:14:05 +0000
(
01:14
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51290
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index 41e528a5a5a42f81a7646bd321f80a18b2c01495..82d9fa87432018780ade7818c8b029e1fc13e028 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-2212,7
+2212,7
@@
unsigned InstCombiner::ComputeNumSignBits(Value *V, unsigned Depth) const{
/// 'shouldApply' and 'apply' methods.
///
template<typename Functor>
-Instruction *AssociativeOpt(BinaryOperator &Root, const Functor &F) {
+
static
Instruction *AssociativeOpt(BinaryOperator &Root, const Functor &F) {
unsigned Opcode = Root.getOpcode();
Value *LHS = Root.getOperand(0);