mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
Fix another warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124961 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
15ec695e8a
commit
479b4b9ef0
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user