aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-02-05 18:33:43 +0000
committerAnders Carlsson <andersca@mac.com>2011-02-05 18:33:43 +0000
commit479b4b9ef06dd84097202ffa6aea07913cdf651c (patch)
tree5617916fe4e20e92227f393ff7489c5e7ed7d5ca
parent15ec695e8ab1497b55a0bf212de663a63c6d8e32 (diff)
downloadexternal_llvm-479b4b9ef06dd84097202ffa6aea07913cdf651c.zip
external_llvm-479b4b9ef06dd84097202ffa6aea07913cdf651c.tar.gz
external_llvm-479b4b9ef06dd84097202ffa6aea07913cdf651c.tar.bz2
Fix another warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124961 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Analysis/InstructionSimplify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/InstructionSimplify.cpp b/lib/Analysis/InstructionSimplify.cpp
index 156e785..220868f 100644
--- a/lib/Analysis/InstructionSimplify.cpp
+++ b/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)) {