mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +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