mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 00:36:36 +00:00
Make AssociativeOpt static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51290 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ad2ef21c76
commit
76d402beb9
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user