[llvm-commits] [llvm] r124961 - /llvm/trunk/lib/Analysis/InstructionSimplify.cpp
Anders Carlsson
andersca at mac.com
Sat Feb 5 10:33:43 PST 2011
Author: andersca
Date: Sat Feb 5 12:33:43 2011
New Revision: 124961
URL: http://llvm.org/viewvc/llvm-project?rev=124961&view=rev
Log:
Fix another warning.
Modified:
llvm/trunk/lib/Analysis/InstructionSimplify.cpp
Modified: llvm/trunk/lib/Analysis/InstructionSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/InstructionSimplify.cpp?rev=124961&r1=124960&r2=124961&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/InstructionSimplify.cpp (original)
+++ llvm/trunk/lib/Analysis/InstructionSimplify.cpp Sat Feb 5 12:33:43 2011
@@ -780,7 +780,7 @@
/// 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)) {
More information about the llvm-commits
mailing list