projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15ec695
)
Fix another warning.
author
Anders Carlsson
<andersca@mac.com>
Sat, 5 Feb 2011 18:33:43 +0000
(18:33 +0000)
committer
Anders Carlsson
<andersca@mac.com>
Sat, 5 Feb 2011 18:33:43 +0000
(18:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124961
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/InstructionSimplify.cpp
b/lib/Analysis/InstructionSimplify.cpp
index 156e785305906d83e994a934538115b45f67b453..220868fe1db22278169c88d964d2fac63e5381a1 100644
(file)
--- 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)) {