summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-07-06 18:35:52 +0000
committerCraig Topper <craig.topper@intel.com>2017-07-06 18:35:52 +0000
commit47c8f66997b6839e5fd59e4c4b73cebeba325f90 (patch)
treee350d51cb88df01c55a40d94ef1a6e307da542f2 /llvm/lib/Transforms/InstCombine/InstCombineInternal.h
parent0fee3372c9088f86dc421f4e5bfec21e5f6c2a4d (diff)
downloadbcm5719-llvm-47c8f66997b6839e5fd59e4c4b73cebeba325f90.tar.gz
bcm5719-llvm-47c8f66997b6839e5fd59e4c4b73cebeba325f90.zip
[InstCombine] Remove Builder argument from InstCombiner::tryFactorization. NFC
Builder is already a member of the InstCombiner class so we can use it with passing it. llvm-svn: 307290
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineInternal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
index cb0cda3be11..9f806b01a10 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
+++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h
@@ -598,9 +598,8 @@ private:
/// This tries to simplify binary operations by factorizing out common terms
/// (e. g. "(A*B)+(A*C)" -> "A*(B+C)").
- Value *tryFactorization(InstCombiner::BuilderTy *, BinaryOperator &,
- Instruction::BinaryOps, Value *, Value *, Value *,
- Value *);
+ Value *tryFactorization(BinaryOperator &, Instruction::BinaryOps, Value *,
+ Value *, Value *, Value *);
/// Match a select chain which produces one of three values based on whether
/// the LHS is less than, equal to, or greater than RHS respectively.
OpenPOWER on IntegriCloud