diff options
author | Anders Carlsson <andersca@mac.com> | 2011-02-05 18:33:43 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-02-05 18:33:43 +0000 |
commit | 36c6d2307401e4ddcc43afdb209bd41e09e0be31 (patch) | |
tree | 70220457db7687324404d6f1e5eba8b38b05972e /llvm/lib/Analysis/InstructionSimplify.cpp | |
parent | 630125ab27aeb7c0cc56415dbf7d36c2ede7c6f6 (diff) | |
download | bcm5719-llvm-36c6d2307401e4ddcc43afdb209bd41e09e0be31.tar.gz bcm5719-llvm-36c6d2307401e4ddcc43afdb209bd41e09e0be31.zip |
Fix another warning.
llvm-svn: 124961
Diffstat (limited to 'llvm/lib/Analysis/InstructionSimplify.cpp')
-rw-r--r-- | llvm/lib/Analysis/InstructionSimplify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/InstructionSimplify.cpp b/llvm/lib/Analysis/InstructionSimplify.cpp index 156e7853059..220868fe1db 100644 --- a/llvm/lib/Analysis/InstructionSimplify.cpp +++ b/llvm/lib/Analysis/InstructionSimplify.cpp @@ -780,7 +780,7 @@ Value *llvm::SimplifyMulInst(Value *Op0, Value *Op1, const TargetData *TD, /// SimplifyDiv - Given operands for an SDiv or UDiv, see if we can /// fold the result. If not, this returns null. -static Value *SimplifyDiv(unsigned Opcode, Value *Op0, Value *Op1, +static Value *SimplifyDiv(Instruction::BinaryOps Opcode, Value *Op0, Value *Op1, const TargetData *TD, const DominatorTree *DT, unsigned MaxRecurse) { if (Constant *C0 = dyn_cast<Constant>(Op0)) { |